uobjnew: Remove -l switch from examples
authorSasha Goldshtein <goldshtn@gmail.com>
Mon, 19 Dec 2016 09:54:31 +0000 (09:54 +0000)
committerSasha Goldshtein <goldshtn@gmail.com>
Mon, 19 Dec 2016 09:54:31 +0000 (09:54 +0000)
tools/uobjnew.py
tools/uobjnew_example.txt

index 98bc01d..993bca8 100755 (executable)
@@ -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.",
index 48b9123..61d2afb 100644 (file)
@@ -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