diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2023-10-25 22:16:22 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-10-27 15:05:10 +0200 |
commit | 318c4985911245508f7e0bab5265e208a38b5f18 (patch) | |
tree | 6394635bbfad7f1af19e29ed37204cf11359cc32 /arch/x86/events/intel/pt.h | |
parent | perf: Add branch_sample_call_stack (diff) | |
download | linux-318c4985911245508f7e0bab5265e208a38b5f18.tar.xz linux-318c4985911245508f7e0bab5265e208a38b5f18.zip |
perf/x86/intel: Reorganize attrs and is_visible
Some attrs and is_visible implementations are rather far away from one
another which makes the whole thing hard to interpret.
There are only two attribute groups which have both .attrs and
.is_visible, group_default and group_caps_lbr. Move them together.
No functional changes.
Suggested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20231025201626.3000228-4-kan.liang@linux.intel.com
Diffstat (limited to 'arch/x86/events/intel/pt.h')
0 files changed, 0 insertions, 0 deletions