summaryrefslogtreecommitdiff
path: root/schulung_tools
diff options
context:
space:
mode:
Diffstat (limited to 'schulung_tools')
-rw-r--r--schulung_tools/ipc_tcp/README6
1 files changed, 6 insertions, 0 deletions
diff --git a/schulung_tools/ipc_tcp/README b/schulung_tools/ipc_tcp/README
index 71222dd..c26ac9f 100644
--- a/schulung_tools/ipc_tcp/README
+++ b/schulung_tools/ipc_tcp/README
@@ -10,6 +10,9 @@ sudo perf probe -x ./recv received=recv.c:62
# run receiver
sudo taskset 1 chrt -f 80 ./recv &
+# capture traffic
+sudo tcpdump -w ipc_tcp.pcap -i lo &
+
# run sender (wrapping with trace-cmd)
sudo trace-cmd record \
-e sched:sched_switch \
@@ -21,5 +24,8 @@ sudo trace-cmd record \
taskset 1 chrt -f 70 ./send
# type message and hit return
+# stop tcpdump
+sudo killall tcpdump
+
# view results
kernelshark