Re: [PATCH 2/6] perf/x86/rapl: Rename rapl_pmu variables

2024-06-11 Thread Dhananjay Ugwekar
Hello Rui, On 6/11/2024 11:13 AM, Zhang, Rui wrote: > On Mon, 2024-06-10 at 10:07 +, Dhananjay Ugwekar wrote: >> 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 contain

Re: [PATCH 2/6] perf/x86/rapl: Rename rapl_pmu variables

2024-06-10 Thread Zhang, Rui
On Mon, 2024-06-10 at 10:07 +, Dhananjay Ugwekar wrote: > 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 c

[PATCH 2/6] perf/x86/rapl: Rename rapl_pmu variables

2024-06-10 Thread Dhananjay Ugwekar
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 rep