Skip to content
Commit 4bd9b9dc authored by Chris J Arges's avatar Chris J Arges Committed by Robert Richter
Browse files

oprofile: hotplug cpu fix



This patch addresses problems when hotplugging cpus while
profiling. Instead of allocating only online cpus, all possible cpu
buffers are allocated, which allows cpus to be onlined during
operation. If a cpu is offlined before profiling is shutdown
wq_sync_buffer checks for this condition then cancels this work and
does not sync this buffer.

Signed-off-by: default avatarChris J Arges <arges@linux.vnet.ibm.com>
Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
parent 0f019cc4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment