class_docstr: This profiler uses Python's cProfiler to record more detailed information about time spent in each function call
  recorded during a given action.
  
  The output is quite verbose and you should only use this if you want very detailed reports.
code: def __reduce__(self) -> Tuple:
      # avoids `TypeError: cannot pickle 'cProfile.Profile' object`
      return (
          self.__class__,
          (),
          {
              "dirpath": self.dirpath,
              "filename": self.filename,
              "line_count_restriction": self.line_count_restriction,
          },
      )
  
file_path: pytorch-lightning/src/lightning/pytorch/profilers/advanced.py
imports: import cProfile
  import io
  import logging
  import pstats
  from pathlib import Path
  from typing import Dict, Optional, Tuple, Union
  from typing_extensions import override
  from lightning.pytorch.profilers.profiler import Profiler
label_desc: Use image node_id 6 for calling the AdvancedProfiler obj's underlying member method code with example usage: obj.__reduce__() and returns: self,  ,  dict