mirror of
https://github.com/brendangregg/perf-tools.git
synced 2025-12-01 07:26:04 +07:00
safe(r) for copy-n-paste
This commit is contained in:
@@ -57,7 +57,7 @@ function usage {
|
||||
funccount -t 10 'ext3*' # show top 10 "ext3*" funcs
|
||||
funccount -i 1 'ext3*' # summary every 1 second
|
||||
funccount -i 1 -d 5 'ext3*' # 5 x 1 second summaries
|
||||
END
|
||||
END
|
||||
exit
|
||||
}
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ function usage {
|
||||
functrace -p 198 'vfs*' # trace "vfs*" funcs for PID 198
|
||||
functrace 'tcp*' > out # trace all "tcp*" funcs to out file
|
||||
functrace -d 1 'tcp*' > out # trace 1 sec, then write out file
|
||||
END
|
||||
END
|
||||
exit
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user