Re: [PATCH] perf_events: improve x86 event scheduling (v5)

From: Peter Zijlstra
Date: Mon Jan 18 2010 - 12:13:51 EST

On Mon, 2010-01-18 at 17:51 +0100, Frederic Weisbecker wrote:

> Right hw_perf_enable/disable have no action on breakpoint events.
> These were somehow considered as software events until now.
> That raises the question: why perf_disable() only takes care
> of hardware events? Very few software events can trigger
> between perf_disable() and perf_enable() sections though.
> May be I should handle breakpoints there.

OK, so maybe I'm not understanding the breakpoint stuff correctly, why
is it modeled as a software pmu? It has resource constraints like a
hardware pmu.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at