13namespace ETWJITInterface {
21 isolate->v8_file_logger()->SetEtwCodeEventHandler(options);
26 isolate->v8_file_logger()->ResetEtwCodeEventHandler();
30FilterETWSessionByURLResult
32 Isolate* isolate,
const std::string& payload) {
35 DisallowJavascriptExecution no_js(isolate);
36 return isolate->RunFilterETWSessionByURLCallback(payload);
43 isolate->RequestInterrupt(
callback, data);
48 return isolate->heap()->read_only_space()->writable();
52std::optional<Tagged<GcSafeCode>>
55 return isolate->heap()->GcSafeTryFindCodeForInnerPointer(address);
virtual void RequestInterrupt(Isolate *isolate, InterruptCallback callback, void *data)
virtual std::optional< Tagged< GcSafeCode > > HeapGcSafeTryFindCodeForInnerPointer(Isolate *isolate, Address address)
static void SetInstanceForTesting(EtwIsolateOperations *etw_isolate_operations)
virtual bool HeapReadOnlySpaceWritable(Isolate *isolate)
static EtwIsolateOperations * instance
virtual void SetEtwCodeEventHandler(Isolate *isolate, uint32_t options)
virtual FilterETWSessionByURLResult RunFilterETWSessionByURLCallback(Isolate *isolate, const std::string &payload)
virtual void ResetEtwCodeEventHandler(Isolate *isolate)
static EtwIsolateOperations * Instance()
void(*)(Isolate *isolate, void *data) InterruptCallback