Re: [PATCH] perf: Do not send exit event twice

From: Peter Zijlstra
Date: Wed Nov 04 2015 - 11:03:56 EST


On Wed, Nov 04, 2015 at 04:53:58PM +0100, Jiri Olsa wrote:
> On Wed, Nov 04, 2015 at 04:46:04PM +0100, Peter Zijlstra wrote:
> > On Wed, Nov 04, 2015 at 04:00:05PM +0100, Jiri Olsa wrote:
> > > This does not affect other auxiliary events, as they don't
> > > use task_ctx at all.
> >
> > FORK does..
>
> hum, I don't see that, it passes NULL as task_ctx:
>
> void perf_event_fork(struct task_struct *task)
> {
> perf_event_task(task, NULL, 1);
> }

Bah, I'll go sit in a corner, or rather, have a nap. Clearly I cannot
even read anymore.
--
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/