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


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]