perf/x86/intel: Reorganize attrs and is_visible
mainline inclusion from mainline-v6.8-rc1 commit 318c4985911245508f7e0bab5265e208a38b5f18 category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8XR3G CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=318c4985911245508f7e0bab5265e208a38b5f18 ------------------------------------- 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. Intel-SIG: commit 318c49859112 perf/x86/intel: Reorganize attrs and is_visible Backport LBR branch counter support to kernel v6.6. 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 Signed-off-by:
Yunying Sun <yunying.sun@intel.com>
Loading
Please sign in to comment