History

tools headers: Sync uapi/linux/perf_event.h with the kernel sources

To pick up the changes in this cset: 18d92bb57c39504d ("perf/core: Add aux_pause, aux_resume, aux_start_paused") This addresses these perf build warnings: Warning: Kernel ABI header differences: diff -u tools/include/uapi/linux/perf_event.h include/uapi/linux/perf_event.h Please see tools/include/uapi/README for further details.

Namhyung Kim committed 1 year ago

Commit 5229df81 parent 5fc3a081 file · +10 −1Browse files

Unified · Split

tools/include/uapi/linux/perf_event.h+10−1
@@ -511,7 +511,16 @@ struct perf_event_attr { · 510 unmodified lines
511511 __u16 sample_max_stack;
512512 __u16 __reserved_2;
513513 __u32 aux_sample_size;
514− __u32 __reserved_3;
514+
515+ union {
516+ __u32 aux_action;
517+ struct {
518+ __u32 aux_start_paused : 1, /* start AUX area tracing paused */
519+ aux_pause : 1, /* on overflow, pause AUX area tracing */
520+ aux_resume : 1, /* on overflow, resume AUX area tracing */
521+ __reserved_3 : 29;
522+ };
523+ };
515524
516525 /*
517526 * User provided data if sigtrap=1, passed back to user via