fill = natives['internal/v8_prof_polyfill']; const script = `(function(module, require) { ${polyfill} })`; vm.runInContext(script, context)(module, require); const tickProcessor = natives['internal/deps/v8/tools/tickprocessor-driver']; const tickprocessorDriver = new SourceTextModule(tickProcessor, { context }); await tickprocessorDriver.link(linker); await tickprocessorDriver.evaluate(); })();