code: def _register_core(name, binary_path, core_path, bt_path, pbt_path):
      config = _get_ya_config()
  
      with _lock:
          if not hasattr(config, "test_cores_count"):
              config.test_cores_count = 0
          config.test_cores_count += 1
          count_str = (
              ""
              if config.test_cores_count == 1
              else str(config.test_cores_count)
          )
  
      log_entry = config.test_logs[config.current_item_nodeid]
      if binary_path:
          log_entry["{} binary{}".format(name, count_str)] = binary_path
      if core_path:
          log_entry["{} core{}".format(name, count_str)] = core_path
      if bt_path:
          log_entry["{} backtrace{}".format(name, count_str)] = bt_path
      if pbt_path:
          log_entry[
              "{} backtrace html{}".format(name, count_str)
          ] = pbt_path
  
imports: import errno
  import functools
  import json
  import os
  import sys
  import threading
  import six
label_desc: Use image node_id 39 for calling a global function with example usage: _register_core(name, binary_path, core_path, bt_path, pbt_path) without return types