code: def test_rpc_vm():
      server = rpc.Server(key="profiling")
      remote = rpc.connect("127.0.0.1", server.port, key="profiling")
  
      mod, params = mlp.get_workload(1)
      exe = relay.vm.compile(mod, "llvm", params=params)
      temp = utils.tempdir()
      path = temp.relpath("lib.tar")
      exe.mod.export_library(path)
      remote.upload(path)
      rexec = remote.load_module("lib.tar")
      vm = profiler_vm.VirtualMachineProfiler(rexec, remote.cpu())
      report = vm.profile(
          tvm.nd.array(
              np.ones((1, 1, 28, 28), dtype="float32"),
              device=remote.cpu(),
          )
      )
      assert len(report.calls) > 0
  
imports: import numpy
  import pytest
  from io import StringIO
  import csv
  import os
  import json
  import platform
  import tvm.testing
  import tvm.utils
  from tvm.runtime import profiler_vm
  from tvm import relay
  from tvm.relay.testing import mlp
  from tvm.contrib.debugger import debug_executor
  from tvm import rpc
  from tvm.contrib import utils
  from tvm.runtime.profiling import Report
  from tvm.script import tir
label_desc: Use image node_id 6 for calling a global function with example usage: test_rpc_vm() without return types