-
由 Chris J Arges 提交于
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: NChris J Arges <arges@linux.vnet.ibm.com> Signed-off-by: NRobert Richter <robert.richter@amd.com>
4bd9b9dc