Re: [PATCH 3/4] perf kvm: Add skip_event() for --duration option

From: David Ahern
Date: Wed Jul 09 2014 - 09:45:50 EST

On 7/3/14, 8:29 AM, Alexander Yarygin wrote:
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.

Signed-off-by: Alexander Yarygin <yarygin@xxxxxxxxxxxxxxxxxx>
Reviewed-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx>

Reviewed-by David Ahern <dsahern@xxxxxxxxx>

Compiled and Tested on x86

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at