diff options
author | Sandipan Das <sandipan.das@amd.com> | 2022-05-19 15:33:31 +0530 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-06-13 10:15:13 +0200 |
commit | 847f3268bb644ee852732f8e3b5748e4319244b7 (patch) | |
tree | 988fb968268ed86e574d81414b8f7e797bb0e2f7 /arch/s390 | |
parent | 39621c5808f5dda75d03dc4b2d4d2b13a5a1c34b (diff) | |
download | linux-847f3268bb644ee852732f8e3b5748e4319244b7.tar.bz2 |
perf/x86/amd/uncore: Use attr_update for format attributes
Use the update_attrs attribute group introduced by commit
f3a3a8257e5a ("perf/core: Add attr_groups_update into struct
pmu") and the is_visible() callback to populate the family
specifc attributes for uncore events.
The changes apply to attributes that are unique to families
such as slicemask for Family 17h and coreid for Family 19h.
The addition of common attributes such as event and umask,
whose formats change across families, remain unchanged.
Signed-off-by: Sandipan Das <sandipan.das@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/a5e4f4dd5c459199fc497e82b858ba09dc91c064.1652954372.git.sandipan.das@amd.com
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions