Re: [PATCH] perf sched latency: Fix removed thread issue

2015-11-03 Thread Jiri Olsa
On Tue, Nov 03, 2015 at 03:33:10PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Nov 03, 2015 at 08:41:48AM +0100, Jiri Olsa escreveu: > > On Mon, Nov 02, 2015 at 07:53:53PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Mon, Nov 02, 2015 at 12:10:25PM +0100, Jiri Olsa escreveu: > > > > If mach

Re: [PATCH] perf sched latency: Fix removed thread issue

2015-11-03 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 03, 2015 at 08:41:48AM +0100, Jiri Olsa escreveu: > On Mon, Nov 02, 2015 at 07:53:53PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Mon, Nov 02, 2015 at 12:10:25PM +0100, Jiri Olsa escreveu: > > > If machine's thread gets excited (EXIT event is received), > > > we set thread->dead = tr

Re: [PATCH] perf sched latency: Fix removed thread issue

2015-11-03 Thread Jiri Olsa
On Tue, Nov 03, 2015 at 07:27:21AM +0900, Namhyung Kim wrote: > On Mon, Nov 02, 2015 at 12:10:25PM +0100, Jiri Olsa wrote: > > If machine's thread gets excited (EXIT event is received), > > Why a thread get *excited* when it received EXIT event? :) wouldn't you? I would.. ;-) jirka -- To unsubsc

Re: [PATCH] perf sched latency: Fix removed thread issue

2015-11-02 Thread Jiri Olsa
On Mon, Nov 02, 2015 at 07:53:53PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Nov 02, 2015 at 12:10:25PM +0100, Jiri Olsa escreveu: > > If machine's thread gets excited (EXIT event is received), > > we set thread->dead = true and it is later on removed from > > machine's tree if the pid is re

Re: [PATCH] perf sched latency: Fix removed thread issue

2015-11-02 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 02, 2015 at 12:10:25PM +0100, Jiri Olsa escreveu: > If machine's thread gets excited (EXIT event is received), > we set thread->dead = true and it is later on removed from > machine's tree if the pid is reused on new thread. > The latency subcommand holds tree of working atoms sorted >

Re: [PATCH] perf sched latency: Fix removed thread issue

2015-11-02 Thread Namhyung Kim
On Mon, Nov 02, 2015 at 12:10:25PM +0100, Jiri Olsa wrote: > If machine's thread gets excited (EXIT event is received), Why a thread get *excited* when it received EXIT event? :) > we set thread->dead = true and it is later on removed from > machine's tree if the pid is reused on new thread. >