diff options
author | Kan Liang <[email protected]> | 2023-01-04 12:13:41 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2023-01-09 12:22:07 +0100 |
commit | b6c00fb9949fbd073e651a77aa75faca978cf2a6 (patch) | |
tree | 354d02c137629a0edeac58a63797c53bcb36de47 /scripts/gdb/linux/modules.py | |
parent | 8e791f7eba4c7711f56616ae163ee3cbc00b1bf4 (diff) |
perf: Add PMU_FORMAT_ATTR_SHOW
The macro PMU_FORMAT_ATTR facilitates the definition of both the "show"
function and "format_attr". But it only works for a non-hybrid platform.
For a hybrid platform, the name "format_attr_hybrid_" is used.
The definition of the "show" function can be shared between a non-hybrid
platform and a hybrid platform. Add a new macro PMU_FORMAT_ATTR_SHOW.
No functional change. The PMU_FORMAT_ATTR_SHOW will be used in the
following patch.
Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions