Commit 3df5ffd2 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Jonathan Corbet

docs: trace: fix some Sphinx warnings

There are some warnings produced when building trace. Fix them.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Acked-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 5d2a2c59
...@@ -1404,6 +1404,7 @@ trace has provided some very helpful debugging information. ...@@ -1404,6 +1404,7 @@ trace has provided some very helpful debugging information.
If we prefer function graph output instead of function, we can set If we prefer function graph output instead of function, we can set
display-graph option:: display-graph option::
with echo 1 > options/display-graph with echo 1 > options/display-graph
# tracer: irqsoff # tracer: irqsoff
......
...@@ -2133,7 +2133,7 @@ The following commonly-used handler.action pairs are available: ...@@ -2133,7 +2133,7 @@ The following commonly-used handler.action pairs are available:
the end the event that triggered the snapshot (in this case you the end the event that triggered the snapshot (in this case you
can verify the timestamps between the sched_waking and can verify the timestamps between the sched_waking and
sched_switch events, which should match the time displayed in the sched_switch events, which should match the time displayed in the
global maximum): global maximum)::
# cat /sys/kernel/debug/tracing/snapshot # cat /sys/kernel/debug/tracing/snapshot
...@@ -2213,9 +2213,10 @@ The following commonly-used handler.action pairs are available: ...@@ -2213,9 +2213,10 @@ The following commonly-used handler.action pairs are available:
following the rest of the fields. following the rest of the fields.
If a snaphot was taken, there is also a message indicating that, If a snaphot was taken, there is also a message indicating that,
along with the value and event that triggered the snapshot: along with the value and event that triggered the snapshot::
# cat /sys/kernel/debug/tracing/events/tcp/tcp_probe/hist # cat /sys/kernel/debug/tracing/events/tcp/tcp_probe/hist
{ dport: 1521 } hitcount: 8 { dport: 1521 } hitcount: 8
changed: 10 snd_wnd: 35456 srtt: 154262 rcv_wnd: 42112 changed: 10 snd_wnd: 35456 srtt: 154262 rcv_wnd: 42112
...@@ -2228,7 +2229,8 @@ The following commonly-used handler.action pairs are available: ...@@ -2228,7 +2229,8 @@ The following commonly-used handler.action pairs are available:
{ dport: 443 } hitcount: 211 { dport: 443 } hitcount: 211
changed: 10 snd_wnd: 26960 srtt: 17379 rcv_wnd: 28800 changed: 10 snd_wnd: 26960 srtt: 17379 rcv_wnd: 28800
Snapshot taken (see tracing/snapshot). Details: Snapshot taken (see tracing/snapshot). Details::
triggering value { onchange($cwnd) }: 10 triggering value { onchange($cwnd) }: 10
triggered by event with key: { dport: 80 } triggered by event with key: { dport: 80 }
...@@ -2245,7 +2247,7 @@ The following commonly-used handler.action pairs are available: ...@@ -2245,7 +2247,7 @@ The following commonly-used handler.action pairs are available:
the global snapshot). the global snapshot).
And finally, looking at the snapshot data should show at or near And finally, looking at the snapshot data should show at or near
the end the event that triggered the snapshot: the end the event that triggered the snapshot::
# cat /sys/kernel/debug/tracing/snapshot # cat /sys/kernel/debug/tracing/snapshot
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment