perf/UAPI: Clearly mark __PERF_SAMPLE_CALLCHAIN_EARLY as internal use
authorPeter Zijlstra <peterz@infradead.org>
Wed, 29 Aug 2018 12:13:13 +0000 (14:13 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 10 Sep 2018 08:03:02 +0000 (10:03 +0200)
commit09121255c784fd36ad6237a4e239c634b0209de0
treedcb1916e575a3f30a5801f667de0d44d35f64104
parent16160c1946b702dcfa95ef63389a56deb2f1c7cb
perf/UAPI: Clearly mark __PERF_SAMPLE_CALLCHAIN_EARLY as internal use

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.

Requested-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/uapi/linux/perf_event.h