(
record: Union[AllocationRecord, TemporalAllocationRecord]
)
| 5 | |
| 6 | |
| 7 | def format_thread_name( |
| 8 | record: Union[AllocationRecord, TemporalAllocationRecord] |
| 9 | ) -> str: |
| 10 | if record.tid == -1: |
| 11 | return "merged thread" |
| 12 | name = record.thread_name |
| 13 | thread_id = hex(record.tid) |
| 14 | return f"{thread_id} ({name})" if name else f"{thread_id}" |
no outgoing calls
no test coverage detected
searching dependent graphs…