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
d4a4248f
Commit
d4a4248f
authored
Dec 19, 2016
by
Sasha Goldshtein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uobjnew: Remove -l switch from examples
parent
39ace6f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
tools/uobjnew.py
tools/uobjnew.py
+4
-4
tools/uobjnew_example.txt
tools/uobjnew_example.txt
+4
-4
No files found.
tools/uobjnew.py
View file @
d4a4248f
...
...
@@ -17,10 +17,10 @@ from bcc import BPF, USDT
from
time
import
sleep
examples
=
"""examples:
./uobjnew
-l
java 145 # summarize Java allocations in process 145
./uobjnew
-l
c 2020 1 # grab malloc() sizes and print every second
./uobjnew
-l
ruby 6712 -C 10 # top 10 Ruby types by number of allocations
./uobjnew
-l
ruby 6712 -S 10 # top 10 Ruby types by total size
./uobjnew java 145 # summarize Java allocations in process 145
./uobjnew c 2020 1 # grab malloc() sizes and print every second
./uobjnew ruby 6712 -C 10 # top 10 Ruby types by number of allocations
./uobjnew ruby 6712 -S 10 # top 10 Ruby types by total size
"""
parser
=
argparse
.
ArgumentParser
(
description
=
"Summarize object allocations in high-level languages."
,
...
...
tools/uobjnew_example.txt
View file @
d4a4248f
...
...
@@ -68,7 +68,7 @@ optional arguments:
purposes)
examples:
./uobjnew
-l
java 145 # summarize Java allocations in process 145
./uobjnew
-l
c 2020 1 # grab malloc() sizes and print every second
./uobjnew
-l
ruby 6712 -C 10 # top 10 Ruby types by number of allocations
./uobjnew
-l
ruby 6712 -S 10 # top 10 Ruby types by total size
./uobjnew java 145 # summarize Java allocations in process 145
./uobjnew c 2020 1 # grab malloc() sizes and print every second
./uobjnew ruby 6712 -C 10 # top 10 Ruby types by number of allocations
./uobjnew ruby 6712 -S 10 # top 10 Ruby types by total size
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