commit | 4bd9b9dc97e344670e9e5762399a07dcd5f15311 | [log] [tgz] |
---|---|---|
author | Chris J Arges <arges@linux.vnet.ibm.com> | Wed Oct 15 11:03:39 2008 -0500 |
committer | Robert Richter <robert.richter@amd.com> | Fri Oct 17 10:38:58 2008 +0200 |
tree | 47bafd5ea9e5fd68738ab6788fee6d7f21815303 | |
parent | 0f019cc477b494dfc472f2a98eb64d02d4937741 [diff] |
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: Chris J Arges <arges@linux.vnet.ibm.com> Signed-off-by: Robert Richter <robert.richter@amd.com>