RE: [PATCH] perf tools: Fix the logic of thread__fork

2014-02-10 Thread Tony Lu
ter Zijlstra; Paul Mackerras; Ingo Molnar; linux-kernel@vger.kernel.org; >Chris Metcalf >Subject: Re: [PATCH] perf tools: Fix the logic of thread__fork > >Em Mon, Feb 10, 2014 at 04:21:23AM +, Tony Lu escreveu: >> Revert the logic of checking the return value of thread__s

Re: [PATCH] perf tools: Fix the logic of thread__fork

2014-02-10 Thread Arnaldo Carvalho de Melo
Em Mon, Feb 10, 2014 at 04:21:23AM +, Tony Lu escreveu: > Revert the logic of checking the return value of thread__set_comm(). > > If thread__set_comm() returns zero without errors, we should not return > immediately, instead we should finish the rest of the clone work. > Otherwise, perf repor

[PATCH] perf tools: Fix the logic of thread__fork

2014-02-09 Thread Tony Lu
Revert the logic of checking the return value of thread__set_comm(). If thread__set_comm() returns zero without errors, we should not return immediately, instead we should finish the rest of the clone work. Otherwise, perf report would fail to resolve symbols sampled in forked threads. Signed-off