Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit 7f8675a

Browse files
icklejnikula
authored andcommitted
uapi/perf: Squelch compiler warning
Remove copious amounts of ./include/uapi/linux/perf_event.h:147:56: warning: cast truncates bits from constant value (8000000000000000 becomes 0) as they are drowning out our warnings. References: https://gitlab.freedesktop.org/drm/intel/-/issues/8039 Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Rodrigo Vivi <[email protected]>
1 parent 1d3a724 commit 7f8675a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/uapi/linux/perf_event.h

+3
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ enum perf_event_sample_format {
167167
};
168168

169169
#define PERF_SAMPLE_WEIGHT_TYPE (PERF_SAMPLE_WEIGHT | PERF_SAMPLE_WEIGHT_STRUCT)
170+
171+
#define __PERF_SAMPLE_CALLCHAIN_EARLY (1ULL << 63) /* non-ABI; internal use */
172+
170173
/*
171174
* values to program into branch_sample_type when PERF_SAMPLE_BRANCH is set
172175
*

0 commit comments

Comments
 (0)