Skip to content

Commit 714b8b7

Browse files
committed
tools headers UAPI: Sync linux/perf_event.h with the kernel sources
To pick the trivial change in: ddecd22 ("perf: uapi: Document perf_event_attr::sig_data truncation on 32 bit architectures") Just adds a comment. This silences this perf build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/perf_event.h' differs from latest version at 'include/uapi/linux/perf_event.h' diff -u tools/include/uapi/linux/perf_event.h include/uapi/linux/perf_event.h Cc: Marco Elver <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/lkml/ Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent de9f498 commit 714b8b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/include/uapi/linux/perf_event.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,8 @@ struct perf_event_attr {
465465
/*
466466
* User provided data if sigtrap=1, passed back to user via
467467
* siginfo_t::si_perf_data, e.g. to permit user to identify the event.
468+
* Note, siginfo_t::si_perf_data is long-sized, and sig_data will be
469+
* truncated accordingly on 32 bit architectures.
468470
*/
469471
__u64 sig_data;
470472
};

0 commit comments

Comments
 (0)