diff options
-rw-r--r-- | src/trace_profile/strace.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/trace_profile/strace.md b/src/trace_profile/strace.md index 390edd4..586d032 100644 --- a/src/trace_profile/strace.md +++ b/src/trace_profile/strace.md @@ -21,6 +21,7 @@ strace [opts] [prg] -y .......... translate fds (eg file path, socket) -yy ......... translate fds with all information (eg IP) -x .......... print non-ASCII chars as hex string + -v .......... print all arguments (non-abbreviated) ``` ```markdown @@ -43,3 +44,8 @@ Trace signals delivered to a running process: ```markdown strace -e signal -e 'trace=!all' -p <pid> ``` + +Show successful calls to `perf_event_open((2)` without abbreviating arguments. +```markdown +strace -v -z -e trace=perf_event_open perf stat -e cycles ls +``` |