Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1262397

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

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] perf: Do not send exit event twice
Date 2015-11-04 17:00 +0100
Message-ID <qr8DF-2nj-37@gated-at.bofh.it> (permalink)
References <qr7Rf-24F-13@gated-at.bofh.it> <qr8tX-2jQ-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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);
}


> 
> > Link: http://lkml.kernel.org/n/tip-fghxh2gucaa7wyp1edjtvssd@git.kernel.org
> 
> Please fix your script to never emit /n/ links; those are no longer
> appreciated.

will do

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] perf: Do not send exit event twice Jiri Olsa <jolsa@kernel.org> - 2015-11-04 16:10 +0100
  Re: [PATCH] perf: Do not send exit event twice Peter Zijlstra <peterz@infradead.org> - 2015-11-04 16:50 +0100
    Re: [PATCH] perf: Do not send exit event twice Jiri Olsa <jolsa@redhat.com> - 2015-11-04 17:00 +0100
      Re: [PATCH] perf: Do not send exit event twice Peter Zijlstra <peterz@infradead.org> - 2015-11-04 17:10 +0100

csiph-web