Thread (10 messages) 10 messages, 3 authors, 2022-08-16
STALE1384d
Revisions (4)
  1. v1 current
  2. v2 [diff vs current]
  3. v3 [diff vs current]
  4. v4 [diff vs current]

[PATCH 0/4] tools perf: Add branch speculation info

From: Sandipan Das <hidden>
Date: 2022-08-11 12:47:15
Also in: lkml

AMD Last Branch Record Extension Version 2 (LbrExtV2) provides branch
speculation information and the perf UAPI is extended to provide this in a
generic manner. Update the tools headers and perf tool to be able to show
this additional information.

The LbrExtV2 enablement and UAPI changes can be found at:
https://lore.kernel.org/all/cover.1660211399.git.sandipan.das@amd.com/ (local)

Sandipan Das (4):
  tools headers uapi: Sync perf_event.h with kernel sources
  tools headers x86: Sync msr-index.h with kernel sources
  perf script: Show branch speculation info
  perf session: Show branch speculation info in raw dump

 tools/arch/x86/include/asm/msr-index.h |  5 +++++
 tools/include/uapi/linux/perf_event.h  | 15 ++++++++++++++-
 tools/perf/builtin-script.c            |  5 +++--
 tools/perf/util/branch.c               | 15 +++++++++++++++
 tools/perf/util/branch.h               |  5 ++++-
 tools/perf/util/evsel.c                |  9 ++++++---
 tools/perf/util/session.c              |  5 +++--
 7 files changed, 50 insertions(+), 9 deletions(-)

-- 
2.34.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help