perf/x86/intel: Expose LBR callstack to user space tooling
authorPeter Zijlstra <peterz@infradead.org>
Wed, 5 Nov 2014 09:36:45 +0000 (10:36 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 18 Feb 2015 16:16:15 +0000 (17:16 +0100)
commit2c44b1936bb3b135a3fac8b3493394d42e51cf70
treeb9b212a14c2ce1043ac7537678c5415a03ceb2ed
parentaa54ae9b87b83af7edabcc34a299e7e014609af4
perf/x86/intel: Expose LBR callstack to user space tooling

With LBR call stack feature enable, there are three callchain options.
Enable the 3rd callchain option (LBR callstack) to user space tooling.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: linux-api@vger.kernel.org
Link: http://lkml.kernel.org/r/20141105093759.GQ10501@worktop.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event.h
arch/x86/kernel/cpu/perf_event_intel_lbr.c
include/uapi/linux/perf_event.h