diff options
author | 2020-10-03 13:19:42 +0530 | |
---|---|---|
committer | 2020-10-07 22:34:48 +1100 | |
commit | dcb5cdf60a1fbbdb3b4dd2abc562206481f09ef1 (patch) | |
tree | 12c43e4e8ed857eae86eb62bea20a0516a4b419f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Documentation/ABI: Add ABI documentation for hv-gpci format (diff) | |
download | linux-dev-dcb5cdf60a1fbbdb3b4dd2abc562206481f09ef1.tar.xz linux-dev-dcb5cdf60a1fbbdb3b4dd2abc562206481f09ef1.zip |
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