mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-22 03:00:29 +00:00
Fix hangtraces analyzer
With threadid, the analyzer was failing to collapse identical threads.
This commit is contained in:
@@ -27,7 +27,7 @@ with open(sys.argv[1]) as tracefile:
|
||||
if currtrace not in threadtraces:
|
||||
threadtraces[currtrace] = 0
|
||||
threadtraces[currtrace] += 1
|
||||
currtrace = line
|
||||
currtrace = ''
|
||||
elif currtrace is not None:
|
||||
currtrace += line + '\n'
|
||||
for trace in sorted(threadtraces, key=lambda x: threadtraces[x]):
|
||||
|
Reference in New Issue
Block a user