summaryrefslogtreecommitdiff
path: root/src/vm/eventpipe.h
diff options
context:
space:
mode:
authorVictor "Nate" Graf <nategraf1@gmail.com>2017-09-01 16:19:07 -0700
committerGitHub <noreply@github.com>2017-09-01 16:19:07 -0700
commitbac965ea8d3977a08257ee6758e14ccda34547e3 (patch)
tree33c651e868c628b76d1131e59a79a2dd6559433a /src/vm/eventpipe.h
parentb5fbc8de18444f4f256652b4dca48fcb4e104e40 (diff)
downloadcoreclr-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/eventpipe.h')
-rw-r--r--src/vm/eventpipe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/eventpipe.h b/src/vm/eventpipe.h
index 6ea29ac63b..bac7be6ac8 100644
--- a/src/vm/eventpipe.h
+++ b/src/vm/eventpipe.h
@@ -244,7 +244,7 @@ class EventPipe
static bool Enabled();
// Create a provider.
- static EventPipeProvider* CreateProvider(const GUID &providerID, EventPipeCallback pCallbackFunction = NULL, void *pCallbackData = NULL);
+ static EventPipeProvider* CreateProvider(const SString &providerName, EventPipeCallback pCallbackFunction = NULL, void *pCallbackData = NULL);
// Delete a provider.
static void DeleteProvider(EventPipeProvider *pProvider);
@@ -358,7 +358,7 @@ public:
static void QCALLTYPE Disable();
static INT_PTR QCALLTYPE CreateProvider(
- GUID providerID,
+ __in_z LPCWSTR providerName,
EventPipeCallback pCallbackFunc);
static INT_PTR QCALLTYPE DefineEvent(