summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2022-04-11 09:38:20 -0500
committerHans de Goede <hdegoede@redhat.com>2022-04-13 13:49:48 +0200
commitb0c07116c894325d40a218f558047f925e4b3bdb (patch)
treedfb652a1c62db1b7582c7f6cfa0c19212146d87c /tools/perf/scripts/python/stackcollapse.py
parent63585d5958dacd1f2ac73bff0f1f37a98ba348e4 (diff)
platform/x86: amd-pmc: Avoid reading SMU version at probe time
Currently the SMU version only used to determine whether the SMU supports reading the idle mask. To speed up startup, move it to the first time the idle mask is read. This decreases the startup time from ~28500us to 100us. Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Link: https://lore.kernel.org/r/20220411143820.13971-3-mario.limonciello@amd.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions