[PATCH 6.1 056/208] platform/x86/amd/pmf: Add helper routine to check pprof is balanced