Re: [PATCH 1/5] perf: Provide a proper stop action for softwareevents

From: Ingo Molnar
Date: Thu Jun 10 2010 - 08:06:36 EST



* Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> Something like the below would work, the only 'problem' is that it grows
> hw_perf_event.

> @@ -531,6 +531,7 @@ struct hw_perf_event {
> struct { /* software */
> s64 remaining;
> struct hrtimer hrtimer;
> + int stopped;

IMO that's ok.

Ingo
--
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/