Hi I want to monitor android app and sys callas with "Starce" but I can not! at adb shell "Strace " with "-e trace=open,read " or with "-o <Filename>" options get no info and I must use "Ctrl+c" and exit from adb with no output why??
On Tuesday, December 15, 2009 5:41:00 PM UTC-8, perumal316 wrote: > > Hi, > > I currently working on a monitoring tool in a form of LKM, which I > want to use to monitor the system calls made and aruguments passed > during the calls. > > I can access into the system call table and replace system calls > (using the LKM) but this is only for one system call. > > Any idea how to capture parameters passed and monitor the system calls > made by applications? > > Regards, > Perumal > > On Dec 15, 2:34 am, Alberto Panizzo <[email protected]> > wrote: > > Hi Perumal > > > > Il giorno dom, 13/12/2009 alle 23.31 -0800, perumal316 ha scritto: > > > > > > > > > Hi, > > > > > I want to trace the system calls (using strace) made by Android > > > Applications. I can do it using terminal emulator or adb shell. > > > > > I wrote a simple Hello World app in C and the Cross-Compile it and adb > > > push it into /data and I could use strace. > > > > > But how to use strace on the Android Applications installed in the > > > menu? Must I write a module or an app to do it? > > > > > Thanks in Advance, > > > Perumal > > > > > -- > > > unsubscribe: [email protected] <javascript:> > > > website:http://groups.google.com/group/android-kernel > > > > Normal application runs in the dalvik VM, are you sure you want to > > strace them? > > > > The only way is to modify the init script to run zygote over strace > > and follow the forks. > > > > Android have a step-by-step debugger why you do not explore this > > option? > > > > http://developer.android.com/intl/it/guide/developing/debug-tasks.html > > > > Android provide his source code, you can look into this to find > > what is going on if you would to go deeper. > > > > Best regards. > > Alberto! > -- -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel --- You received this message because you are subscribed to the Google Groups "Android Linux Kernel Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
