code: def _yield_in_chrome_trace_format(events, pid):
      for event in events:
          yield {
              "cat": event.modname,
              "name": event.filename,
              "ph": "B",
              "ts": event.start_time,
              "pid": pid,
              "tid": event.tid,
              "args": {},
          }
  
          yield {
              "cat": event.modname,
              "name": event.filename,
              "ph": "E",
              "ts": event.end_time,
              "pid": pid,
              "tid": event.tid,
          }
  
imports: import json
  import os
  import library.python.import_tracing.lib.converters.base
label_desc: Use image node_id 1 for calling the ChromiumTraceConverter obj's underlying member method code with example usage: obj._yield_in_chrome_trace_format(events, pid) without return types