projects
/
deliverable
/
lttng-analyses.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e910317
)
Fix: set proc name in I/O analysis if previously unknown
author
Antoine Busque
<abusque@efficios.com>
Sat, 20 Feb 2016 00:09:56 +0000
(19:09 -0500)
committer
Antoine Busque
<abusque@efficios.com>
Wed, 24 Feb 2016 23:24:03 +0000
(18:24 -0500)
Signed-off-by: Antoine Busque <abusque@efficios.com>
lttnganalyses/core/io.py
patch
|
blob
|
blame
|
history
diff --git
a/lttnganalyses/core/io.py
b/lttnganalyses/core/io.py
index 7b1980592b551bdafeac14b24703ea6be34d3677..09c2ed8b68e5915968538d4a2413d82bf0d7ff28 100644
(file)
--- a/
lttnganalyses/core/io.py
+++ b/
lttnganalyses/core/io.py
@@
-241,6
+241,13
@@
class IoAnalysis(Analysis):
proc_stats.update_io_stats(io_rq, fd_types)
parent_stats.update_fd_stats(io_rq)
+ # Check if the proc stats comm corresponds to the actual
+ # process comm. It might be that it was missing so far.
+ if proc_stats.comm != proc.comm:
+ proc_stats.comm = proc.comm
+ if parent_stats.comm != parent_proc.comm:
+ parent_stats.comm = parent_proc.comm
+
def _process_create_parent_proc(self, **kwargs):
proc = kwargs['proc']
parent_proc = kwargs['parent_proc']
This page took
0.027552 seconds
and
5
git commands to generate.