Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Strace command to display only system calls

I am trying to extract the sequence of system calls for an android application. Am using Monkeyrunner for random clicks. Could anyone kindly let me know how to get all the names only of the system call being used

This traces all the system calls:

strace -p 3934 -e trace=open -o /data/App1Advise.csv
like image 443
Rockan Avatar asked Sep 18 '25 20:09

Rockan


1 Answers

Try this

strace -p 3934 -e trace=openat,close,clock_gettime,writev,read -o /data/App1Advise.csv

try man strace and you will see all the options.

like image 115
Rohit5k2 Avatar answered Sep 20 '25 12:09

Rohit5k2