[lkml]   [2015]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[patch 01/10] perf_event_open.2: 4.1 PERF_SAMPLE_BRANCH_CALL_STACK

This manpage patch relates to the addition of the
PERF_SAMPLE_BRANCH_CALL_STACK functionaliry added in the
following commit:

commit 2c44b1936bb3b135a3fac8b3493394d42e51cf70
Author: Peter Zijlstra <>

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) <>
Cc: Jiri Olsa <>
Cc: Arnaldo Carvalho de Melo <>
Cc: Andy Lutomirski <>
Cc: Kan Liang <>
Cc: Linus Torvalds <>
Cc: Paul Mackerras <>
Cc: Vince Weaver <>
Signed-off-by: Ingo Molnar <>

Signed-off-by: Vince Weaver <>

diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2
index 01ee579..691b16b 100644
--- a/man2/perf_event_open.2
+++ b/man2/perf_event_open.2
@@ -1203,6 +1203,11 @@ Branch in transactional memory transaction.
.BR PERF_SAMPLE_BRANCH_NO_TX " (since Linux 3.11)"
.\" commit 135c5612c460f89657c4698fe2ea753f6f667963
Branch not in transactional memory transaction.
+.\" commit 2c44b1936bb3b135a3fac8b3493394d42e51cf70
+Branch is part of a hardware generated call stack.
+This requires hardware support, currently only found
+on Intel x86 Haswell or newer.


 \ /
  Last update: 2015-04-16 20:21    [W:0.035 / U:1.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site