summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/perf_event_amd.c
diff options
context:
space:
mode:
authorVince Weaver <vincent.weaver@maine.edu>2013-08-23 15:51:03 -0400
committerIngo Molnar <mingo@kernel.org>2013-09-02 08:42:48 +0200
commit274481de6cb69abdb49403ff32abb63c23743413 (patch)
treefe974241d382214e3d19a5a35ed97adb16158ba1 /arch/x86/kernel/cpu/perf_event_amd.c
parent13d7a2410fa637f450a29ecb515ac318ee40c741 (diff)
perf: Export struct perf_branch_entry to userspace
If PERF_SAMPLE_BRANCH_STACK is enabled then samples are returned with the format { u64 from, to, flags } but the flags layout is not specified. This field has the type struct perf_branch_entry; move this definition into include/uapi/linux/perf_event.h so users can access these fields. This is similar to the existing inclusion of perf_mem_data_src in the include/uapi/linux/perf_event.h file. Signed-off-by: Vince Weaver <vincent.weaver@maine.edu> Acked-by: Stephane Eranian <eranian@google.com> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/alpine.DEB.2.10.1308231544420.1889@vincent-weaver-1.um.maine.edu Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/cpu/perf_event_amd.c')
0 files changed, 0 insertions, 0 deletions