diff options
author | johannst <johannst@users.noreply.github.com> | 2021-11-24 23:50:09 +0000 |
---|---|---|
committer | johannst <johannst@users.noreply.github.com> | 2021-11-24 23:50:09 +0000 |
commit | 241f2c89769a72a0e04540a0310af2817b60ae24 (patch) | |
tree | 60ff344755029bec7a35392c315b61fd4904396d /trace_profile | |
parent | 32a4c0dddc20f75b484ffb4a85c5374215416829 (diff) | |
download | notes-241f2c89769a72a0e04540a0310af2817b60ae24.tar.gz notes-241f2c89769a72a0e04540a0310af2817b60ae24.zip |
deploy: 4b2d24e60b147e5a7552e01ba800573164b2c441
Diffstat (limited to 'trace_profile')
-rw-r--r-- | trace_profile/strace.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/trace_profile/strace.html b/trace_profile/strace.html index 666899c..f2ee9ad 100644 --- a/trace_profile/strace.html +++ b/trace_profile/strace.html @@ -161,6 +161,10 @@ -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 </code></pre> <pre><code class="language-markdown"><expr>: trace=syscall[,syscall] .... trace only syscall listed @@ -174,7 +178,7 @@ <pre><code class="language-markdown">strace -f -e trace=open,socket -p <pid> </code></pre> <p>Trace signals delivered to a running process:</p> -<pre><code class="language-markdown">strace -f -e signal -p <pid> +<pre><code class="language-markdown">strace -e signal -e 'trace=!all' -p <pid> </code></pre> </main> |