code: def __init__(self, profile_dir_path: str):
      self.profile_dir_path = Path(profile_dir_path)
      self.profile_dir_path.mkdir(exist_ok=True)
      self.profiler_name = "py-spy"
  
file_path: ray/python/ray/dashboard/modules/reporter/profile_manager.py
imports: import asyncio
  import shutil
  import subprocess
  import os
  import sys
  from pathlib import Path
  from typing import Union
  from datetime import datetime
  import logging
label_desc: Use image node_id 1 to create a new CpuProfilingManager object  with example: obj = CpuProfilingManager(profile_dir_path)