Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
62f4c284
Commit
62f4c284
authored
Jan 30, 2016
by
Brendan Gregg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix synopsis options in docs
parent
af2b46af
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
6 deletions
+12
-6
man/man8/offcputime.8
man/man8/offcputime.8
+5
-2
man/man8/wakeuptime.8
man/man8/wakeuptime.8
+5
-2
tools/offcputime.py
tools/offcputime.py
+1
-1
tools/wakeuptime.py
tools/wakeuptime.py
+1
-1
No files found.
man/man8/offcputime.8
View file @
62f4c284
...
...
@@ -2,7 +2,7 @@
.SH NAME
offcputime \- Summarize off-CPU time by kernel stack trace. Uses Linux eBPF/bcc.
.SH SYNOPSIS
.B offcputime [\-h] [\-u] [\-p PID] [\-
i INTERVAL] [\-T
] [duration]
.B offcputime [\-h] [\-u] [\-p PID] [\-
v] [\-f
] [duration]
.SH DESCRIPTION
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".
...
...
@@ -33,11 +33,14 @@ CONFIG_BPF and bcc.
\-h
Print usage message.
.TP
\-f
Print output in folded stack format.
.TP
\-u
Only trace user threads (not kernel threads).
.TP
\-v
Show raw addresses.
Show raw addresses
(for non-folded output)
.
.TP
\-p PID
Trace this process ID only (filtered in-kernel).
...
...
man/man8/wakeuptime.8
View file @
62f4c284
...
...
@@ -2,7 +2,7 @@
.SH NAME
wakeuptime \- Summarize sleep to wakeup time by waker kernel stack. Uses Linux eBPF/bcc.
.SH SYNOPSIS
.B wakeuptime [\-h] [\-u] [\-p PID] [\-
i INTERVAL] [\-T
] [duration]
.B wakeuptime [\-h] [\-u] [\-p PID] [\-
v] [\-f
] [duration]
.SH DESCRIPTION
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
...
...
@@ -34,11 +34,14 @@ CONFIG_BPF and bcc.
\-h
Print usage message.
.TP
\-f
Print output in folded stack format.
.TP
\-u
Only trace user threads (not kernel threads).
.TP
\-v
Show raw addresses.
Show raw addresses
(for non-folded format)
.
.TP
\-p PID
Trace this process ID only (filtered in-kernel).
...
...
tools/offcputime.py
View file @
62f4c284
...
...
@@ -3,7 +3,7 @@
# offcputime Summarize off-CPU time by kernel stack trace
# 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
# as a proof of concept. This implementation should be replaced in the future
...
...
tools/wakeuptime.py
View file @
62f4c284
...
...
@@ -3,7 +3,7 @@
# wakeuptime Summarize sleep to wakeup time by waker kernel stack
# 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
# as a proof of concept. This implementation should be replaced in the future
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment