o
    i                     @   s   d Z ddlZddlZddlmZ ddlmZ ddlmZ eeZ	dd Z
e dkr6ejd	ks6e	d
 dS e dkrCe	d dS e
  dS )zCBootstrapping code that is run when using `ddtrace.profiling.auto`.    N)
get_logger)	bootstrap)profilerc                   C   s,   t tdr
tj  t t_tj  d S )Nr   )hasattrr   r   stopProfilerstart r	   r	   ]/home/ubuntu/.local/lib/python3.10/site-packages/ddtrace/profiling/bootstrap/sitecustomize.pystart_profiler   s   


r   Linuxl        zThe Datadog Profiler is not supported on 32-bit Linux systems. To use the profiler, please upgrade to a 64-bit Linux system. If you believe this is an error or need assistance, please report it at https://github.com/DataDog/dd-trace-py/issuesWindowszThe Datadog Profiler is not supported on Windows. To use the profiler, please use a 64-bit Linux or macOS system. If you need assistance related to Windows support for the Profiler, please open a ticket at https://github.com/DataDog/dd-trace-py/issues)__doc__platformsysddtrace.internal.loggerr   ddtrace.profilingr   r   __name__LOGr   systemmaxsizeerrorr	   r	   r	   r
   <module>   s"   
