From 4b9f5c11fe4c2bebd92033cebe215dfc0d5f9397 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Tue, 27 Aug 2024 19:28:26 +0200 Subject: misc: fix comments --- src/monitor/ps.md | 1 + src/network/tcpdump.md | 2 +- src/trace_profile/perf.md | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/monitor/ps.md b/src/monitor/ps.md index a935c5c..d7ddf95 100644 --- a/src/monitor/ps.md +++ b/src/monitor/ps.md @@ -40,6 +40,7 @@ sigmask mask of blocked signals ## Example: Use output for scripting ```sh +# Print the cpu affinity for each thread of process 31084. for tid in $(ps -o tid --no-header -T -p 31084); do taskset -c -p $tid; done diff --git a/src/network/tcpdump.md b/src/network/tcpdump.md index 308d9a1..c6745a6 100644 --- a/src/network/tcpdump.md +++ b/src/network/tcpdump.md @@ -4,7 +4,7 @@ ```markdown tcpdump [opts] -i [] - -n Don't covert host/port names. + -n Don't convert host/port names. -w Write pcap trace to file or stdout (-). -r Read & parse pcap file. ``` diff --git a/src/trace_profile/perf.md b/src/trace_profile/perf.md index 7ce2ca2..0c92768 100644 --- a/src/trace_profile/perf.md +++ b/src/trace_profile/perf.md @@ -165,7 +165,7 @@ The following gives an example for a scenario where we have the following calls - `main -> do_bar() -> do_work()` ```sh -perf report --stdio -g graph,callee +perf report --stdio -g graph,caller # Children Self Command Shared Object Symbols # ........ ........ ....... .................... ................. -- cgit v1.2.3