Vince noted that commit: 6cbc304f2f36 ("perf/x86/intel: Fix unwind errors from PEBS entries (mk-II)") 'leaked' __PERF_SAMPLE_CALLCHAIN_EARLY into the UAPI namespace. And while sys_perf_event_open() will error out if you try to use it, it is exposed. Clearly mark it for internal use only to avoid any confusion.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -144,7 +144,7 @@ enum perf_event_sample_format { · 143 unmodified lines | ||
| 144 | 144 | |
| 145 | 145 | PERF_SAMPLE_MAX = 1U << 20, /* non-ABI */ |
| 146 | 146 | |
| 147 | − __PERF_SAMPLE_CALLCHAIN_EARLY = 1ULL << 63, | |
| 147 | + __PERF_SAMPLE_CALLCHAIN_EARLY = 1ULL << 63, /* non-ABI; internal use */ | |
| 148 | 148 | }; |
| 149 | 149 | |
| 150 | 150 | /* |