diff options
author | Like Xu <[email protected]> | 2022-11-24 23:05:50 -0500 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2022-12-27 12:52:07 +0100 |
commit | 03c4c7f88709fac0e20b6a48357c73d6fc50e544 (patch) | |
tree | 83281d30af0bb485e0651bf92b4644b63bbe22b1 /scripts/gdb/linux/modules.py | |
parent | 1b929c02afd37871d5afb9d498426f83432e71c2 (diff) |
perf/x86/lbr: Simplify the exposure check for the LBR_INFO registers
The x86_pmu.lbr_info is 0 unless explicitly initialized, so there's
no point checking x86_pmu.intel_cap.lbr_format.
Signed-off-by: Like Xu <[email protected]>
Signed-off-by: Yang Weijiang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Kan Liang <[email protected]>
Reviewed-by: Andi Kleen <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions