diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2017-12-29 11:45:51 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-02 14:27:29 -0500 |
commit | c3fde1bd28f7c720d7bc587e85e54706df4f8163 (patch) | |
tree | 88de466d3c6836c14ed99be75d4cc49249540d43 /net/ipv4/tcp_probe.c | |
parent | 4e3b95f1983b2d39dd27349d83ffc520aab3516d (diff) |
net: tcp: Add trace events for TCP congestion window tracing
This adds an event to trace TCP stat variables with
slightly intrusive trace-event. This uses ftrace/perf
event log buffer to trace those state, no needs to
prepare own ring-buffer, nor custom user apps.
User can use ftrace to trace this event as below;
# cd /sys/kernel/debug/tracing
# echo 1 > events/tcp/tcp_probe/enable
(run workloads)
# cat trace
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_probe.c')
0 files changed, 0 insertions, 0 deletions