lkml.org 
[lkml]   [2016]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 03/10] perf sched timehist: Handle zero sample->tid properly
From
Date
On 12/5/16 7:40 PM, Namhyung Kim wrote:
> Sometimes samples have tid of 0 but non-0 pid. It ends up having a

Any idea how that happens?

> new thread of 0 tid/pid (instead of referring idle task) since tid is
> used to search matching task. But I guess it's wrong to use 0 as a
> tid when pid is set. This patch uses tid only if it has a non-zero
> value or same as pid (of 0).

\
 
 \ /
  Last update: 2016-12-06 04:53    [W:0.170 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site