This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Met Problem on Enable SystemTap on Android


> However, I got the following output:
> WARNING: kernel release/architecture mismatch with host
> forces last-pass 4.
> Input file '-D' is empty or missing.
> Pass 1: parsed user script and 144 library script(s) using
> 74844virt/38848res/2148shr kb, in 170usr/0sys/171real ms.
> Pass 1: parse failed.  Try again with another '--vp 1' option.

When I copy your '-D' onto my terminal, I don't have -D nor _D but something that has sequence 0xe2 0x80 0x93 through hexdump (for 1 character !!!)
So systemtap does not see it as -D option but as file -D. This is probably a language issue.

Some hints to understand issues:
- Pass 1 is command line/script parsing
- Pass 2 is script analysis. For the 2 above passes, you can generally blame only command line, your script .stp and your kernel set-up
- Pass 3 conversion of script into C code
- Pass 4 compilation -> can be toolchain and kernel related


"-D" adds compilation flags to your scripts. We put OMAP_LXX because we have 1 script which code depends on platform. So you don't need this "-D" if you are not using this script.

Texas Instruments France SA, 821 Avenue Jack Kilby, 06270 Villeneuve Loubet. 036 420 040 R.C.S Antibes. Capital de EUR 753.920




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]