aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorDhananjay Ugwekar <Dhananjay.Ugwekar@amd.com>2024-11-15 06:08:00 +0000
committerPeter Zijlstra <peterz@infradead.org>2024-12-02 12:01:35 +0100
commit8bf1c86e5ac828d7e8b44fe007bf3b14ac7f2b2d (patch)
tree86da3605e0aecfa8f7af0fa95bd19dd3d519a71d /tools/perf/scripts/python/call-graph-from-postgresql.py
parentperf/x86/rapl: Remove the cpu_to_rapl_pmu() function (diff)
downloadwireguard-linux-8bf1c86e5ac828d7e8b44fe007bf3b14ac7f2b2d.tar.xz
wireguard-linux-8bf1c86e5ac828d7e8b44fe007bf3b14ac7f2b2d.zip
perf/x86/rapl: Rename rapl_pmu variables
Rename struct rapl_pmu variables from "pmu" to "rapl_pmu", to avoid any confusion between the variables of two different structs pmu and rapl_pmu. As rapl_pmu also contains a pointer to struct pmu, which leads to situations in code like pmu->pmu, which is needlessly confusing. Above scenario is replaced with much more readable rapl_pmu->pmu with this change. Also rename "pmus" member in rapl_pmus struct, for same reason. No functional change. Signed-off-by: Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: "Gautham R. Shenoy" <gautham.shenoy@amd.com> Reviewed-by: Zhang Rui <rui.zhang@intel.com> Tested-by: Zhang Rui <rui.zhang@intel.com> Link: https://lore.kernel.org/r/20241115060805.447565-5-Dhananjay.Ugwekar@amd.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions