]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff843dc24280d5e0e65ddb355359de72f4f7eec2
treeb9b212a14c2ce1043ac7537678c5415a03ceb2ed
parent8ded7a5a180379d83ee92d1101987678ce8aa975
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