Commit d4a4248f authored by Sasha Goldshtein's avatar Sasha Goldshtein

uobjnew: Remove -l switch from examples

parent 39ace6f6
...@@ -17,10 +17,10 @@ from bcc import BPF, USDT ...@@ -17,10 +17,10 @@ from bcc import BPF, USDT
from time import sleep from time import sleep
examples = """examples: examples = """examples:
./uobjnew -l java 145 # summarize Java allocations in process 145 ./uobjnew java 145 # summarize Java allocations in process 145
./uobjnew -l c 2020 1 # grab malloc() sizes and print every second ./uobjnew 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 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 ruby 6712 -S 10 # top 10 Ruby types by total size
""" """
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
description="Summarize object allocations in high-level languages.", description="Summarize object allocations in high-level languages.",
......
...@@ -68,7 +68,7 @@ optional arguments: ...@@ -68,7 +68,7 @@ optional arguments:
purposes) purposes)
examples: examples:
./uobjnew -l java 145 # summarize Java allocations in process 145 ./uobjnew java 145 # summarize Java allocations in process 145
./uobjnew -l c 2020 1 # grab malloc() sizes and print every second ./uobjnew 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 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 ruby 6712 -S 10 # top 10 Ruby types by total size
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