code: def maybe_wrap_pytest_function_for_tracing(pyfuncitem):
      """Wrap the given pytestfunct item for tracing support if --trace was given in
      the command line."""
      if pyfuncitem.config.getvalue("trace"):
          wrap_pytest_function_for_tracing(pyfuncitem)
  
imports: import argparse
  import functools
  import os
  import sys
  import types
  import unittest
  from typing import Any
  from typing import Callable
  from typing import Generator
  from typing import List
  from typing import Optional
  from typing import Tuple
  from typing import Type
  from typing import TYPE_CHECKING
  from typing import Union
  from _pytest import outcomes
  from _pytest._code import ExceptionInfo
  from _pytest.config import Config
  from _pytest.config import ConftestImportFailure
  from _pytest.config import hookimpl
  from _pytest.config import PytestPluginManager
  from _pytest.config.argparsing import Parser
  from _pytest.config.exceptions import UsageError
  from _pytest.nodes import Node
  from _pytest.reports import BaseReport
label_desc: Use image node_id 7 for calling a global function with example usage: maybe_wrap_pytest_function_for_tracing(pyfuncitem) without return types