diff options
Diffstat (limited to 'src/trace_profile')
-rw-r--r-- | src/trace_profile/strace.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/trace_profile/strace.md b/src/trace_profile/strace.md index c610df3..ce77d17 100644 --- a/src/trace_profile/strace.md +++ b/src/trace_profile/strace.md @@ -9,6 +9,10 @@ strace [opts] [prg] -o <file> ... log output into <file> -c .......... dump syscall statitics at the end -k .......... dump stack trace for each syscall + -P <path> ... only trace syscall accesing path + -y .......... print paths for FDs + -tt ......... print absolute timestamp (with us precision) + -r .......... print relative timestamp ``` ```markdown @@ -29,5 +33,5 @@ strace -f -e trace=open,socket -p <pid> Trace signals delivered to a running process: ```markdown -strace -f -e signal -p <pid> +strace -e signal -e 'trace=!all' -p <pid> ``` |