public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: William Cohen <wcohen@redhat.com>
To: systemtap@sourceware.org
Subject: Re: error to run systemtap in an ARM platform
Date: Mon, 18 Jul 2011 20:18:00 -0000	[thread overview]
Message-ID: <4E249517.6010002@redhat.com> (raw)
In-Reply-To: <4E249307.5050003@redhat.com>

On 07/18/2011 04:09 PM, William Cohen wrote:
> 
> I tried compiling disktop.stp on my machine and got:
> 
> export KERNEL_SRC=/home/wcohen/stuff/efikamx/kernel/linux-kernel
> stap -a arm -B CROSS_COMPILE=armv7hl-redhat-linux-gnueabi-   -r $KERNEL_SRC -m disktop disktop.stp 
> 
> 
> WARNING: kernel release/architecture mismatch with host forces last-pass 4.
> In file included from /tmp/stapt1iKiI/disktop.c:4908:0:
> /tmp/stapt1iKiI/stap-symbols.h:89496:1: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
> cc1: all warnings being treated as errors.

Ah, this was and older systemap-1.4 problem. Systemtap from git repository worked fine. Got output like the following on the arm target machine when doing a native build of the kernel:


Mon Jul 18 20:17:15 2011 , Average:1041Kb/sec, Read:    4361Kb, Write:    848Kb

     UID      PID     PPID                       CMD   DEVICE    T        BYTES
     500    15034    15033                       cc1 mmcblk0p2    R      1905597
     500    15041    15040                       cc1 mmcblk0p2    R      1859083
     500    15035    15033                        as mmcblk0p2    R       685410
     500    15034    15033                       cc1 mmcblk0p2    W       667330
     500    15035    15033                        as mmcblk0p2    W       169827
     500    15036    15032                    fixdep mmcblk0p2    W        31390
     500    15038    15032                        mv mmcblk0p2    R         4320
     500    15040    15039                       gcc mmcblk0p2    R         3760
     500    15039    15021                        sh mmcblk0p2    R         2272
     500    15037    15032                        rm mmcblk0p2    R         1248

-Will

  reply	other threads:[~2011-07-18 20:18 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-15  0:58 Da Zheng
2011-07-15  9:43 ` Mark Wielaard
2011-07-15 20:00   ` Da Zheng
2011-07-15 20:15     ` Frank Ch. Eigler
     [not found]       ` <4E20A714.9020404@gmail.com>
2011-07-15 20:50         ` Frank Ch. Eigler
2011-07-15 20:46     ` William Cohen
2011-07-15 21:29       ` Da Zheng
2011-07-16  0:23         ` Turgis, Frederic
2011-07-18 14:13           ` William Cohen
2011-07-18 19:02             ` Da Zheng
2011-07-18 20:10               ` William Cohen
2011-07-18 20:18                 ` William Cohen [this message]
2011-07-18 20:41                 ` Da Zheng
2011-07-23 22:56                   ` Zheng Da
2011-07-24  1:57                     ` Frank Ch. Eigler
2011-07-24 16:10                       ` Frank Ch. Eigler
2011-07-25 10:04                     ` Mark Wielaard
2011-07-25 19:34                       ` Da Zheng
2011-07-25 15:46                     ` William Cohen
2011-07-25 19:36                       ` Da Zheng
2011-07-25 20:46                         ` Mark Wielaard
2011-07-25 17:17                     ` William Cohen
2011-07-25 19:56                       ` Da Zheng
2011-07-26 14:03                         ` William Cohen
2011-07-26 17:47                           ` Da Zheng
2011-07-19 11:38             ` Turgis, Frederic
2011-07-18 14:00         ` William Cohen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E249517.6010002@redhat.com \
    --to=wcohen@redhat.com \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).