diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2017-01-09 17:26:26 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-01-11 16:48:01 -0300 |
commit | 017037ff3d0b11842012878a546fe2df47822259 (patch) | |
tree | 65a9229dc35ac8f4097a8ac448da5b3fad7e8c0c /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 355637717d575f14169954c3ed31536d45778f08 (diff) |
perf trace: Allow specifying list of syscalls and events in -e/--expr/--event
Makes it easier to specify both events and syscalls (to be formatter
strace-like), i.e. previously one would have to do:
# perf trace -e nanosleep --event sched:sched_switch usleep 1
Now it is possible to do:
# perf trace -e nanosleep,sched:sched_switch usleep 1
0.000 ( 0.021 ms): usleep/17962 nanosleep(rqtp: 0x7ffdedd61ec0) ...
0.021 ( ): sched:sched_switch:usleep:17962 [120] S ==> swapper/1:0 [120])
0.000 ( 0.066 ms): usleep/17962 ... [continued]: nanosleep()) = 0
#
The old style --expr and using both -e and --event continues to work.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Milian Wolff <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions