diff --git a/src/coreclr/inc/corprof.idl b/src/coreclr/inc/corprof.idl index d1c58f96cf97c5..1ff60aa44836e6 100644 --- a/src/coreclr/inc/corprof.idl +++ b/src/coreclr/inc/corprof.idl @@ -2602,7 +2602,7 @@ interface ICorProfilerCallback10 : ICorProfilerCallback9 ] interface ICorProfilerCallback11 : ICorProfilerCallback10 { - HRESULT LoadAsNotficationOnly(BOOL *pbNotificationOnly); + HRESULT LoadAsNotificationOnly(BOOL *pbNotificationOnly); } /* diff --git a/src/coreclr/pal/prebuilt/inc/corprof.h b/src/coreclr/pal/prebuilt/inc/corprof.h index e82623d0c09f0f..196eddb7849fb4 100644 --- a/src/coreclr/pal/prebuilt/inc/corprof.h +++ b/src/coreclr/pal/prebuilt/inc/corprof.h @@ -574,7 +574,7 @@ enum __MIDL___MIDL_itf_corprof_0000_0000_0006 COR_PRF_HIGH_REQUIRE_PROFILE_IMAGE = 0, COR_PRF_HIGH_MONITOR_LARGEOBJECT_ALLOCATED = 0x40, COR_PRF_HIGH_MONITOR_EVENT_PIPE = 0x80, - COR_PRF_HIGH_MONITOR_PINNEDOBJECT_ALLOCATED = 0x100, + COR_PRF_HIGH_MONITOR_PINNEDOBJECT_ALLOCATED = 0x100, COR_PRF_HIGH_ALLOWABLE_AFTER_ATTACH = ( ( ( ( ( COR_PRF_HIGH_IN_MEMORY_SYMBOLS_UPDATED | COR_PRF_HIGH_MONITOR_DYNAMIC_FUNCTION_UNLOADS ) | COR_PRF_HIGH_BASIC_GC ) | COR_PRF_HIGH_MONITOR_GC_MOVED_OBJECTS ) | COR_PRF_HIGH_MONITOR_LARGEOBJECT_ALLOCATED ) | COR_PRF_HIGH_MONITOR_EVENT_PIPE ) , COR_PRF_HIGH_ALLOWABLE_NOTIFICATION_PROFILER = ( ( ( ( ( ( COR_PRF_HIGH_IN_MEMORY_SYMBOLS_UPDATED | COR_PRF_HIGH_MONITOR_DYNAMIC_FUNCTION_UNLOADS ) | COR_PRF_HIGH_DISABLE_TIERED_COMPILATION ) | COR_PRF_HIGH_BASIC_GC ) | COR_PRF_HIGH_MONITOR_GC_MOVED_OBJECTS ) | COR_PRF_HIGH_MONITOR_LARGEOBJECT_ALLOCATED ) | COR_PRF_HIGH_MONITOR_EVENT_PIPE ) , COR_PRF_HIGH_MONITOR_IMMUTABLE = COR_PRF_HIGH_DISABLE_TIERED_COMPILATION @@ -8374,7 +8374,7 @@ EXTERN_C const IID IID_ICorProfilerCallback11; ICorProfilerCallback11 : public ICorProfilerCallback10 { public: - virtual HRESULT STDMETHODCALLTYPE LoadAsNotficationOnly( + virtual HRESULT STDMETHODCALLTYPE LoadAsNotificationOnly( BOOL *pbNotificationOnly) = 0; }; @@ -8844,7 +8844,7 @@ EXTERN_C const IID IID_ICorProfilerCallback11; ICorProfilerCallback11 * This, /* [in] */ EVENTPIPE_PROVIDER provider); - HRESULT ( STDMETHODCALLTYPE *LoadAsNotficationOnly )( + HRESULT ( STDMETHODCALLTYPE *LoadAsNotificationOnly )( ICorProfilerCallback11 * This, BOOL *pbNotificationOnly); @@ -9163,8 +9163,8 @@ EXTERN_C const IID IID_ICorProfilerCallback11; ( (This)->lpVtbl -> EventPipeProviderCreated(This,provider) ) -#define ICorProfilerCallback11_LoadAsNotficationOnly(This,pbNotificationOnly) \ - ( (This)->lpVtbl -> LoadAsNotficationOnly(This,pbNotificationOnly) ) +#define ICorProfilerCallback11_LoadAsNotificationOnly(This,pbNotificationOnly) \ + ( (This)->lpVtbl -> LoadAsNotificationOnly(This,pbNotificationOnly) ) #endif /* COBJMACROS */ diff --git a/src/coreclr/vm/eetoprofinterfaceimpl.cpp b/src/coreclr/vm/eetoprofinterfaceimpl.cpp index 0f48e80e499605..cfe62645dcbd26 100644 --- a/src/coreclr/vm/eetoprofinterfaceimpl.cpp +++ b/src/coreclr/vm/eetoprofinterfaceimpl.cpp @@ -6055,7 +6055,7 @@ HRESULT EEToProfInterfaceImpl::EventPipeProviderCreated(EventPipeProvider *provi #endif // FEATURE_PERFTRACING } -HRESULT EEToProfInterfaceImpl::LoadAsNotficationOnly(BOOL *pbNotificationOnly) +HRESULT EEToProfInterfaceImpl::LoadAsNotificationOnly(BOOL *pbNotificationOnly) { CONTRACTL { @@ -6071,7 +6071,7 @@ HRESULT EEToProfInterfaceImpl::LoadAsNotficationOnly(BOOL *pbNotificationOnly) LOG((LF_CORPROF, LL_INFO1000, - "**PROF: LoadAsNotficationOnly.\n")); + "**PROF: LoadAsNotificationOnly.\n")); if (m_pCallback11 == NULL) { @@ -6079,7 +6079,7 @@ HRESULT EEToProfInterfaceImpl::LoadAsNotficationOnly(BOOL *pbNotificationOnly) return S_OK; } - return m_pCallback11->LoadAsNotficationOnly(pbNotificationOnly); + return m_pCallback11->LoadAsNotificationOnly(pbNotificationOnly); } #endif // PROFILING_SUPPORTED diff --git a/src/coreclr/vm/eetoprofinterfaceimpl.h b/src/coreclr/vm/eetoprofinterfaceimpl.h index 5453723fb8e022..e1259c6c7d7e1a 100644 --- a/src/coreclr/vm/eetoprofinterfaceimpl.h +++ b/src/coreclr/vm/eetoprofinterfaceimpl.h @@ -474,7 +474,7 @@ class EEToProfInterfaceImpl HRESULT EventPipeProviderCreated(EventPipeProvider *provider); - HRESULT LoadAsNotficationOnly(BOOL *pbNotificationOnly); + HRESULT LoadAsNotificationOnly(BOOL *pbNotificationOnly); ProfToEEInterfaceImpl *GetProfToEE() { diff --git a/src/coreclr/vm/profilinghelper.cpp b/src/coreclr/vm/profilinghelper.cpp index 28ba2493f6fbe4..6d610d567e35d8 100644 --- a/src/coreclr/vm/profilinghelper.cpp +++ b/src/coreclr/vm/profilinghelper.cpp @@ -1172,7 +1172,7 @@ HRESULT ProfilingAPIUtility::LoadProfiler( // Check if this profiler is notification only and load as appropriate BOOL notificationOnly = FALSE; { - HRESULT callHr = profilerInfo.pProfInterface->LoadAsNotficationOnly(¬ificationOnly); + HRESULT callHr = profilerInfo.pProfInterface->LoadAsNotificationOnly(¬ificationOnly); if (FAILED(callHr)) { notificationOnly = FALSE; diff --git a/src/tests/profiler/native/multiple/multiple.cpp b/src/tests/profiler/native/multiple/multiple.cpp index 420fe1038dee65..6b8fba571858aa 100644 --- a/src/tests/profiler/native/multiple/multiple.cpp +++ b/src/tests/profiler/native/multiple/multiple.cpp @@ -45,7 +45,7 @@ HRESULT MultiplyLoaded::InitializeForAttach(IUnknown* pICorProfilerInfoUnk, void return InitializeCommon(pICorProfilerInfoUnk); } -HRESULT MultiplyLoaded::LoadAsNotficationOnly(BOOL *pbNotificationOnly) +HRESULT MultiplyLoaded::LoadAsNotificationOnly(BOOL *pbNotificationOnly) { *pbNotificationOnly = TRUE; return S_OK; diff --git a/src/tests/profiler/native/multiple/multiple.h b/src/tests/profiler/native/multiple/multiple.h index 56dc7948ffb384..2979fdbd5d5b19 100644 --- a/src/tests/profiler/native/multiple/multiple.h +++ b/src/tests/profiler/native/multiple/multiple.h @@ -15,7 +15,7 @@ class MultiplyLoaded : public Profiler virtual HRESULT STDMETHODCALLTYPE Initialize(IUnknown* pICorProfilerInfoUnk); virtual HRESULT STDMETHODCALLTYPE InitializeForAttach(IUnknown* pICorProfilerInfoUnk, void* pvClientData, UINT cbClientData); virtual HRESULT STDMETHODCALLTYPE Shutdown(); - virtual HRESULT STDMETHODCALLTYPE LoadAsNotficationOnly(BOOL *pbNotificationOnly); + virtual HRESULT STDMETHODCALLTYPE LoadAsNotificationOnly(BOOL *pbNotificationOnly); virtual HRESULT STDMETHODCALLTYPE ProfilerDetachSucceeded(); virtual HRESULT STDMETHODCALLTYPE ExceptionThrown(ObjectID thrownObjectId); diff --git a/src/tests/profiler/native/profiler.cpp b/src/tests/profiler/native/profiler.cpp index 60eca1852143b6..cfd9f2d8d2c4bc 100644 --- a/src/tests/profiler/native/profiler.cpp +++ b/src/tests/profiler/native/profiler.cpp @@ -535,7 +535,7 @@ HRESULT STDMETHODCALLTYPE Profiler::EventPipeProviderCreated(EVENTPIPE_PROVIDER return S_OK; } -HRESULT STDMETHODCALLTYPE Profiler::LoadAsNotficationOnly(BOOL *pbNotificationOnly) +HRESULT STDMETHODCALLTYPE Profiler::LoadAsNotificationOnly(BOOL *pbNotificationOnly) { *pbNotificationOnly = FALSE; return S_OK; diff --git a/src/tests/profiler/native/profiler.h b/src/tests/profiler/native/profiler.h index 4bcfa1b3e0fb68..fee08ef9af2bc0 100644 --- a/src/tests/profiler/native/profiler.h +++ b/src/tests/profiler/native/profiler.h @@ -213,7 +213,7 @@ class Profiler : public ICorProfilerCallback11 ULONG numStackFrames, UINT_PTR stackFrames[]) override; HRESULT STDMETHODCALLTYPE EventPipeProviderCreated(EVENTPIPE_PROVIDER provider) override; - HRESULT STDMETHODCALLTYPE LoadAsNotficationOnly(BOOL *pbNotificationOnly) override; + HRESULT STDMETHODCALLTYPE LoadAsNotificationOnly(BOOL *pbNotificationOnly) override; HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject) override; ULONG STDMETHODCALLTYPE AddRef(void) override;