no need to backmerge, only affects ftrace-enabled kernels. (which is
not the default)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
static cpumask_t mask;
static int start;
unsigned long flags;
static cpumask_t mask;
static int start;
unsigned long flags;
int read = 0;
int cpu;
int len;
int read = 0;
int cpu;
int len;
cpus_clear(mask);
local_irq_save(flags);
cpus_clear(mask);
local_irq_save(flags);
ftrace_save = ftrace_enabled;
ftrace_enabled = 0;
ftrace_save = ftrace_enabled;
ftrace_enabled = 0;
smp_wmb();
for_each_possible_cpu(cpu) {
data = iter->tr->data[cpu];
smp_wmb();
for_each_possible_cpu(cpu) {
data = iter->tr->data[cpu];
data = iter->tr->data[cpu];
atomic_dec(&data->disabled);
}
data = iter->tr->data[cpu];
atomic_dec(&data->disabled);
}
ftrace_enabled = ftrace_save;
ftrace_enabled = ftrace_save;
local_irq_restore(flags);
/* Now copy what we have to the user */
local_irq_restore(flags);
/* Now copy what we have to the user */