alistair23-linux/tools/perf/arch
Alexander Yarygin 54c801ff71 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 <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1404397747-20939-4-git-send-email-yarygin@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2014-07-16 17:57:32 -03:00
..
arm perf tools: Add libdw DWARF post unwind support for ARM 2014-05-16 11:39:29 +02:00
arm64 perf tools: Consolidate types.h for ARM and ARM64 2014-05-16 11:38:57 +02:00
powerpc perf tools powerpc: Adjust callchain based on DWARF debug info 2014-06-27 11:14:51 +02:00
s390 perf tools: Allow to use cpuinfo on s390 2014-07-07 16:55:24 -03:00
sh perf tools: Fix build on non-glibc systems due to libio.h absence 2013-03-15 13:05:13 -03:00
sparc perf tools: Fix build on non-glibc systems due to libio.h absence 2013-03-15 13:05:13 -03:00
x86 perf kvm: Add skip_event() for --duration option 2014-07-16 17:57:32 -03:00
common.c perf tools: Introduce zfree 2013-12-27 15:17:00 -03:00
common.h perf tools: Try to find cross-built objdump path 2012-10-24 14:20:11 -02:00