From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30905 invoked by alias); 21 Mar 2011 02:28:08 -0000 Received: (qmail 30897 invoked by uid 22791); 21 Mar 2011 02:28:07 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-yi0-f47.google.com (HELO mail-yi0-f47.google.com) (209.85.218.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Mar 2011 02:28:04 +0000 Received: by yia13 with SMTP id 13so3020332yia.20 for ; Sun, 20 Mar 2011 19:28:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.73.201 with SMTP id v49mr4461979yhd.339.1300674482413; Sun, 20 Mar 2011 19:28:02 -0700 (PDT) Received: by 10.147.83.3 with HTTP; Sun, 20 Mar 2011 19:28:02 -0700 (PDT) Date: Mon, 21 Mar 2011 02:28:00 -0000 Message-ID: Subject: different result on cross-compile on fc12 and fc13 From: Zhiwei Ying To: systemtap Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2011-q1/txt/msg00503.txt.bz2 Hi, I have a develop board, which runs linux 2.6.35. The board is connected to a fedora 12. I cross-compile the systemtap script to generate trace.ko, and copy the trace.ko to run the instrumented code on the board. If I compiled the trace.ko on fc13, then everything is fine. The trace log is generated correctly. But if I compiled the trace.ko on fc12, whatever I use the stap on fc12 or compile a systemtap 1.4 myself, I cannot see correct trace log on the board after running. The trace.ko cannot generate any log from application, but only able to trace probe.end. I didn't see any compile error msg on fc12 system. Any idea to solve this problem. I cannot drop fc12 now and don't want to use another fc13 to compile the script. Thanks, Zhiwei