aboutsummaryrefslogtreecommitdiffhomepage
path: root/trace_profile
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2021-11-24 23:50:09 +0000
committerjohannst <johannst@users.noreply.github.com>2021-11-24 23:50:09 +0000
commit241f2c89769a72a0e04540a0310af2817b60ae24 (patch)
tree60ff344755029bec7a35392c315b61fd4904396d /trace_profile
parent32a4c0dddc20f75b484ffb4a85c5374215416829 (diff)
downloadnotes-241f2c89769a72a0e04540a0310af2817b60ae24.tar.gz
notes-241f2c89769a72a0e04540a0310af2817b60ae24.zip
deploy: 4b2d24e60b147e5a7552e01ba800573164b2c441
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 &lt;file&gt; ... log output into &lt;file&gt;
-c .......... dump syscall statitics at the end
-k .......... dump stack trace for each syscall
+ -P &lt;path&gt; ... 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>