Skip to content

Commit

Permalink
[tools/argdist.py] Fix a wrong place of help info (iovisor#1939)
Browse files Browse the repository at this point in the history
argdist -H 'r::__vfs_read(void *file, void *buf, size_t count):size_t
$entry(count):$latency > 1000000'
is a wrong example which cann't excute success, because lack of ":" and cann't split field correctly.

So, the right command is:

argdist -H 'r::__vfs_read(void *file, void *buf, size_t count):size_t:
$entry(count):$latency > 1000000'

Signed-off-by: Ahao Mu <[email protected]>
  • Loading branch information
muahao authored and yonghong-song committed Aug 21, 2018
1 parent 45b6bab commit 852e19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/argdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ class Tool(object):
argdist -C 'r::__vfs_read():u32:$PID:$latency > 100000'
Print frequency of reads by process where the latency was >0.1ms
argdist -H 'r::__vfs_read(void *file, void *buf, size_t count):size_t
argdist -H 'r::__vfs_read(void *file, void *buf, size_t count):size_t:
$entry(count):$latency > 1000000'
Print a histogram of read sizes that were longer than 1ms
Expand Down

0 comments on commit 852e19b

Please sign in to comment.