aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSuzuki K Poulose2018-09-20 13:17:49 -0600
committerGreg Kroah-Hartman2018-09-25 20:09:17 +0200
commitf9d81a657bb833ef030a092c50230359dfef4648 (patch)
tree64bccc785db4c4b037ef27977261a79f00edf78b /tools
parentc48fb3bbe912a295e5b75eaabaf39874d5b9b773 (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 <mathieu.poirier@linaro.org> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions