diff options
author | 2022-01-31 15:01:10 -0800 | |
---|---|---|
committer | 2022-02-01 16:35:21 +0100 | |
commit | 182ecfaf757de234a5262f51c0e699bec7258a67 (patch) | |
tree | 4d18fa0cadbfdde1b0732bd337642e18fecd89f7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | x86/cpu: Read/save PPIN MSR during initialization (diff) | |
download | linux-dev-182ecfaf757de234a5262f51c0e699bec7258a67.tar.xz linux-dev-182ecfaf757de234a5262f51c0e699bec7258a67.zip |
topology/sysfs: Add format parameter to macro defining "show" functions for proc
All the simple (non-mask and non-list files in
/sys/devices/system/cpu/cpu0/topology/ are currently printed as decimal
integers.
Refactor the macro that generates the "show" functions to take a format
parameter to allow future files to display in other formats.
No functional change.
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20220131230111.2004669-5-tony.luck@intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions