There was an error while loading. Please reload this page.
1 parent 66f5995 commit 257079eCopy full SHA for 257079e
1 file changed
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