diff options
author | Ravi Bangoria <[email protected]> | 2018-11-15 15:25:32 +0530 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-11-21 22:39:57 -0300 |
commit | eb08d006054e7e374592068919e32579988602d4 (patch) | |
tree | f3f14891f7b221da2def99c0b47dd209b107e158 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 11a64a05dc649815670b1be9fe63d205cb076401 (diff) |
perf stat: Use perf_evsel__is_clocki() for clock events
We already have function to check if a given event is either
SW_CPU_CLOCK or SW_TASK_CLOCK. Utilize it.
Signed-off-by: Ravi Bangoria <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Anton Blanchard <[email protected]>
Cc: Jin Yao <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Thomas Richter <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[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