diff options
Diffstat (limited to 'trace_profile/strace.html')
-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> |