diff options
author | Victor "Nate" Graf <nategraf1@gmail.com> | 2017-09-01 16:19:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-01 16:19:07 -0700 |
commit | bac965ea8d3977a08257ee6758e14ccda34547e3 (patch) | |
tree | 33c651e868c628b76d1131e59a79a2dd6559433a /src/vm/eventpipeprovider.h | |
parent | b5fbc8de18444f4f256652b4dca48fcb4e104e40 (diff) | |
download | coreclr-bac965ea8d3977a08257ee6758e14ccda34547e3.tar.gz coreclr-bac965ea8d3977a08257ee6758e14ccda34547e3.tar.bz2 coreclr-bac965ea8d3977a08257ee6758e14ccda34547e3.zip |
Change identifier for EventProviders from GUID to string name (#13370)
* [WIP] Changed event provider to user String identifiers
* [WIP] Remove GUID from generated code
* [WIP] Many small fixes
* [WIP] Fix error in constructing GUID
* Pass EventSource to abstract away GUID/Name references
* Fix various small errors
* Delay construction of SString objects
* Change GUIDs to names
* Change hardcoded GUID strings to names
* Revert testing changes
* Remove extra line
* Use the EventSource name
* Use provider full names
* Use full-names for Rundown
* Bump version number for eventpipe file
* Address review comments
Diffstat (limited to 'src/vm/eventpipeprovider.h')
-rw-r--r-- | src/vm/eventpipeprovider.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/vm/eventpipeprovider.h b/src/vm/eventpipeprovider.h index d2c459ef32..7b92faca72 100644 --- a/src/vm/eventpipeprovider.h +++ b/src/vm/eventpipeprovider.h @@ -34,6 +34,9 @@ private: // The GUID of the provider. GUID m_providerID; + // The name of the provider. + SString m_providerName; + // True if the provider is enabled. bool m_enabled; @@ -61,14 +64,14 @@ private: bool m_deleteDeferred; // Private constructor because all providers are created through EventPipe::CreateProvider. - EventPipeProvider(const GUID &providerID, EventPipeCallback pCallbackFunction = NULL, void *pCallbackData = NULL); + EventPipeProvider(const SString &providerName, EventPipeCallback pCallbackFunction = NULL, void *pCallbackData = NULL); public: ~EventPipeProvider(); - // Get the provider ID. - const GUID& GetProviderID() const; + // Get the provider Name. + const SString& GetProviderName() const; // Determine if the provider is enabled. bool Enabled() const; |