perf/tests: Add interrupted state sample parsing test
commit26ff0f0af79d0a9fc1f783d45e470059b840c7c1
authorStephane Eranian <eranian@google.com>
Wed, 24 Sep 2014 11:48:40 +0000 (24 13:48 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 16 Nov 2014 10:42:01 +0000 (16 11:42 +0100)
tree113ab21981a99bd22ade4a20ee576a3f6f9eeaee
parent6a21c0b5c2abd2fdfa6fff79f11df3d6082c1873
perf/tests: Add interrupted state sample parsing test

This patch updates the sample parsing test with support
for the sampling of machine interrupted state.

The patch modifies the do_test() code to sahred the sample
regts bitmask between user and intr regs.

Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: cebbert.lkml@gmail.com
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Borislav Petkov <bp@suse.de>
Cc: Jean Pihet <jean.pihet@linaro.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Link: http://lkml.kernel.org/r/1411559322-16548-5-git-send-email-eranian@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/perf/tests/sample-parsing.c