diff options
| author | John Ogness <john.ogness@linutronix.de> | 2019-02-01 17:27:09 +0106 |
|---|---|---|
| committer | John Ogness <john.ogness@linutronix.de> | 2019-02-01 17:27:09 +0106 |
| commit | f65f2039840942e4d0f0e1af9fb266812d80c466 (patch) | |
| tree | 4e5425a9116d261591008ed78c23d73e80bbbfdc | |
| parent | a7453e30ca4c9f42d27d42f96bc223533c330900 (diff) | |
ipc_tcp: add tcpdump commands to README
Signed-off-by: John Ogness <john.ogness@linutronix.de>
| -rw-r--r-- | schulung_tools/ipc_tcp/README | 6 |
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 |
