Commit 62f4c284 authored by Brendan Gregg's avatar Brendan Gregg

fix synopsis options in docs

parent af2b46af
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.SH NAME .SH NAME
offcputime \- Summarize off-CPU time by kernel stack trace. Uses Linux eBPF/bcc. offcputime \- Summarize off-CPU time by kernel stack trace. Uses Linux eBPF/bcc.
.SH SYNOPSIS .SH SYNOPSIS
.B offcputime [\-h] [\-u] [\-p PID] [\-i INTERVAL] [\-T] [duration] .B offcputime [\-h] [\-u] [\-p PID] [\-v] [\-f] [duration]
.SH DESCRIPTION .SH DESCRIPTION
This program shows kernel stack traces and task names that were blocked and This program shows kernel stack traces and task names that were blocked and
"off-CPU", and the total duration they were not running: their "off-CPU time". "off-CPU", and the total duration they were not running: their "off-CPU time".
...@@ -33,11 +33,14 @@ CONFIG_BPF and bcc. ...@@ -33,11 +33,14 @@ CONFIG_BPF and bcc.
\-h \-h
Print usage message. Print usage message.
.TP .TP
\-f
Print output in folded stack format.
.TP
\-u \-u
Only trace user threads (not kernel threads). Only trace user threads (not kernel threads).
.TP .TP
\-v \-v
Show raw addresses. Show raw addresses (for non-folded output).
.TP .TP
\-p PID \-p PID
Trace this process ID only (filtered in-kernel). Trace this process ID only (filtered in-kernel).
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.SH NAME .SH NAME
wakeuptime \- Summarize sleep to wakeup time by waker kernel stack. Uses Linux eBPF/bcc. wakeuptime \- Summarize sleep to wakeup time by waker kernel stack. Uses Linux eBPF/bcc.
.SH SYNOPSIS .SH SYNOPSIS
.B wakeuptime [\-h] [\-u] [\-p PID] [\-i INTERVAL] [\-T] [duration] .B wakeuptime [\-h] [\-u] [\-p PID] [\-v] [\-f] [duration]
.SH DESCRIPTION .SH DESCRIPTION
This program shows the kernel stack traces for threads that woke up other This program shows the kernel stack traces for threads that woke up other
blocked threads, along with the process names of the waker and target, along blocked threads, along with the process names of the waker and target, along
...@@ -34,11 +34,14 @@ CONFIG_BPF and bcc. ...@@ -34,11 +34,14 @@ CONFIG_BPF and bcc.
\-h \-h
Print usage message. Print usage message.
.TP .TP
\-f
Print output in folded stack format.
.TP
\-u \-u
Only trace user threads (not kernel threads). Only trace user threads (not kernel threads).
.TP .TP
\-v \-v
Show raw addresses. Show raw addresses (for non-folded format).
.TP .TP
\-p PID \-p PID
Trace this process ID only (filtered in-kernel). Trace this process ID only (filtered in-kernel).
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# offcputime Summarize off-CPU time by kernel stack trace # offcputime Summarize off-CPU time by kernel stack trace
# For Linux, uses BCC, eBPF. # For Linux, uses BCC, eBPF.
# #
# USAGE: offcputime [-h] [-u] [-p PID] [-i INTERVAL] [-T] [duration] # USAGE: offcputime [-h] [-u] [-p PID] [-v] [-f] [duration]
# #
# The current implementation uses an unrolled loop for x86_64, and was written # The current implementation uses an unrolled loop for x86_64, and was written
# as a proof of concept. This implementation should be replaced in the future # as a proof of concept. This implementation should be replaced in the future
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# wakeuptime Summarize sleep to wakeup time by waker kernel stack # wakeuptime Summarize sleep to wakeup time by waker kernel stack
# For Linux, uses BCC, eBPF. # For Linux, uses BCC, eBPF.
# #
# USAGE: wakeuptime [-h] [-u] [-p PID] [-i INTERVAL] [-T] [duration] # USAGE: wakeuptime [-h] [-u] [-p PID] [-v] [-f] [duration]
# #
# The current implementation uses an unrolled loop for x86_64, and was written # The current implementation uses an unrolled loop for x86_64, and was written
# as a proof of concept. This implementation should be replaced in the future # as a proof of concept. This implementation should be replaced in the future
......
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