summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGautham R. Shenoy <gautham.shenoy@amd.com>2026-03-26 17:17:47 +0530
committerMario Limonciello (AMD) <superm1@kernel.org>2026-04-02 11:28:16 -0500
commite67a5b6541831bbf1c40b6042a867a4594ec6b55 (patch)
treeddf58d42c81edd1e9bead133d461de99b1e0a1fb /tools/perf/scripts/python/stackcollapse.py
parentfcc25a291fbdca2c06c2c6602532050873f0c9de (diff)
amd-pstate: Make certain freq_attrs conditionally visible
Certain amd_pstate freq_attrs such as amd_pstate_hw_prefcore and amd_pstate_prefcore_ranking are enabled even when preferred core is not supported on the platform. Similarly there are common freq_attrs between the amd-pstate and the amd-pstate-epp drivers (eg: amd_pstate_max_freq, amd_pstate_lowest_nonlinear_freq, etc.) but are duplicated in two different freq_attr structs. Unify all the attributes in a single place and associate each of them with a visibility function that determines whether the attribute should be visible based on the underlying platform support and the current amd_pstate mode. Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Gautham R. Shenoy <gautham.shenoy@amd.com> Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions