python (3.11.7)
    et                        d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl	m
Z
 d dlmZ e
j
        s ej        d          d Zd Z G d d          Z G d	 d
e          Z G d de          Z G d
 d          Z G d deej                  Z G d deej                  Z G d deej                  Z G d deej                  Z G d dej                  Zedk    r ej                     dS dS )    N)support)findfileztest module requires subprocessc                 ^    t           j                            t          | d                    S )N
dtracedata)subdir)ospathabspathr   )filenames    D/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/test/test_dtrace.pyr
   r
      s#    
7??8H\BBBCCC    c                 L   	 t          j        dd|           } 	 d |                                 D             }|                    d            d |D             }d                    |          S # t
          t          f$ r# t          d                    |                     w xY w)	Nz\[[0-9]+ refs\] c                 f    g | ].}||                     d           |                    d          /S )#	)
startswithsplit.0rows     r   
<listcomp>z*normalize_trace_output.<locals>.<listcomp>!   sN     
 
 
 >>#..
IIdOO
 
 
r
   c                 ,    t          | d                   S )Nr   )int)r   s    r   <lambda>z(normalize_trace_output.<locals>.<lambda>&