diff options
author | Kajol Jain <kjain@linux.ibm.com> | 2020-10-03 13:19:42 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-10-07 22:34:48 +1100 |
commit | dcb5cdf60a1fbbdb3b4dd2abc562206481f09ef1 (patch) | |
tree | 12c43e4e8ed857eae86eb62bea20a0516a4b419f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 435387dd1f6fc03c64e3fdb4cc8737904c08a4db (diff) |
powerpc/perf/hv-gpci: Add cpu hotplug support
Patch here adds cpu hotplug functions to hv_gpci pmu.
A new cpuhp_state "CPUHP_AP_PERF_POWERPC_HV_GPCI_ONLINE" enum
is added.
The online callback function updates the cpumask only if its
empty. As the primary intention of adding hotplug support
is to designate a CPU to make HCALL to collect the
counter data.
The offline function test and clear corresponding cpu in a cpumask
and update cpumask to any other active cpu.
Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201003074943.338618-4-kjain@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions