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


Thanks Turgis,

I got the problem fixed as what you said.

One last question, in my implementation, we want to know what system
calls each program made. However, in SystemTap tutorial or examples,
people already know what to probe, then they go to probe that file.

What's in my mind is like:
probe syscall.* {
   //print out the * part of the target "syscall.*"
}

May I ask how can I do that?

Thank you very much

Yours
Sincerely

2011/9/9 Turgis, Frederic <f-turgis@ti.com>:
> Hi,
>
>>However, after I uploading the code to the phone, I met a
>>weird problem:
>># ./staprun helloworld.ko
>>Couldn't create /mnt/relay: Read-only file system
>
> I think you need debugfs to be mounted so that relayfs does not try to go to /mnt/relay
>
> Should be "mount -t debugfs none /sys/kernel/debug"
>
> Then you get:
> ?/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
>
> Systemtap create files in /sys/kernel/debug/systemtap
>
> Regards
> Fred
> 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]