From: Sasha Goldshtein Date: Mon, 19 Dec 2016 09:54:31 +0000 (+0000) Subject: uobjnew: Remove -l switch from examples X-Git-Tag: v0.3.0~97^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4a4248f6ba9d7ff7e20f975dc326ef767ec9c8d;p=platform%2Fupstream%2Fbcc.git uobjnew: Remove -l switch from examples --- diff --git a/tools/uobjnew.py b/tools/uobjnew.py index 98bc01d..993bca8 100755 --- a/tools/uobjnew.py +++ b/tools/uobjnew.py @@ -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.", diff --git a/tools/uobjnew_example.txt b/tools/uobjnew_example.txt index 48b9123..61d2afb 100644 --- a/tools/uobjnew_example.txt +++ b/tools/uobjnew_example.txt @@ -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