diff options
author | Adrian Hunter <[email protected]> | 2014-07-14 13:02:25 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-07-16 17:57:33 -0300 |
commit | 1fcb8768636d38cb6fdfeef83a5ee596c4bd9c56 (patch) | |
tree | ffefb332e8e0e035201fbe4b0f4cef9301ac76d1 /fs/jbd2/commit.c | |
parent | 57608cfd8827a74237d264a197722e2c99f72da4 (diff) |
perf machine: Fix the value used for unknown pids
The value used for unknown pids cannot be zero because that is used by
the "idle" task.
Use -1 instead. Also handle the unknown pid case when creating map
groups.
Note that, threads with an unknown pid should not occur because fork (or
synthesized) events precede the thread's existence.
Signed-off-by: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions