Files
kernel_xiaomi_sm8250/include/uapi/linux
Stephane Eranian 60e2364e60 perf: Add ability to sample machine state on interrupt
Enable capture of interrupted machine state for each sample.

Registers to sample are passed per event in the sample_regs_intr bitmask.

To sample interrupt machine state, the PERF_SAMPLE_INTR_REGS must be passed in
sample_type.

The list of available registers is arch dependent and provided by asm/perf_regs.h

Registers are laid out as u64 in the order of the bit order of sample_intr_regs.

This patch also adds a new ABI version PERF_ATTR_SIZE_VER4 because we extend
the perf_event_attr struct with a new u64 field.

Reviewed-by: Jiri Olsa <jolsa@redhat.com>
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: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-api@vger.kernel.org
Link: http://lkml.kernel.org/r/1411559322-16548-2-git-send-email-eranian@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2014-11-16 11:41:57 +01:00
..
2014-09-23 23:15:46 -07:00
2014-10-14 13:08:29 +11:00
2014-07-01 10:48:05 -06:00
2014-03-20 14:55:18 +01:00
2014-09-26 14:53:23 -04:00
2014-10-09 09:14:13 +02:00
2014-08-08 15:57:31 -07:00
2014-10-24 00:14:37 +02:00
2014-05-14 10:04:34 +01:00
2014-09-29 15:37:01 -04:00
2014-10-03 16:53:33 -07:00
2014-08-08 15:57:31 -07:00
2014-06-13 10:53:49 -04:00
2014-03-21 14:21:13 -04:00
2014-10-28 10:46:08 +01:00
2014-04-26 12:13:24 -04:00