Unverified Commit 3ba6d71a authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!2794 arm64/perf: Enable branch stack sampling

Merge Pull Request from: @ci-robot 
 
PR sync from: Junhao He <hejunhao3@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/I65SDEDWRRON44EIG7WVIT44STWZAWGY/ 
This series enables perf branch stack sampling support on arm64 platform
via a new arch feature called Branch Record Buffer Extension (BRBE). All
relevant register definitions could be accessed here.

v2-v3:
- Remove indentation before macro #ifdef

v1-v2:
- Fix kabi breakage in struct perf_branch_entry

Anshuman Khandual (16):
  perf tools: Add missing branch_sample_type to
    perf_event_attr__fprintf()
  perf: Add irq and exception return branch types
  perf: Add system error and not in transaction branch types
  perf: Extend branch type classification
  perf: Capture branch privilege information
  perf: Add PERF_BR_NEW_ARCH_[N] map for BRBE on arm64 platform
  perf branch: Add system error and not in transaction branch types
  perf branch: Extend branch type classification
  perf branch: Add branch privilege information request flag
  perf branch: Add PERF_BR_NEW_ARCH_[N] map for BRBE on arm64 platform
  perf: Consolidate branch sample filter helpers
  perf record: Add remaining branch filters: "no_cycles", "no_flags" &
    "hw_index"
  arm64/sysreg: Add BRBE registers and fields
  drivers: perf: arm_pmu: Add new sched_task() callback
  drivers: perf: arm_pmuv3: Enable branch stack sampling framework
  drivers: perf: arm_pmuv3: Enable branch stack sampling via FEAT_BRBE

James Clark (5):
  perf evsel: Add error message for unsupported branch stack cases
  perf session: Print branch stack entry type in --dump-raw-trace
  perf script: Refactor branch stack printing
  perf script: Output branch sample type
  perf branch: Fix interpretation of branch records

Junhao He (1):
  perf: Fix kabi breakage in struct perf_branch_entry

Mark Brown (1):
  arm64/sysreg: Introduce helpers for access to sysreg fields

Sandipan Das (1):
  perf/core: Add speculation info to branch entries


-- 
2.33.0
 
https://gitee.com/src-openeuler/kernel/issues/I8DFTV
https://gitee.com/openeuler/kernel/issues/I8EC9K 
 
Link:https://gitee.com/openeuler/kernel/pulls/2794

 

Reviewed-by: default avatarXu Kuohai <xukuohai@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents 3ac6fd8f 39619c9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment