diff options
| author | Alexander Yarygin <[email protected]> | 2014-07-03 14:29:06 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-07-16 20:57:32 +0000 |
| commit | 54c801ff71ba9c9ae41871e226b9d846ff9c6bab (patch) | |
| tree | f76af7d6d25bbf56be31d9c3bddaaae77205aa76 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | perf kvm: Move arch specific code into arch/ (diff) | |
| download | kernel-54c801ff71ba9c9ae41871e226b9d846ff9c6bab.tar.gz kernel-54c801ff71ba9c9ae41871e226b9d846ff9c6bab.zip | |
perf kvm: Add skip_event() for --duration option
Current code skips output of the x86 specific HLT event in order to
avoid flooding the output with enabled --duration option. The events to
be skipped should be architecture dependent, though.
Let's add an architecture specific array of events to be skipped and
introduce a skip_event() function checking against that array.
Reviewed-by: Christian Borntraeger <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: Alexander Yarygin <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Cc: Cornelia Huck <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[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
