diff options
| author | Suzuki K Poulose <[email protected]> | 2018-09-20 13:17:49 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-09-25 20:09:17 +0200 |
| commit | f9d81a657bb833ef030a092c50230359dfef4648 (patch) | |
| tree | 64bccc785db4c4b037ef27977261a79f00edf78b /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | c48fb3bbe912a295e5b75eaabaf39874d5b9b773 (diff) | |
coresight: perf: Allow tracing on hotplugged CPUs
At the moment, if there is no CPU specified for a given
event, we use cpu_online_mask and try to build path for
each of the CPUs in the mask. This could prevent any CPU
that is turned online later to be used for the tracing.
This patch changes to use the cpu_present_mask and tries
to build path for as much CPUs as possible ignoring the
failures in building path for some of the CPUs. If ever
we try to trace on those CPUs, we fail the operation.
Based on a patch from Mathieu Poirier.
Cc: Mathieu Poirier <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Signed-off-by: Mathieu Poirier <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions