Re: [perfmon2] [PATCH] perf: fix the is_software_event() definition

From: stephane eranian
Date: Mon Jan 18 2010 - 08:46:32 EST


On Mon, Jan 18, 2010 at 1:19 PM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Mon, 2010-01-18 at 13:07 +0100, Frederic Weisbecker wrote:
>
>> Agreed.
>>
>> But then Stephane will need to update his patch and use
>> something else than is_software_event() to guess if an event
>> needs its pmu->enable/disable to be called.
>
> Yes, that's what I told him before and even send a patch for, the name I
> chose was is_x86_event().
>
Yes, I remember that. I will modify the patch to use a function like that.
I think the PPC code would need to be updated similarly.
--
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/