git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
trace/hwlat: Do not wipe the contents of per-cpu thread data
[sfrench/cifs-2.6.git]
/
kernel
/
trace
/
trace_hwlat.c
diff --git
a/kernel/trace/trace_hwlat.c
b/kernel/trace/trace_hwlat.c
index d440ddd5fd8b29adf605075004fc5edd9a7ee17c..edc26dc22c3f182fbfd5bd46ba0288d3eae84759 100644
(file)
--- a/
kernel/trace/trace_hwlat.c
+++ b/
kernel/trace/trace_hwlat.c
@@
-584,9
+584,6
@@
static int start_per_cpu_kthreads(struct trace_array *tr)
*/
cpumask_and(current_mask, cpu_online_mask, tr->tracing_cpumask);
- for_each_online_cpu(cpu)
- per_cpu(hwlat_per_cpu_data, cpu).kthread = NULL;
-
for_each_cpu(cpu, current_mask) {
retval = start_cpu_kthread(cpu);
if (retval)