path: root/tools/perf/perf.h
diff options
authorStephane Eranian <>2014-09-24 13:48:39 +0200
committerIngo Molnar <>2014-11-16 11:41:59 +0100
commit6a21c0b5c2abd2fdfa6fff79f11df3d6082c1873 (patch)
treeff097bc4f3a2a3d6b400b82853852cb49dc2036a /tools/perf/perf.h
parentaea48559ac454a065244d3eff0c94cc8af9c553e (diff)
perf tools: Add core support for sampling intr machine state regs
Add the infrastructure to setup, collect and report the interrupt machine state regs which can be captured by the kernel. Signed-off-by: Stephane Eranian <> Signed-off-by: Peter Zijlstra (Intel) <> Cc: Cc: Adrian Hunter <> Cc: Andi Kleen <> Cc: Arnaldo Carvalho de Melo <> Cc: David Ahern <> Cc: Don Zickus <> Cc: Jean Pihet <> Cc: Jiri Olsa <> Cc: Jiri Olsa <> Cc: Linus Torvalds <> Cc: Namhyung Kim <> Cc: Paul Mackerras <> Cc: Stephane Eranian <> Cc: Waiman Long <> Cc: Wang Nan <> Link: Signed-off-by: Ingo Molnar <>
Diffstat (limited to 'tools/perf/perf.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h
index 511c2831aa81..1dabb8553499 100644
--- a/tools/perf/perf.h
+++ b/tools/perf/perf.h
@@ -52,6 +52,7 @@ struct record_opts {
bool sample_weight;
bool sample_time;
bool period;
+ bool sample_intr_regs;
unsigned int freq;
unsigned int mmap_pages;
unsigned int user_freq;