There was an error while loading. Please reload this page.
1 parent 66f5995 commit a8cefa4Copy full SHA for a8cefa4
2 files changed
AUTHORS.rst
@@ -1,4 +1,5 @@
1
The following organization or individuals have contributed to TraceCode:
2
3
- nexB Inc.
4
-- Philippe Ombredanne
+- Philippe Ombredanne
5
+- Dong-hee Na
src/tracecode/tracecode.py
@@ -108,13 +108,13 @@ def validate_traces(input_dir):
108
if ts and len(ts) >= 1:
109
ts = float(ts[0])
110
111
- if oldest_ts:
112
- if ts <= oldest_ts:
+ if oldest_ts:
+ if ts <= oldest_ts:
113
+ oldest_ts = ts
114
+ oldest_pid = pid
115
+ else:
116
oldest_ts = ts
117
oldest_pid = pid
- else:
- oldest_ts = ts
- oldest_pid = pid
118
119
# store a process trace by id
120
traces[pid] = path
0 commit comments