aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorLeon Romanovsky <[email protected]>2019-10-10 10:11:05 +0300
committerJason Gunthorpe <[email protected]>2019-10-23 16:02:12 -0300
commitac71ffcfb457a98f0386d682de107ef746bcb60e (patch)
tree0ffcd6f2b94646de798a28533ce2e74269f1987f /tools/perf/scripts/python/bin/export-to-postgresql-report
parentcf7e93c12fbc0f18cbea0571406e302d6904a7ac (diff)
RDMA/core: Check that process is still alive before sending it to the users
The PID information can disappear asynchronously because the task can be killed and moved to zombie state. In this case, PID will be zero in similar way to the kernel tasks. Recognize such situation where we are asking to return orphaned object and simply skip filling PID attribute. As part of this change, document the same scenario in counter.c code. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions