aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2022-04-02 23:11:22 +0000
committerHans de Goede <[email protected]>2022-04-04 14:26:09 +0000
commit753ee989f7cf0c0a76a7f56956827a8863a60f97 (patch)
tree337cd389dd808b0f51a4fcc163d1641383d47d14 /tools/perf/scripts/python/event_analyzing_sample.py
parentplatform/x86: acerhdf: Cleanup str_starts_with() (diff)
downloadkernel-753ee989f7cf0c0a76a7f56956827a8863a60f97.tar.gz
kernel-753ee989f7cf0c0a76a7f56956827a8863a60f97.zip
platform/x86: amd-pmc: Fix compilation without CONFIG_SUSPEND
Since commit b1f66033cd4e ("platform/x86: amd-pmc: Move to later in the suspend process") amd-pmc doesn't use traditional suspend resume callback anymore but relies on functions only created declared when CONFIG_SUSPEND is set. Check for CONFIG_SUSPEND and only use those functions in those circumstances. Fixes: commit b1f66033cd4e ("platform/x86: amd-pmc: Move to later in the suspend process") Reported-by: Randy Dunlap <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Acked-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions