Re: [PATCH 01/10] perf, trace: Remove IRQ-disable fromperf/tracepoint interaction

From: Paul Mackerras
Date: Sun May 23 2010 - 08:48:58 EST


On Fri, May 21, 2010 at 11:02:02AM +0200, Peter Zijlstra wrote:

> entry = (struct trace_entry *)raw_data;
> - tracing_generic_entry_update(entry, *irq_flags, pc);
> + tracing_generic_entry_update(entry, regs->flags, pc);
> entry->type = type;

This is breaking on powerpc -- we don't have a "flags" element in
struct pt_regs. What is it trying to do? Get the interrupt enable
state, as local_irq_save(flags) would provide?

Paul.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/