summaryrefslogtreecommitdiffstats
path: root/tools/include
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2019-08-06 11:46:02 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-14 10:59:59 -0300
commit5a4b58e5d64ac7ebca175ffd8d74ca1b5cb0a01f (patch)
tree094bb88926199931560d57ae2395b0fd560f5ec2 /tools/include
parentce7b0e426ef359ee1d4a6126314ee3547a8eed87 (diff)
downloadlinux-stable-5a4b58e5d64ac7ebca175ffd8d74ca1b5cb0a01f.tar.gz
linux-stable-5a4b58e5d64ac7ebca175ffd8d74ca1b5cb0a01f.tar.bz2
linux-stable-5a4b58e5d64ac7ebca175ffd8d74ca1b5cb0a01f.zip
perf tools: Add aux_output attribute flag
Add aux_output attribute flag to match the kernel's perf_event.h file. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20190806084606.4021-4-alexander.shishkin@linux.intel.com Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/uapi/linux/perf_event.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/include/uapi/linux/perf_event.h b/tools/include/uapi/linux/perf_event.h
index 7198ddd0c6b1..bb7b271397a6 100644
--- a/tools/include/uapi/linux/perf_event.h
+++ b/tools/include/uapi/linux/perf_event.h
@@ -374,7 +374,8 @@ struct perf_event_attr {
namespaces : 1, /* include namespaces data */
ksymbol : 1, /* include ksymbol events */
bpf_event : 1, /* include bpf events */
- __reserved_1 : 33;
+ aux_output : 1, /* generate AUX records instead of events */
+ __reserved_1 : 32;
union {
__u32 wakeup_events; /* wakeup every n events */