diff options
author | Sung Yoon Whang <suwhang@microsoft.com> | 2018-07-22 20:56:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-22 20:56:42 -0700 |
commit | cc96914f80b6873c555d0ed377042537ef99f1af (patch) | |
tree | 026d241960b09179fd5132861763261e1f43f8d4 /src/vm/profattach.h | |
parent | 45f1ec9c4d91733c76868870ff85f2beafabdd39 (diff) | |
download | coreclr-cc96914f80b6873c555d0ed377042537ef99f1af.tar.gz coreclr-cc96914f80b6873c555d0ed377042537ef99f1af.tar.bz2 coreclr-cc96914f80b6873c555d0ed377042537ef99f1af.zip |
Enable profiler attach on Windows (#18762)
* try building clr with prof attach enabled
* define ICLRProfiling interface
* profattach.dll now builds with CreateCLRProfiling export
* remove try catch
* basic attach working now
* build with profiler attach feature only on win
* Fix linux build
* cleanup
* more cleanup
* more cleanup
* remove profattach dll
* remove useless unix exports in mscorwks
* remove profattach from dll cmakelist
* Add back ifdef
* cleanup
* change LINUX to UNIX in clrdefinitions
* Fix broken checked builds
* Remove CLRProfilingClassFactory and metadata.h include from profattach.cpp
* remove useless extern C
* Add this back in
* adding ifndef DACCESS_COMPILE
* Try building with FWD define ICLRProfiling interface
* Test commit - removing additional definition from metahost.h to see if this will pass CI runs
* Address pr comments
Diffstat (limited to 'src/vm/profattach.h')
-rw-r--r-- | src/vm/profattach.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vm/profattach.h b/src/vm/profattach.h index 0a06fae73f..a660606837 100644 --- a/src/vm/profattach.h +++ b/src/vm/profattach.h @@ -18,6 +18,7 @@ #define __PROF_ATTACH_H__ #include "internalunknownimpl.h" +#include "corprof.h" //--------------------------------------------------------------------------------------- // Structure representing the runtime's version. Used to negotiate versions between the @@ -420,6 +421,4 @@ public: }; -HRESULT ICLRProfilingGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv); - #endif // __PROF_ATTACH_H__ |