diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2023-10-25 13:16:22 -0700 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-10-27 15:05:10 +0200 |
commit | 318c4985911245508f7e0bab5265e208a38b5f18 (patch) | |
tree | 6394635bbfad7f1af19e29ed37204cf11359cc32 /arch/x86/include/asm/cpu.h | |
parent | 1f2376cd03dd3b965d130ed46a7c92769d614ba1 (diff) |
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/include/asm/cpu.h')
0 files changed, 0 insertions, 0 deletions