aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorRavi Bangoria <[email protected]>2022-05-09 10:19:08 +0530
committerPeter Zijlstra <[email protected]>2022-05-11 16:27:09 +0200
commit2a7a7e658682bfd7501dc6b4c9d365aa6c79788a (patch)
tree0eaf8a139624bf6d767a3937e24517f2a545a1ab /lib/mpi/mpi-sub-ui.c
parent39b2ca75eec8a33e2ffdb8aa0c4840ec3e3b472c (diff)
perf/amd/ibs: Use ->is_visible callback for dynamic attributes
Currently, some attributes are added at build time whereas others at boot time depending on IBS pmu capabilities. Instead, we can just add all attribute groups at build time but hide individual group at boot time using more appropriate ->is_visible() callback. Also, struct perf_ibs has bunch of fields for pmu attributes which just pass on the pointer, does not do anything else. Remove them. Signed-off-by: Ravi Bangoria <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions