]> git.baikalelectronics.ru Git - kernel.git/commit
perf/tests: Add interrupted state sample parsing test
authorStephane Eranian <eranian@google.com>
Wed, 24 Sep 2014 11:48:40 +0000 (13:48 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 16 Nov 2014 10:42:01 +0000 (11:42 +0100)
commitb997e51f4d145cf9b5d6a29c64f46e6f27a2cf05
tree113ab21981a99bd22ade4a20ee576a3f6f9eeaee
parent00b571eb3797cca0a325a610975a897e3e2e3ffc
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