mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Merge branch '4150-fix-entity-renumbering-in-parse_tsan.py' into 'main'
Fix entity renumbering in util/parse_tsan.py Closes #4150 See merge request isc-projects/bind9!8037
This commit is contained in:
commit
a0efcf0e58
@ -110,13 +110,13 @@ with open(sys.argv[1], "r", encoding="utf-8") as f:
|
||||
S.p_index += 1
|
||||
for k, v in S.mutexes.items():
|
||||
r = re.compile(k)
|
||||
line = r.sub("M%s" % v, line)
|
||||
line = r.sub("M{:04d}".format(v), line)
|
||||
for k, v in S.threads.items():
|
||||
r = re.compile(k)
|
||||
line = r.sub("T%s" % v, line)
|
||||
line = r.sub("T{:04d}".format(v), line)
|
||||
for k, v in S.pointers.items():
|
||||
r = re.compile(k)
|
||||
line = r.sub("0x%s" % str(v).zfill(12), line)
|
||||
line = r.sub("0x{:012d}".format(v), line)
|
||||
|
||||
line = STACK.sub("", line)
|
||||
line = PID.sub("", line)
|
||||
|
Loading…
x
Reference in New Issue
Block a user