Messages in this thread | | | Date | Wed, 07 May 2014 08:49:04 -0600 | From | David Ahern <> | Subject | Re: [PATCH] perf tools: Use tid for finding thread |
| |
On 5/6/14, 8:26 PM, Namhyung Kim wrote: > I believe that passing pid (instead of tid) as the 3rd arg of the > machine__find*_thread() was to find a main thread so that it can > search proper map group for symbols. However with the map sharing > patch applied, it now can do it in any thread. > > It fixes a bug when each thread has different name, it only reports a > main thread for samples in other threads. > > Cc: Adrian Hunter <adrian.hunter@intel.com> > Cc: David Ahern <dsahern@gmail.com> > Cc: Stephane Eranian <eranian@google.com> > Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: David Ahern <dsahern@gmail.com>
| |