diff --git a/packages/react-native/ReactCommon/hermes/inspector-modern/chrome/HermesRuntimeTargetDelegate.h b/packages/react-native/ReactCommon/hermes/inspector-modern/chrome/HermesRuntimeTargetDelegate.h index 63662d9df270af..9fc4f9c85a47c4 100644 --- a/packages/react-native/ReactCommon/hermes/inspector-modern/chrome/HermesRuntimeTargetDelegate.h +++ b/packages/react-native/ReactCommon/hermes/inspector-modern/chrome/HermesRuntimeTargetDelegate.h @@ -55,9 +55,7 @@ class HermesRuntimeTargetDelegate : public RuntimeTargetDelegate { size_t framesToSkip) override; void enableSamplingProfiler() override; - void disableSamplingProfiler() override; - tracing::RuntimeSamplingProfile collectSamplingProfile() override; std::optional serializeStackTrace( diff --git a/packages/react-native/ReactCommon/jsinspector-modern/RuntimeTarget.h b/packages/react-native/ReactCommon/jsinspector-modern/RuntimeTarget.h index 451945bad1fab8..61e57959486644 100644 --- a/packages/react-native/ReactCommon/jsinspector-modern/RuntimeTarget.h +++ b/packages/react-native/ReactCommon/jsinspector-modern/RuntimeTarget.h @@ -99,12 +99,10 @@ class RuntimeTargetDelegate { * Start sampling profiler. */ virtual void enableSamplingProfiler() = 0; - /** * Stop sampling profiler. */ virtual void disableSamplingProfiler() = 0; - /** * Return recorded sampling profile for the previous sampling session. */ @@ -148,12 +146,10 @@ class RuntimeTargetController { * Start sampling profiler for the corresponding RuntimeTarget. */ void enableSamplingProfiler(); - /** * Stop sampling profiler for the corresponding RuntimeTarget. */ void disableSamplingProfiler(); - /** * Return recorded sampling profile for the previous sampling session. */ @@ -227,12 +223,10 @@ class JSINSPECTOR_EXPORT RuntimeTarget * Start sampling profiler for a particular JavaScript runtime. */ void enableSamplingProfiler(); - /** * Stop sampling profiler for a particular JavaScript runtime. */ void disableSamplingProfiler(); - /** * Return recorded sampling profile for the previous sampling session. */