aboutsummaryrefslogtreecommitdiffhomepage
path: root/trace_profile
diff options
context:
space:
mode:
Diffstat (limited to 'trace_profile')
-rw-r--r--trace_profile/strace.html6
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">&lt;expr&gt;:
trace=syscall[,syscall] .... trace only syscall listed
@@ -174,7 +178,7 @@
<pre><code class="language-markdown">strace -f -e trace=open,socket -p &lt;pid&gt;
</code></pre>
<p>Trace signals delivered to a running process:</p>
-<pre><code class="language-markdown">strace -f -e signal -p &lt;pid&gt;
+<pre><code class="language-markdown">strace -e signal -e 'trace=!all' -p &lt;pid&gt;
</code></pre>
</main>