diff options
author | Oleg Nesterov <[email protected]> | 2017-08-22 17:59:28 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-08-25 11:04:17 +0200 |
commit | 1d953111b648e48923171c3c9cf17be2250544fa (patch) | |
tree | b72fe2f9c20633a7de8f0668c5cab85cb515160a /net/lapb/lapb_iface.c | |
parent | 6ae5fa61d27dcb055f4198bcf6c8dbbf1bb33f52 (diff) |
perf/core: Don't report zero PIDs for exiting tasks
The exiting/dead task has no PIDs and in this case perf_event_pid/tid()
return zero, change them to return -1 to distinguish this case from
idle threads.
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Arnaldo Carvalho <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions