RETAIL_CONFIG_DWORD_INFO(EXTERNAL_ReadyToRun, W("ReadyToRun"), 0, "Enable/disable use of ReadyToRun native code") // Off by default for desktop
#endif
+#if defined(FEATURE_PAL) && defined(FEATURE_EVENT_TRACE)
+RETAIL_CONFIG_DWORD_INFO(EXTERNAL_EnableEventLog, W("EnableEventLog"), 0, "Enable/disable use of EnableEventLogging mechanism ") // Off by default
+#endif //defined(FEATURE_PAL) && defined(FEATURE_EVENT_TRACE)
+
//
// Interop
//
#elif defined(__LINUX__)
+#include "clrconfig.h"
+ class XplatEventLogger
+{
+ public:
+ inline static BOOL IsEventLoggingEnabled()
+ {
+ static ConfigDWORD configEventLogging;
+ return configEventLogging.val(CLRConfig::EXTERNAL_EnableEventLog);
+ }
+};
#include "clrallevents.h"
-
#else
#error "A tracing System has not been enabled for this Platform"
#endif //!FEATURE_PAL
return $clretmEvents;
}
#generates the header file which is used by the VM as entry point to the logging Functions
-sub GenerateclrallEvents
+sub GenerateclrXplatEvents
{
my ($rTemplateNodes,$allTemplatemap,$allAbstractTemplateTypes,$allTemplateVarProps,$alleventname) = @_;
my @rTemplateNodes = @$rTemplateNodes ;
my $templateName = $reventNode->getAttribute('template');
#generate EventEnabled
- $clrallEvents = $clrallEvents."extern \"C\" BOOL EventEnabled$eventName();\n";
+ $clrallEvents = $clrallEvents."extern \"C\" BOOL EventXplatEnabled$eventName();\n";
#generate FireEtw functions
- my $fnptype = "extern \"C\" ULONG FireEtw$eventName(\n";
+ my $fnptype = "extern \"C\" ULONG FireEtXplat$eventName(\n";
my $line = "";
if ($templateName ne '')
{
}
return $clrallEvents;
}
+sub GenerateclrallEvents
+{
+ my ($rTemplateNodes,$allTemplatemap,$allAbstractTemplateTypes,$allTemplateVarProps,$alleventname) = @_;
+ my @rTemplateNodes = @$rTemplateNodes ;
+ my @alleventname = @$alleventname ;
+ my %allTemplatemap = %$allTemplatemap;
+ my %allAbstractTemplateTypes = %$allAbstractTemplateTypes;
+ my %allTemplateVarProps = %$allTemplateVarProps;
+ my $clrallEvents;
+ foreach my $reventNode (@alleventname)
+ {
+ my $eventName = $reventNode->getAttribute('symbol');
+ my $templateName = $reventNode->getAttribute('template');
+
+ #generate EventEnabled
+ $clrallEvents = $clrallEvents."inline BOOL EventEnabled$eventName() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabled$eventName();}\n\n";
+ #generate FireEtw functions
+ my $fnptype = "inline ULONG FireEtw$eventName(\n";
+ my $fnbody = $lindent."if (!EventEnabled$eventName()) {return ERROR_SUCCESS;}\n";
+ my $line = "";
+
+ if ($templateName ne '')
+ {
+ foreach my $subtemplates (@{$allTemplatemap{$templateName}})
+ {
+ my $fnSignature = $allAbstractTemplateTypes{$subtemplates};
+
+ foreach my $params (@$fnSignature)
+ {
+ my $wintypeName = $params->{"type"};
+ my $typewName = $palDataTypeMapping{$wintypeName} || die "no mapping for $wintypeName";
+ my $winCount = $params->{"count"};
+ my $countw = $palDataTypeMapping{$winCount} || die "no mapping for $winCount";
+ $fnptype = $fnptype.$lindent.$typewName.$countw." ";
+ $fnptype = $fnptype.$params->{"var"};
+ $fnptype = $fnptype.",\n";
+ }
+ #fnsignature
+ foreach my $params (@$fnSignature)
+ {
+ $line = $line.$params->{"var"};
+ $line = $line.",";
+ }
+
+ }
+ $line =~ s/,+$//;
+ $fnptype =~ s/,+$//;
+ }
+
+ $fnptype = $fnptype.")\n{\n";
+ $fnbody = $fnbody.$lindent."return FireEtXplat$eventName(".$line.");\n";
+ $fnbody = $fnbody."}\n\n";
+
+ $clrallEvents = $clrallEvents.$fnptype.$fnbody;
+ }
+ return $clrallEvents;
+}
# Generates PAL tests that are used for sanity checking of the Logging Functions
sub GenerateclralltestEvents
{
my ($rTemplateNodes,$allTemplatemap,$allAbstractTemplateTypes,$allTemplateVarProps,$alleventname) = @_;
- my @rTemplateNodes = @$rTemplateNodes ;
- my @alleventname = @$alleventname ;
- my %allTemplatemap = %$allTemplatemap;
+ my @rTemplateNodes = @$rTemplateNodes ;
+ my @alleventname = @$alleventname ;
+ my %allTemplatemap = %$allTemplatemap;
my %allAbstractTemplateTypes = %$allAbstractTemplateTypes;
- my %allTemplateVarProps = %$allTemplateVarProps;
+ my %allTemplateVarProps = %$allTemplateVarProps;
my $clrallTestEvents;
foreach my $reventNode (@alleventname)
{
my $templateName = $reventNode->getAttribute('template');
#generate EventEnabled
- $clrallTestEvents = $clrallTestEvents." EventEnabled$eventName();\n";
+ $clrallTestEvents = $clrallTestEvents." EventXplatEnabled$eventName();\n";
#generate FireEtw functions
- my $fnptype = "Error |= FireEtw$eventName(\n";
+ my $fnptype = "Error |= FireEtXplat$eventName(\n";
my $line="";
if ($templateName ne '')
{
**
**===================================================================*/
#include <palsuite.h>
-#include <clrallevents.h>
+#include <clrxplatevents.h>
typedef struct _Struct1 {
ULONG Data1;
my $sClrEtwAllMan = $_[0]; #the manifest
my $rParser = new XML::DOM::Parser;
my $rClrEtwAllMan = $rParser->parsefile($sClrEtwAllMan);
+ my $clrxplatevents = "$FindBin::Bin/../pal/prebuilt/inc/clrxplatevents.h";
my $clrallevents = "$FindBin::Bin/../pal/prebuilt/inc/clrallevents.h";
my $clretwdummy = "$FindBin::Bin/../pal/prebuilt/inc/etmdummy.h";
my $clralltestevents = "$FindBin::Bin/../pal/tests/palsuite/eventprovider/clralltestevents.cpp";
open(clrallEvents, ">$clrallevents") || die "Cannot open $clrallevents\n";
+ open(clrXplatEvents, ">$clrxplatevents") || die "Cannot open $clrxplatevents\n";
open(clrEtwDummy, ">$clretwdummy") || die "Cannot open $clretwdummy\n";
open(clrallTestEvents, ">$clralltestevents") || die "Cannot open $clrallevents\n";
print clrallEvents $stdprolog;
+ print clrXplatEvents $stdprolog;
print clrEtwDummy $stdprolog;
print clrallTestEvents $stdprolog;
print clrallTestEvents WriteTestProlog();
-
+ print clrallEvents "#include \"clrxplatevents.h\"\n";
+
foreach my $rProviderNode ($rClrEtwAllMan->getElementsByTagName('provider'))
{
my @rTemplateNodes = $rProviderNode->getElementsByTagName('template');
my %allAbstractTemplateTypes = %$allAbstractTemplateTypes;
my %allTemplateVarProps = %$allTemplateVarProps;
-#pal: create clrallevents.h
+#vm header:
print clrallEvents GenerateclrallEvents(\@rTemplateNodes,\%allTemplatemap,\%allAbstractTemplateTypes,\%allTemplateVarProps,\@alleventname);
+#pal: create clrallevents.h
+ print clrXplatEvents GenerateclrXplatEvents(\@rTemplateNodes,\%allTemplatemap,\%allAbstractTemplateTypes,\%allTemplateVarProps,\@alleventname);
+
#pal: create etmdummy.h
print clrEtwDummy GenerateclrEtwDummy(\@rTemplateNodes,\%allTemplatemap,\%allAbstractTemplateTypes,\%allTemplateVarProps,\@alleventname);
print clrallTestEvents WriteTestEpilog();
close(clrallEvents);
+ close(clrXplatEvents);
close(clrallTestEvents);
$rClrEtwAllMan->dispose;
}
my $eventName = $reventNode->getAttribute('symbol');
my $templateName = $reventNode->getAttribute('template');
- #generate EventEnabled
- $lTTngImpl = $lTTngImpl."extern \"C\" BOOL EventEnabled$eventName(){ return TRUE;}\n";
+ #generate EventXplatEnabled
+ $lTTngImpl = $lTTngImpl."extern \"C\" BOOL EventXplatEnabled$eventName(){ return TRUE;}\n";
#generate FireEtw functions
- my $fnptype = "extern \"C\" ULONG FireEtw$eventName(\n";
+ my $fnptype = "extern \"C\" ULONG FireEtXplat$eventName(\n";
my $linefnptype = "";
if ( $templateName ne "")
$lTTngImpl = $lTTngImpl.$fnptype;
#start of fn body
$lTTngImpl = $lTTngImpl.<<FN_PROLOG;
- if (!EventEnabled$eventName()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabled$eventName()){ return ERROR_SUCCESS;};
FN_PROLOG
my $linefnbody = "";
if ($templateName ne '')
my $paramname = $params->{"var"};
$lTTngImpl = $lTTngImpl.<<UTFCODE_INIT;
INT $paramname\_path_size = -1;
- INT $paramname\_full_name_path_size = PAL_wcslen($paramname) + 1;
+ INT $paramname\_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, $paramname, -1, NULL, 0, NULL, NULL );
CHAR* $paramname\_full_name=NULL;
UTFCODE_INIT
}
******************************************************************/
-extern "C" BOOL EventEnabledGCStart();
-extern "C" ULONG FireEtwGCStart(
+#include "clrxplatevents.h"
+inline BOOL EventEnabledGCStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCStart();}
+
+inline ULONG FireEtwGCStart(
const unsigned int Count,
const unsigned int Reason
-);
-extern "C" BOOL EventEnabledGCStart_V1();
-extern "C" ULONG FireEtwGCStart_V1(
+)
+{
+ if (!EventEnabledGCStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCStart(Count,Reason);
+}
+
+inline BOOL EventEnabledGCStart_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCStart_V1();}
+
+inline ULONG FireEtwGCStart_V1(
const unsigned int Count,
const unsigned int Depth,
const unsigned int Reason,
const unsigned int Type,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCStart_V2();
-extern "C" ULONG FireEtwGCStart_V2(
+)
+{
+ if (!EventEnabledGCStart_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCStart_V1(Count,Depth,Reason,Type,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCStart_V2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCStart_V2();}
+
+inline ULONG FireEtwGCStart_V2(
const unsigned int Count,
const unsigned int Depth,
const unsigned int Reason,
const unsigned int Type,
const unsigned short ClrInstanceID,
const unsigned __int64 ClientSequenceNumber
-);
-extern "C" BOOL EventEnabledGCEnd();
-extern "C" ULONG FireEtwGCEnd(
+)
+{
+ if (!EventEnabledGCStart_V2()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCStart_V2(Count,Depth,Reason,Type,ClrInstanceID,ClientSequenceNumber);
+}
+
+inline BOOL EventEnabledGCEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCEnd();}
+
+inline ULONG FireEtwGCEnd(
const unsigned int Count,
const unsigned short Depth
-);
-extern "C" BOOL EventEnabledGCEnd_V1();
-extern "C" ULONG FireEtwGCEnd_V1(
+)
+{
+ if (!EventEnabledGCEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCEnd(Count,Depth);
+}
+
+inline BOOL EventEnabledGCEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCEnd_V1();}
+
+inline ULONG FireEtwGCEnd_V1(
const unsigned int Count,
const unsigned int Depth,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCRestartEEEnd();
-extern "C" ULONG FireEtwGCRestartEEEnd(
-);
-extern "C" BOOL EventEnabledGCRestartEEEnd_V1();
-extern "C" ULONG FireEtwGCRestartEEEnd_V1(
+)
+{
+ if (!EventEnabledGCEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCEnd_V1(Count,Depth,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCRestartEEEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCRestartEEEnd();}
+
+inline ULONG FireEtwGCRestartEEEnd(
+)
+{
+ if (!EventEnabledGCRestartEEEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCRestartEEEnd();
+}
+
+inline BOOL EventEnabledGCRestartEEEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCRestartEEEnd_V1();}
+
+inline ULONG FireEtwGCRestartEEEnd_V1(
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCHeapStats();
-extern "C" ULONG FireEtwGCHeapStats(
+)
+{
+ if (!EventEnabledGCRestartEEEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCRestartEEEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCHeapStats() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCHeapStats();}
+
+inline ULONG FireEtwGCHeapStats(
const unsigned __int64 GenerationSize0,
const unsigned __int64 TotalPromotedSize0,
const unsigned __int64 GenerationSize1,
const unsigned int PinnedObjectCount,
const unsigned int SinkBlockCount,
const unsigned int GCHandleCount
-);
-extern "C" BOOL EventEnabledGCHeapStats_V1();
-extern "C" ULONG FireEtwGCHeapStats_V1(
+)
+{
+ if (!EventEnabledGCHeapStats()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCHeapStats(GenerationSize0,TotalPromotedSize0,GenerationSize1,TotalPromotedSize1,GenerationSize2,TotalPromotedSize2,GenerationSize3,TotalPromotedSize3,FinalizationPromotedSize,FinalizationPromotedCount,PinnedObjectCount,SinkBlockCount,GCHandleCount);
+}
+
+inline BOOL EventEnabledGCHeapStats_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCHeapStats_V1();}
+
+inline ULONG FireEtwGCHeapStats_V1(
const unsigned __int64 GenerationSize0,
const unsigned __int64 TotalPromotedSize0,
const unsigned __int64 GenerationSize1,
const unsigned int SinkBlockCount,
const unsigned int GCHandleCount,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCCreateSegment();
-extern "C" ULONG FireEtwGCCreateSegment(
+)
+{
+ if (!EventEnabledGCHeapStats_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCHeapStats_V1(GenerationSize0,TotalPromotedSize0,GenerationSize1,TotalPromotedSize1,GenerationSize2,TotalPromotedSize2,GenerationSize3,TotalPromotedSize3,FinalizationPromotedSize,FinalizationPromotedCount,PinnedObjectCount,SinkBlockCount,GCHandleCount,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCCreateSegment() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCCreateSegment();}
+
+inline ULONG FireEtwGCCreateSegment(
const unsigned __int64 Address,
const unsigned __int64 Size,
const unsigned int Type
-);
-extern "C" BOOL EventEnabledGCCreateSegment_V1();
-extern "C" ULONG FireEtwGCCreateSegment_V1(
+)
+{
+ if (!EventEnabledGCCreateSegment()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCCreateSegment(Address,Size,Type);
+}
+
+inline BOOL EventEnabledGCCreateSegment_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCCreateSegment_V1();}
+
+inline ULONG FireEtwGCCreateSegment_V1(
const unsigned __int64 Address,
const unsigned __int64 Size,
const unsigned int Type,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCFreeSegment();
-extern "C" ULONG FireEtwGCFreeSegment(
+)
+{
+ if (!EventEnabledGCCreateSegment_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCCreateSegment_V1(Address,Size,Type,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCFreeSegment() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCFreeSegment();}
+
+inline ULONG FireEtwGCFreeSegment(
const unsigned __int64 Address
-);
-extern "C" BOOL EventEnabledGCFreeSegment_V1();
-extern "C" ULONG FireEtwGCFreeSegment_V1(
+)
+{
+ if (!EventEnabledGCFreeSegment()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCFreeSegment(Address);
+}
+
+inline BOOL EventEnabledGCFreeSegment_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCFreeSegment_V1();}
+
+inline ULONG FireEtwGCFreeSegment_V1(
const unsigned __int64 Address,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCRestartEEBegin();
-extern "C" ULONG FireEtwGCRestartEEBegin(
-);
-extern "C" BOOL EventEnabledGCRestartEEBegin_V1();
-extern "C" ULONG FireEtwGCRestartEEBegin_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCSuspendEEEnd();
-extern "C" ULONG FireEtwGCSuspendEEEnd(
-);
-extern "C" BOOL EventEnabledGCSuspendEEEnd_V1();
-extern "C" ULONG FireEtwGCSuspendEEEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCSuspendEEBegin();
-extern "C" ULONG FireEtwGCSuspendEEBegin(
+)
+{
+ if (!EventEnabledGCFreeSegment_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCFreeSegment_V1(Address,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCRestartEEBegin() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCRestartEEBegin();}
+
+inline ULONG FireEtwGCRestartEEBegin(
+)
+{
+ if (!EventEnabledGCRestartEEBegin()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCRestartEEBegin();
+}
+
+inline BOOL EventEnabledGCRestartEEBegin_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCRestartEEBegin_V1();}
+
+inline ULONG FireEtwGCRestartEEBegin_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledGCRestartEEBegin_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCRestartEEBegin_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCSuspendEEEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCSuspendEEEnd();}
+
+inline ULONG FireEtwGCSuspendEEEnd(
+)
+{
+ if (!EventEnabledGCSuspendEEEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCSuspendEEEnd();
+}
+
+inline BOOL EventEnabledGCSuspendEEEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCSuspendEEEnd_V1();}
+
+inline ULONG FireEtwGCSuspendEEEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledGCSuspendEEEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCSuspendEEEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCSuspendEEBegin() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCSuspendEEBegin();}
+
+inline ULONG FireEtwGCSuspendEEBegin(
const unsigned short Reason
-);
-extern "C" BOOL EventEnabledGCSuspendEEBegin_V1();
-extern "C" ULONG FireEtwGCSuspendEEBegin_V1(
+)
+{
+ if (!EventEnabledGCSuspendEEBegin()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCSuspendEEBegin(Reason);
+}
+
+inline BOOL EventEnabledGCSuspendEEBegin_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCSuspendEEBegin_V1();}
+
+inline ULONG FireEtwGCSuspendEEBegin_V1(
const unsigned int Reason,
const unsigned int Count,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCAllocationTick();
-extern "C" ULONG FireEtwGCAllocationTick(
+)
+{
+ if (!EventEnabledGCSuspendEEBegin_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCSuspendEEBegin_V1(Reason,Count,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCAllocationTick() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCAllocationTick();}
+
+inline ULONG FireEtwGCAllocationTick(
const unsigned int AllocationAmount,
const unsigned int AllocationKind
-);
-extern "C" BOOL EventEnabledGCAllocationTick_V1();
-extern "C" ULONG FireEtwGCAllocationTick_V1(
+)
+{
+ if (!EventEnabledGCAllocationTick()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCAllocationTick(AllocationAmount,AllocationKind);
+}
+
+inline BOOL EventEnabledGCAllocationTick_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCAllocationTick_V1();}
+
+inline ULONG FireEtwGCAllocationTick_V1(
const unsigned int AllocationAmount,
const unsigned int AllocationKind,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCAllocationTick_V2();
-extern "C" ULONG FireEtwGCAllocationTick_V2(
+)
+{
+ if (!EventEnabledGCAllocationTick_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCAllocationTick_V1(AllocationAmount,AllocationKind,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCAllocationTick_V2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCAllocationTick_V2();}
+
+inline ULONG FireEtwGCAllocationTick_V2(
const unsigned int AllocationAmount,
const unsigned int AllocationKind,
const unsigned short ClrInstanceID,
const void* TypeID,
PCWSTR TypeName,
const unsigned int HeapIndex
-);
-extern "C" BOOL EventEnabledGCAllocationTick_V3();
-extern "C" ULONG FireEtwGCAllocationTick_V3(
+)
+{
+ if (!EventEnabledGCAllocationTick_V2()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCAllocationTick_V2(AllocationAmount,AllocationKind,ClrInstanceID,AllocationAmount64,TypeID,TypeName,HeapIndex);
+}
+
+inline BOOL EventEnabledGCAllocationTick_V3() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCAllocationTick_V3();}
+
+inline ULONG FireEtwGCAllocationTick_V3(
const unsigned int AllocationAmount,
const unsigned int AllocationKind,
const unsigned short ClrInstanceID,
PCWSTR TypeName,
const unsigned int HeapIndex,
const void* Address
-);
-extern "C" BOOL EventEnabledGCCreateConcurrentThread();
-extern "C" ULONG FireEtwGCCreateConcurrentThread(
-);
-extern "C" BOOL EventEnabledGCCreateConcurrentThread_V1();
-extern "C" ULONG FireEtwGCCreateConcurrentThread_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCTerminateConcurrentThread();
-extern "C" ULONG FireEtwGCTerminateConcurrentThread(
-);
-extern "C" BOOL EventEnabledGCTerminateConcurrentThread_V1();
-extern "C" ULONG FireEtwGCTerminateConcurrentThread_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCFinalizersEnd();
-extern "C" ULONG FireEtwGCFinalizersEnd(
+)
+{
+ if (!EventEnabledGCAllocationTick_V3()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCAllocationTick_V3(AllocationAmount,AllocationKind,ClrInstanceID,AllocationAmount64,TypeID,TypeName,HeapIndex,Address);
+}
+
+inline BOOL EventEnabledGCCreateConcurrentThread() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCCreateConcurrentThread();}
+
+inline ULONG FireEtwGCCreateConcurrentThread(
+)
+{
+ if (!EventEnabledGCCreateConcurrentThread()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCCreateConcurrentThread();
+}
+
+inline BOOL EventEnabledGCCreateConcurrentThread_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCCreateConcurrentThread_V1();}
+
+inline ULONG FireEtwGCCreateConcurrentThread_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledGCCreateConcurrentThread_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCCreateConcurrentThread_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCTerminateConcurrentThread() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCTerminateConcurrentThread();}
+
+inline ULONG FireEtwGCTerminateConcurrentThread(
+)
+{
+ if (!EventEnabledGCTerminateConcurrentThread()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCTerminateConcurrentThread();
+}
+
+inline BOOL EventEnabledGCTerminateConcurrentThread_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCTerminateConcurrentThread_V1();}
+
+inline ULONG FireEtwGCTerminateConcurrentThread_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledGCTerminateConcurrentThread_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCTerminateConcurrentThread_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCFinalizersEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCFinalizersEnd();}
+
+inline ULONG FireEtwGCFinalizersEnd(
const unsigned int Count
-);
-extern "C" BOOL EventEnabledGCFinalizersEnd_V1();
-extern "C" ULONG FireEtwGCFinalizersEnd_V1(
+)
+{
+ if (!EventEnabledGCFinalizersEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCFinalizersEnd(Count);
+}
+
+inline BOOL EventEnabledGCFinalizersEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCFinalizersEnd_V1();}
+
+inline ULONG FireEtwGCFinalizersEnd_V1(
const unsigned int Count,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCFinalizersBegin();
-extern "C" ULONG FireEtwGCFinalizersBegin(
-);
-extern "C" BOOL EventEnabledGCFinalizersBegin_V1();
-extern "C" ULONG FireEtwGCFinalizersBegin_V1(
+)
+{
+ if (!EventEnabledGCFinalizersEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCFinalizersEnd_V1(Count,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCFinalizersBegin() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCFinalizersBegin();}
+
+inline ULONG FireEtwGCFinalizersBegin(
+)
+{
+ if (!EventEnabledGCFinalizersBegin()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCFinalizersBegin();
+}
+
+inline BOOL EventEnabledGCFinalizersBegin_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCFinalizersBegin_V1();}
+
+inline ULONG FireEtwGCFinalizersBegin_V1(
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBulkType();
-extern "C" ULONG FireEtwBulkType(
+)
+{
+ if (!EventEnabledGCFinalizersBegin_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCFinalizersBegin_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledBulkType() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBulkType();}
+
+inline ULONG FireEtwBulkType(
const unsigned int Count,
const unsigned short ClrInstanceID,
const ULONG Arg2_Struct_Len_,
const void* Arg2_Struct_Pointer_
-);
-extern "C" BOOL EventEnabledGCBulkRootEdge();
-extern "C" ULONG FireEtwGCBulkRootEdge(
+)
+{
+ if (!EventEnabledBulkType()) {return ERROR_SUCCESS;}
+ return FireEtXplatBulkType(Count,ClrInstanceID,Arg2_Struct_Len_,Arg2_Struct_Pointer_);
+}
+
+inline BOOL EventEnabledGCBulkRootEdge() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCBulkRootEdge();}
+
+inline ULONG FireEtwGCBulkRootEdge(
const unsigned int Index,
const unsigned int Count,
const unsigned short ClrInstanceID,
const ULONG Arg3_Struct_Len_,
const void* Arg3_Struct_Pointer_
-);
-extern "C" BOOL EventEnabledGCBulkRootConditionalWeakTableElementEdge();
-extern "C" ULONG FireEtwGCBulkRootConditionalWeakTableElementEdge(
+)
+{
+ if (!EventEnabledGCBulkRootEdge()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCBulkRootEdge(Index,Count,ClrInstanceID,Arg3_Struct_Len_,Arg3_Struct_Pointer_);
+}
+
+inline BOOL EventEnabledGCBulkRootConditionalWeakTableElementEdge() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCBulkRootConditionalWeakTableElementEdge();}
+
+inline ULONG FireEtwGCBulkRootConditionalWeakTableElementEdge(
const unsigned int Index,
const unsigned int Count,
const unsigned short ClrInstanceID,
const ULONG Arg3_Struct_Len_,
const void* Arg3_Struct_Pointer_
-);
-extern "C" BOOL EventEnabledGCBulkNode();
-extern "C" ULONG FireEtwGCBulkNode(
+)
+{
+ if (!EventEnabledGCBulkRootConditionalWeakTableElementEdge()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCBulkRootConditionalWeakTableElementEdge(Index,Count,ClrInstanceID,Arg3_Struct_Len_,Arg3_Struct_Pointer_);
+}
+
+inline BOOL EventEnabledGCBulkNode() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCBulkNode();}
+
+inline ULONG FireEtwGCBulkNode(
const unsigned int Index,
const unsigned int Count,
const unsigned short ClrInstanceID,
const ULONG Arg3_Struct_Len_,
const void* Arg3_Struct_Pointer_
-);
-extern "C" BOOL EventEnabledGCBulkEdge();
-extern "C" ULONG FireEtwGCBulkEdge(
+)
+{
+ if (!EventEnabledGCBulkNode()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCBulkNode(Index,Count,ClrInstanceID,Arg3_Struct_Len_,Arg3_Struct_Pointer_);
+}
+
+inline BOOL EventEnabledGCBulkEdge() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCBulkEdge();}
+
+inline ULONG FireEtwGCBulkEdge(
const unsigned int Index,
const unsigned int Count,
const unsigned short ClrInstanceID,
const ULONG Arg3_Struct_Len_,
const void* Arg3_Struct_Pointer_
-);
-extern "C" BOOL EventEnabledGCSampledObjectAllocationHigh();
-extern "C" ULONG FireEtwGCSampledObjectAllocationHigh(
+)
+{
+ if (!EventEnabledGCBulkEdge()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCBulkEdge(Index,Count,ClrInstanceID,Arg3_Struct_Len_,Arg3_Struct_Pointer_);
+}
+
+inline BOOL EventEnabledGCSampledObjectAllocationHigh() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCSampledObjectAllocationHigh();}
+
+inline ULONG FireEtwGCSampledObjectAllocationHigh(
const void* Address,
const void* TypeID,
const unsigned int ObjectCountForTypeSample,
const unsigned __int64 TotalSizeForTypeSample,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCBulkSurvivingObjectRanges();
-extern "C" ULONG FireEtwGCBulkSurvivingObjectRanges(
+)
+{
+ if (!EventEnabledGCSampledObjectAllocationHigh()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCSampledObjectAllocationHigh(Address,TypeID,ObjectCountForTypeSample,TotalSizeForTypeSample,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCBulkSurvivingObjectRanges() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCBulkSurvivingObjectRanges();}
+
+inline ULONG FireEtwGCBulkSurvivingObjectRanges(
const unsigned int Index,
const unsigned int Count,
const unsigned short ClrInstanceID,
const ULONG Arg3_Struct_Len_,
const void* Arg3_Struct_Pointer_
-);
-extern "C" BOOL EventEnabledGCBulkMovedObjectRanges();
-extern "C" ULONG FireEtwGCBulkMovedObjectRanges(
+)
+{
+ if (!EventEnabledGCBulkSurvivingObjectRanges()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCBulkSurvivingObjectRanges(Index,Count,ClrInstanceID,Arg3_Struct_Len_,Arg3_Struct_Pointer_);
+}
+
+inline BOOL EventEnabledGCBulkMovedObjectRanges() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCBulkMovedObjectRanges();}
+
+inline ULONG FireEtwGCBulkMovedObjectRanges(
const unsigned int Index,
const unsigned int Count,
const unsigned short ClrInstanceID,
const ULONG Arg3_Struct_Len_,
const void* Arg3_Struct_Pointer_
-);
-extern "C" BOOL EventEnabledGCGenerationRange();
-extern "C" ULONG FireEtwGCGenerationRange(
+)
+{
+ if (!EventEnabledGCBulkMovedObjectRanges()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCBulkMovedObjectRanges(Index,Count,ClrInstanceID,Arg3_Struct_Len_,Arg3_Struct_Pointer_);
+}
+
+inline BOOL EventEnabledGCGenerationRange() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCGenerationRange();}
+
+inline ULONG FireEtwGCGenerationRange(
const unsigned char Generation,
const void* RangeStart,
const unsigned __int64 RangeUsedLength,
const unsigned __int64 RangeReservedLength,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCMarkStackRoots();
-extern "C" ULONG FireEtwGCMarkStackRoots(
+)
+{
+ if (!EventEnabledGCGenerationRange()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCGenerationRange(Generation,RangeStart,RangeUsedLength,RangeReservedLength,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCMarkStackRoots() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCMarkStackRoots();}
+
+inline ULONG FireEtwGCMarkStackRoots(
const unsigned int HeapNum,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCMarkFinalizeQueueRoots();
-extern "C" ULONG FireEtwGCMarkFinalizeQueueRoots(
+)
+{
+ if (!EventEnabledGCMarkStackRoots()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCMarkStackRoots(HeapNum,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCMarkFinalizeQueueRoots() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCMarkFinalizeQueueRoots();}
+
+inline ULONG FireEtwGCMarkFinalizeQueueRoots(
const unsigned int HeapNum,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCMarkHandles();
-extern "C" ULONG FireEtwGCMarkHandles(
+)
+{
+ if (!EventEnabledGCMarkFinalizeQueueRoots()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCMarkFinalizeQueueRoots(HeapNum,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCMarkHandles() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCMarkHandles();}
+
+inline ULONG FireEtwGCMarkHandles(
const unsigned int HeapNum,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCMarkOlderGenerationRoots();
-extern "C" ULONG FireEtwGCMarkOlderGenerationRoots(
+)
+{
+ if (!EventEnabledGCMarkHandles()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCMarkHandles(HeapNum,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCMarkOlderGenerationRoots() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCMarkOlderGenerationRoots();}
+
+inline ULONG FireEtwGCMarkOlderGenerationRoots(
const unsigned int HeapNum,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledFinalizeObject();
-extern "C" ULONG FireEtwFinalizeObject(
+)
+{
+ if (!EventEnabledGCMarkOlderGenerationRoots()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCMarkOlderGenerationRoots(HeapNum,ClrInstanceID);
+}
+
+inline BOOL EventEnabledFinalizeObject() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFinalizeObject();}
+
+inline ULONG FireEtwFinalizeObject(
const void* TypeID,
const void* ObjectID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledSetGCHandle();
-extern "C" ULONG FireEtwSetGCHandle(
+)
+{
+ if (!EventEnabledFinalizeObject()) {return ERROR_SUCCESS;}
+ return FireEtXplatFinalizeObject(TypeID,ObjectID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledSetGCHandle() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledSetGCHandle();}
+
+inline ULONG FireEtwSetGCHandle(
const void* HandleID,
const void* ObjectID,
const unsigned int Kind,
const unsigned int Generation,
const unsigned __int64 AppDomainID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledDestroyGCHandle();
-extern "C" ULONG FireEtwDestroyGCHandle(
+)
+{
+ if (!EventEnabledSetGCHandle()) {return ERROR_SUCCESS;}
+ return FireEtXplatSetGCHandle(HandleID,ObjectID,Kind,Generation,AppDomainID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledDestroyGCHandle() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDestroyGCHandle();}
+
+inline ULONG FireEtwDestroyGCHandle(
const void* HandleID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCSampledObjectAllocationLow();
-extern "C" ULONG FireEtwGCSampledObjectAllocationLow(
+)
+{
+ if (!EventEnabledDestroyGCHandle()) {return ERROR_SUCCESS;}
+ return FireEtXplatDestroyGCHandle(HandleID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCSampledObjectAllocationLow() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCSampledObjectAllocationLow();}
+
+inline ULONG FireEtwGCSampledObjectAllocationLow(
const void* Address,
const void* TypeID,
const unsigned int ObjectCountForTypeSample,
const unsigned __int64 TotalSizeForTypeSample,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledPinObjectAtGCTime();
-extern "C" ULONG FireEtwPinObjectAtGCTime(
+)
+{
+ if (!EventEnabledGCSampledObjectAllocationLow()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCSampledObjectAllocationLow(Address,TypeID,ObjectCountForTypeSample,TotalSizeForTypeSample,ClrInstanceID);
+}
+
+inline BOOL EventEnabledPinObjectAtGCTime() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledPinObjectAtGCTime();}
+
+inline ULONG FireEtwPinObjectAtGCTime(
const void* HandleID,
const void* ObjectID,
const unsigned __int64 ObjectSize,
PCWSTR TypeName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCTriggered();
-extern "C" ULONG FireEtwGCTriggered(
+)
+{
+ if (!EventEnabledPinObjectAtGCTime()) {return ERROR_SUCCESS;}
+ return FireEtXplatPinObjectAtGCTime(HandleID,ObjectID,ObjectSize,TypeName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCTriggered() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCTriggered();}
+
+inline ULONG FireEtwGCTriggered(
const unsigned int Reason,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCBulkRootCCW();
-extern "C" ULONG FireEtwGCBulkRootCCW(
+)
+{
+ if (!EventEnabledGCTriggered()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCTriggered(Reason,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCBulkRootCCW() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCBulkRootCCW();}
+
+inline ULONG FireEtwGCBulkRootCCW(
const unsigned int Count,
const unsigned short ClrInstanceID,
const ULONG Arg2_Struct_Len_,
const void* Arg2_Struct_Pointer_
-);
-extern "C" BOOL EventEnabledGCBulkRCW();
-extern "C" ULONG FireEtwGCBulkRCW(
+)
+{
+ if (!EventEnabledGCBulkRootCCW()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCBulkRootCCW(Count,ClrInstanceID,Arg2_Struct_Len_,Arg2_Struct_Pointer_);
+}
+
+inline BOOL EventEnabledGCBulkRCW() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCBulkRCW();}
+
+inline ULONG FireEtwGCBulkRCW(
const unsigned int Count,
const unsigned short ClrInstanceID,
const ULONG Arg2_Struct_Len_,
const void* Arg2_Struct_Pointer_
-);
-extern "C" BOOL EventEnabledGCBulkRootStaticVar();
-extern "C" ULONG FireEtwGCBulkRootStaticVar(
+)
+{
+ if (!EventEnabledGCBulkRCW()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCBulkRCW(Count,ClrInstanceID,Arg2_Struct_Len_,Arg2_Struct_Pointer_);
+}
+
+inline BOOL EventEnabledGCBulkRootStaticVar() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCBulkRootStaticVar();}
+
+inline ULONG FireEtwGCBulkRootStaticVar(
const unsigned int Count,
const unsigned __int64 AppDomainID,
const unsigned short ClrInstanceID,
const ULONG Arg3_Struct_Len_,
const void* Arg3_Struct_Pointer_
-);
-extern "C" BOOL EventEnabledWorkerThreadCreate();
-extern "C" ULONG FireEtwWorkerThreadCreate(
+)
+{
+ if (!EventEnabledGCBulkRootStaticVar()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCBulkRootStaticVar(Count,AppDomainID,ClrInstanceID,Arg3_Struct_Len_,Arg3_Struct_Pointer_);
+}
+
+inline BOOL EventEnabledWorkerThreadCreate() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledWorkerThreadCreate();}
+
+inline ULONG FireEtwWorkerThreadCreate(
const unsigned int WorkerThreadCount,
const unsigned int RetiredWorkerThreads
-);
-extern "C" BOOL EventEnabledWorkerThreadTerminate();
-extern "C" ULONG FireEtwWorkerThreadTerminate(
+)
+{
+ if (!EventEnabledWorkerThreadCreate()) {return ERROR_SUCCESS;}
+ return FireEtXplatWorkerThreadCreate(WorkerThreadCount,RetiredWorkerThreads);
+}
+
+inline BOOL EventEnabledWorkerThreadTerminate() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledWorkerThreadTerminate();}
+
+inline ULONG FireEtwWorkerThreadTerminate(
const unsigned int WorkerThreadCount,
const unsigned int RetiredWorkerThreads
-);
-extern "C" BOOL EventEnabledWorkerThreadRetire();
-extern "C" ULONG FireEtwWorkerThreadRetire(
+)
+{
+ if (!EventEnabledWorkerThreadTerminate()) {return ERROR_SUCCESS;}
+ return FireEtXplatWorkerThreadTerminate(WorkerThreadCount,RetiredWorkerThreads);
+}
+
+inline BOOL EventEnabledWorkerThreadRetire() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledWorkerThreadRetire();}
+
+inline ULONG FireEtwWorkerThreadRetire(
const unsigned int WorkerThreadCount,
const unsigned int RetiredWorkerThreads
-);
-extern "C" BOOL EventEnabledWorkerThreadUnretire();
-extern "C" ULONG FireEtwWorkerThreadUnretire(
+)
+{
+ if (!EventEnabledWorkerThreadRetire()) {return ERROR_SUCCESS;}
+ return FireEtXplatWorkerThreadRetire(WorkerThreadCount,RetiredWorkerThreads);
+}
+
+inline BOOL EventEnabledWorkerThreadUnretire() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledWorkerThreadUnretire();}
+
+inline ULONG FireEtwWorkerThreadUnretire(
const unsigned int WorkerThreadCount,
const unsigned int RetiredWorkerThreads
-);
-extern "C" BOOL EventEnabledIOThreadCreate();
-extern "C" ULONG FireEtwIOThreadCreate(
+)
+{
+ if (!EventEnabledWorkerThreadUnretire()) {return ERROR_SUCCESS;}
+ return FireEtXplatWorkerThreadUnretire(WorkerThreadCount,RetiredWorkerThreads);
+}
+
+inline BOOL EventEnabledIOThreadCreate() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledIOThreadCreate();}
+
+inline ULONG FireEtwIOThreadCreate(
const unsigned int IOThreadCount,
const unsigned int RetiredIOThreads
-);
-extern "C" BOOL EventEnabledIOThreadCreate_V1();
-extern "C" ULONG FireEtwIOThreadCreate_V1(
+)
+{
+ if (!EventEnabledIOThreadCreate()) {return ERROR_SUCCESS;}
+ return FireEtXplatIOThreadCreate(IOThreadCount,RetiredIOThreads);
+}
+
+inline BOOL EventEnabledIOThreadCreate_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledIOThreadCreate_V1();}
+
+inline ULONG FireEtwIOThreadCreate_V1(
const unsigned int IOThreadCount,
const unsigned int RetiredIOThreads,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledIOThreadTerminate();
-extern "C" ULONG FireEtwIOThreadTerminate(
+)
+{
+ if (!EventEnabledIOThreadCreate_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatIOThreadCreate_V1(IOThreadCount,RetiredIOThreads,ClrInstanceID);
+}
+
+inline BOOL EventEnabledIOThreadTerminate() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledIOThreadTerminate();}
+
+inline ULONG FireEtwIOThreadTerminate(
const unsigned int IOThreadCount,
const unsigned int RetiredIOThreads
-);
-extern "C" BOOL EventEnabledIOThreadTerminate_V1();
-extern "C" ULONG FireEtwIOThreadTerminate_V1(
+)
+{
+ if (!EventEnabledIOThreadTerminate()) {return ERROR_SUCCESS;}
+ return FireEtXplatIOThreadTerminate(IOThreadCount,RetiredIOThreads);
+}
+
+inline BOOL EventEnabledIOThreadTerminate_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledIOThreadTerminate_V1();}
+
+inline ULONG FireEtwIOThreadTerminate_V1(
const unsigned int IOThreadCount,
const unsigned int RetiredIOThreads,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledIOThreadRetire();
-extern "C" ULONG FireEtwIOThreadRetire(
+)
+{
+ if (!EventEnabledIOThreadTerminate_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatIOThreadTerminate_V1(IOThreadCount,RetiredIOThreads,ClrInstanceID);
+}
+
+inline BOOL EventEnabledIOThreadRetire() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledIOThreadRetire();}
+
+inline ULONG FireEtwIOThreadRetire(
const unsigned int IOThreadCount,
const unsigned int RetiredIOThreads
-);
-extern "C" BOOL EventEnabledIOThreadRetire_V1();
-extern "C" ULONG FireEtwIOThreadRetire_V1(
+)
+{
+ if (!EventEnabledIOThreadRetire()) {return ERROR_SUCCESS;}
+ return FireEtXplatIOThreadRetire(IOThreadCount,RetiredIOThreads);
+}
+
+inline BOOL EventEnabledIOThreadRetire_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledIOThreadRetire_V1();}
+
+inline ULONG FireEtwIOThreadRetire_V1(
const unsigned int IOThreadCount,
const unsigned int RetiredIOThreads,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledIOThreadUnretire();
-extern "C" ULONG FireEtwIOThreadUnretire(
+)
+{
+ if (!EventEnabledIOThreadRetire_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatIOThreadRetire_V1(IOThreadCount,RetiredIOThreads,ClrInstanceID);
+}
+
+inline BOOL EventEnabledIOThreadUnretire() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledIOThreadUnretire();}
+
+inline ULONG FireEtwIOThreadUnretire(
const unsigned int IOThreadCount,
const unsigned int RetiredIOThreads
-);
-extern "C" BOOL EventEnabledIOThreadUnretire_V1();
-extern "C" ULONG FireEtwIOThreadUnretire_V1(
+)
+{
+ if (!EventEnabledIOThreadUnretire()) {return ERROR_SUCCESS;}
+ return FireEtXplatIOThreadUnretire(IOThreadCount,RetiredIOThreads);
+}
+
+inline BOOL EventEnabledIOThreadUnretire_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledIOThreadUnretire_V1();}
+
+inline ULONG FireEtwIOThreadUnretire_V1(
const unsigned int IOThreadCount,
const unsigned int RetiredIOThreads,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadpoolSuspensionSuspendThread();
-extern "C" ULONG FireEtwThreadpoolSuspensionSuspendThread(
+)
+{
+ if (!EventEnabledIOThreadUnretire_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatIOThreadUnretire_V1(IOThreadCount,RetiredIOThreads,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadpoolSuspensionSuspendThread() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadpoolSuspensionSuspendThread();}
+
+inline ULONG FireEtwThreadpoolSuspensionSuspendThread(
const unsigned int ClrThreadID,
const unsigned int CpuUtilization
-);
-extern "C" BOOL EventEnabledThreadpoolSuspensionResumeThread();
-extern "C" ULONG FireEtwThreadpoolSuspensionResumeThread(
+)
+{
+ if (!EventEnabledThreadpoolSuspensionSuspendThread()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadpoolSuspensionSuspendThread(ClrThreadID,CpuUtilization);
+}
+
+inline BOOL EventEnabledThreadpoolSuspensionResumeThread() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadpoolSuspensionResumeThread();}
+
+inline ULONG FireEtwThreadpoolSuspensionResumeThread(
const unsigned int ClrThreadID,
const unsigned int CpuUtilization
-);
-extern "C" BOOL EventEnabledThreadPoolWorkerThreadStart();
-extern "C" ULONG FireEtwThreadPoolWorkerThreadStart(
+)
+{
+ if (!EventEnabledThreadpoolSuspensionResumeThread()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadpoolSuspensionResumeThread(ClrThreadID,CpuUtilization);
+}
+
+inline BOOL EventEnabledThreadPoolWorkerThreadStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadPoolWorkerThreadStart();}
+
+inline ULONG FireEtwThreadPoolWorkerThreadStart(
const unsigned int ActiveWorkerThreadCount,
const unsigned int RetiredWorkerThreadCount,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadPoolWorkerThreadStop();
-extern "C" ULONG FireEtwThreadPoolWorkerThreadStop(
+)
+{
+ if (!EventEnabledThreadPoolWorkerThreadStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadPoolWorkerThreadStart(ActiveWorkerThreadCount,RetiredWorkerThreadCount,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadPoolWorkerThreadStop() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadPoolWorkerThreadStop();}
+
+inline ULONG FireEtwThreadPoolWorkerThreadStop(
const unsigned int ActiveWorkerThreadCount,
const unsigned int RetiredWorkerThreadCount,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadPoolWorkerThreadRetirementStart();
-extern "C" ULONG FireEtwThreadPoolWorkerThreadRetirementStart(
+)
+{
+ if (!EventEnabledThreadPoolWorkerThreadStop()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadPoolWorkerThreadStop(ActiveWorkerThreadCount,RetiredWorkerThreadCount,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadPoolWorkerThreadRetirementStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadPoolWorkerThreadRetirementStart();}
+
+inline ULONG FireEtwThreadPoolWorkerThreadRetirementStart(
const unsigned int ActiveWorkerThreadCount,
const unsigned int RetiredWorkerThreadCount,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadPoolWorkerThreadRetirementStop();
-extern "C" ULONG FireEtwThreadPoolWorkerThreadRetirementStop(
+)
+{
+ if (!EventEnabledThreadPoolWorkerThreadRetirementStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadPoolWorkerThreadRetirementStart(ActiveWorkerThreadCount,RetiredWorkerThreadCount,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadPoolWorkerThreadRetirementStop() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadPoolWorkerThreadRetirementStop();}
+
+inline ULONG FireEtwThreadPoolWorkerThreadRetirementStop(
const unsigned int ActiveWorkerThreadCount,
const unsigned int RetiredWorkerThreadCount,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadPoolWorkerThreadAdjustmentSample();
-extern "C" ULONG FireEtwThreadPoolWorkerThreadAdjustmentSample(
+)
+{
+ if (!EventEnabledThreadPoolWorkerThreadRetirementStop()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadPoolWorkerThreadRetirementStop(ActiveWorkerThreadCount,RetiredWorkerThreadCount,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadPoolWorkerThreadAdjustmentSample() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadPoolWorkerThreadAdjustmentSample();}
+
+inline ULONG FireEtwThreadPoolWorkerThreadAdjustmentSample(
const double Throughput,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadPoolWorkerThreadAdjustmentAdjustment();
-extern "C" ULONG FireEtwThreadPoolWorkerThreadAdjustmentAdjustment(
+)
+{
+ if (!EventEnabledThreadPoolWorkerThreadAdjustmentSample()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadPoolWorkerThreadAdjustmentSample(Throughput,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadPoolWorkerThreadAdjustmentAdjustment() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadPoolWorkerThreadAdjustmentAdjustment();}
+
+inline ULONG FireEtwThreadPoolWorkerThreadAdjustmentAdjustment(
const double AverageThroughput,
const unsigned int NewWorkerThreadCount,
const unsigned int Reason,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadPoolWorkerThreadAdjustmentStats();
-extern "C" ULONG FireEtwThreadPoolWorkerThreadAdjustmentStats(
+)
+{
+ if (!EventEnabledThreadPoolWorkerThreadAdjustmentAdjustment()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadPoolWorkerThreadAdjustmentAdjustment(AverageThroughput,NewWorkerThreadCount,Reason,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadPoolWorkerThreadAdjustmentStats() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadPoolWorkerThreadAdjustmentStats();}
+
+inline ULONG FireEtwThreadPoolWorkerThreadAdjustmentStats(
const double Duration,
const double Throughput,
const double ThreadWave,
const double NewControlSetting,
const unsigned short NewThreadWaveMagnitude,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadPoolWorkerThreadWait();
-extern "C" ULONG FireEtwThreadPoolWorkerThreadWait(
+)
+{
+ if (!EventEnabledThreadPoolWorkerThreadAdjustmentStats()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadPoolWorkerThreadAdjustmentStats(Duration,Throughput,ThreadWave,ThroughputWave,ThroughputErrorEstimate,AverageThroughputErrorEstimate,ThroughputRatio,Confidence,NewControlSetting,NewThreadWaveMagnitude,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadPoolWorkerThreadWait() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadPoolWorkerThreadWait();}
+
+inline ULONG FireEtwThreadPoolWorkerThreadWait(
const unsigned int ActiveWorkerThreadCount,
const unsigned int RetiredWorkerThreadCount,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadPoolWorkingThreadCount();
-extern "C" ULONG FireEtwThreadPoolWorkingThreadCount(
+)
+{
+ if (!EventEnabledThreadPoolWorkerThreadWait()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadPoolWorkerThreadWait(ActiveWorkerThreadCount,RetiredWorkerThreadCount,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadPoolWorkingThreadCount() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadPoolWorkingThreadCount();}
+
+inline ULONG FireEtwThreadPoolWorkingThreadCount(
const unsigned int Count,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadPoolEnqueue();
-extern "C" ULONG FireEtwThreadPoolEnqueue(
+)
+{
+ if (!EventEnabledThreadPoolWorkingThreadCount()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadPoolWorkingThreadCount(Count,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadPoolEnqueue() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadPoolEnqueue();}
+
+inline ULONG FireEtwThreadPoolEnqueue(
const void* WorkID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadPoolDequeue();
-extern "C" ULONG FireEtwThreadPoolDequeue(
+)
+{
+ if (!EventEnabledThreadPoolEnqueue()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadPoolEnqueue(WorkID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadPoolDequeue() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadPoolDequeue();}
+
+inline ULONG FireEtwThreadPoolDequeue(
const void* WorkID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadPoolIOEnqueue();
-extern "C" ULONG FireEtwThreadPoolIOEnqueue(
+)
+{
+ if (!EventEnabledThreadPoolDequeue()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadPoolDequeue(WorkID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadPoolIOEnqueue() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadPoolIOEnqueue();}
+
+inline ULONG FireEtwThreadPoolIOEnqueue(
const void* NativeOverlapped,
const void* Overlapped,
const BOOL MultiDequeues,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadPoolIODequeue();
-extern "C" ULONG FireEtwThreadPoolIODequeue(
+)
+{
+ if (!EventEnabledThreadPoolIOEnqueue()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadPoolIOEnqueue(NativeOverlapped,Overlapped,MultiDequeues,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadPoolIODequeue() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadPoolIODequeue();}
+
+inline ULONG FireEtwThreadPoolIODequeue(
const void* NativeOverlapped,
const void* Overlapped,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadPoolIOPack();
-extern "C" ULONG FireEtwThreadPoolIOPack(
+)
+{
+ if (!EventEnabledThreadPoolIODequeue()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadPoolIODequeue(NativeOverlapped,Overlapped,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadPoolIOPack() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadPoolIOPack();}
+
+inline ULONG FireEtwThreadPoolIOPack(
const void* NativeOverlapped,
const void* Overlapped,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadCreating();
-extern "C" ULONG FireEtwThreadCreating(
+)
+{
+ if (!EventEnabledThreadPoolIOPack()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadPoolIOPack(NativeOverlapped,Overlapped,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadCreating() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadCreating();}
+
+inline ULONG FireEtwThreadCreating(
const void* ID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadRunning();
-extern "C" ULONG FireEtwThreadRunning(
+)
+{
+ if (!EventEnabledThreadCreating()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadCreating(ID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadRunning() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadRunning();}
+
+inline ULONG FireEtwThreadRunning(
const void* ID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledExceptionThrown();
-extern "C" ULONG FireEtwExceptionThrown(
-);
-extern "C" BOOL EventEnabledExceptionThrown_V1();
-extern "C" ULONG FireEtwExceptionThrown_V1(
+)
+{
+ if (!EventEnabledThreadRunning()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadRunning(ID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledExceptionThrown() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledExceptionThrown();}
+
+inline ULONG FireEtwExceptionThrown(
+)
+{
+ if (!EventEnabledExceptionThrown()) {return ERROR_SUCCESS;}
+ return FireEtXplatExceptionThrown();
+}
+
+inline BOOL EventEnabledExceptionThrown_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledExceptionThrown_V1();}
+
+inline ULONG FireEtwExceptionThrown_V1(
PCWSTR ExceptionType,
PCWSTR ExceptionMessage,
const void* ExceptionEIP,
const unsigned int ExceptionHRESULT,
const unsigned short ExceptionFlags,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledExceptionCatchStart();
-extern "C" ULONG FireEtwExceptionCatchStart(
+)
+{
+ if (!EventEnabledExceptionThrown_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatExceptionThrown_V1(ExceptionType,ExceptionMessage,ExceptionEIP,ExceptionHRESULT,ExceptionFlags,ClrInstanceID);
+}
+
+inline BOOL EventEnabledExceptionCatchStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledExceptionCatchStart();}
+
+inline ULONG FireEtwExceptionCatchStart(
const unsigned __int64 EntryEIP,
const unsigned __int64 MethodID,
PCWSTR MethodName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledExceptionCatchStop();
-extern "C" ULONG FireEtwExceptionCatchStop(
-);
-extern "C" BOOL EventEnabledExceptionFinallyStart();
-extern "C" ULONG FireEtwExceptionFinallyStart(
+)
+{
+ if (!EventEnabledExceptionCatchStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatExceptionCatchStart(EntryEIP,MethodID,MethodName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledExceptionCatchStop() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledExceptionCatchStop();}
+
+inline ULONG FireEtwExceptionCatchStop(
+)
+{
+ if (!EventEnabledExceptionCatchStop()) {return ERROR_SUCCESS;}
+ return FireEtXplatExceptionCatchStop();
+}
+
+inline BOOL EventEnabledExceptionFinallyStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledExceptionFinallyStart();}
+
+inline ULONG FireEtwExceptionFinallyStart(
const unsigned __int64 EntryEIP,
const unsigned __int64 MethodID,
PCWSTR MethodName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledExceptionFinallyStop();
-extern "C" ULONG FireEtwExceptionFinallyStop(
-);
-extern "C" BOOL EventEnabledExceptionFilterStart();
-extern "C" ULONG FireEtwExceptionFilterStart(
+)
+{
+ if (!EventEnabledExceptionFinallyStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatExceptionFinallyStart(EntryEIP,MethodID,MethodName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledExceptionFinallyStop() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledExceptionFinallyStop();}
+
+inline ULONG FireEtwExceptionFinallyStop(
+)
+{
+ if (!EventEnabledExceptionFinallyStop()) {return ERROR_SUCCESS;}
+ return FireEtXplatExceptionFinallyStop();
+}
+
+inline BOOL EventEnabledExceptionFilterStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledExceptionFilterStart();}
+
+inline ULONG FireEtwExceptionFilterStart(
const unsigned __int64 EntryEIP,
const unsigned __int64 MethodID,
PCWSTR MethodName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledExceptionFilterStop();
-extern "C" ULONG FireEtwExceptionFilterStop(
-);
-extern "C" BOOL EventEnabledExceptionThrownStop();
-extern "C" ULONG FireEtwExceptionThrownStop(
-);
-extern "C" BOOL EventEnabledContention();
-extern "C" ULONG FireEtwContention(
-);
-extern "C" BOOL EventEnabledContentionStart_V1();
-extern "C" ULONG FireEtwContentionStart_V1(
+)
+{
+ if (!EventEnabledExceptionFilterStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatExceptionFilterStart(EntryEIP,MethodID,MethodName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledExceptionFilterStop() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledExceptionFilterStop();}
+
+inline ULONG FireEtwExceptionFilterStop(
+)
+{
+ if (!EventEnabledExceptionFilterStop()) {return ERROR_SUCCESS;}
+ return FireEtXplatExceptionFilterStop();
+}
+
+inline BOOL EventEnabledExceptionThrownStop() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledExceptionThrownStop();}
+
+inline ULONG FireEtwExceptionThrownStop(
+)
+{
+ if (!EventEnabledExceptionThrownStop()) {return ERROR_SUCCESS;}
+ return FireEtXplatExceptionThrownStop();
+}
+
+inline BOOL EventEnabledContention() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledContention();}
+
+inline ULONG FireEtwContention(
+)
+{
+ if (!EventEnabledContention()) {return ERROR_SUCCESS;}
+ return FireEtXplatContention();
+}
+
+inline BOOL EventEnabledContentionStart_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledContentionStart_V1();}
+
+inline ULONG FireEtwContentionStart_V1(
const unsigned char ContentionFlags,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledContentionStop();
-extern "C" ULONG FireEtwContentionStop(
+)
+{
+ if (!EventEnabledContentionStart_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatContentionStart_V1(ContentionFlags,ClrInstanceID);
+}
+
+inline BOOL EventEnabledContentionStop() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledContentionStop();}
+
+inline ULONG FireEtwContentionStop(
const unsigned char ContentionFlags,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledCLRStackWalk();
-extern "C" ULONG FireEtwCLRStackWalk(
+)
+{
+ if (!EventEnabledContentionStop()) {return ERROR_SUCCESS;}
+ return FireEtXplatContentionStop(ContentionFlags,ClrInstanceID);
+}
+
+inline BOOL EventEnabledCLRStackWalk() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledCLRStackWalk();}
+
+inline ULONG FireEtwCLRStackWalk(
const unsigned short ClrInstanceID,
const unsigned char Reserved1,
const unsigned char Reserved2,
const unsigned int FrameCount,
const void** Stack
-);
-extern "C" BOOL EventEnabledAppDomainMemAllocated();
-extern "C" ULONG FireEtwAppDomainMemAllocated(
+)
+{
+ if (!EventEnabledCLRStackWalk()) {return ERROR_SUCCESS;}
+ return FireEtXplatCLRStackWalk(ClrInstanceID,Reserved1,Reserved2,FrameCount,Stack);
+}
+
+inline BOOL EventEnabledAppDomainMemAllocated() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAppDomainMemAllocated();}
+
+inline ULONG FireEtwAppDomainMemAllocated(
const unsigned __int64 AppDomainID,
const unsigned __int64 Allocated,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledAppDomainMemSurvived();
-extern "C" ULONG FireEtwAppDomainMemSurvived(
+)
+{
+ if (!EventEnabledAppDomainMemAllocated()) {return ERROR_SUCCESS;}
+ return FireEtXplatAppDomainMemAllocated(AppDomainID,Allocated,ClrInstanceID);
+}
+
+inline BOOL EventEnabledAppDomainMemSurvived() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAppDomainMemSurvived();}
+
+inline ULONG FireEtwAppDomainMemSurvived(
const unsigned __int64 AppDomainID,
const unsigned __int64 Survived,
const unsigned __int64 ProcessSurvived,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadCreated();
-extern "C" ULONG FireEtwThreadCreated(
+)
+{
+ if (!EventEnabledAppDomainMemSurvived()) {return ERROR_SUCCESS;}
+ return FireEtXplatAppDomainMemSurvived(AppDomainID,Survived,ProcessSurvived,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadCreated() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadCreated();}
+
+inline ULONG FireEtwThreadCreated(
const unsigned __int64 ManagedThreadID,
const unsigned __int64 AppDomainID,
const unsigned int Flags,
const unsigned int ManagedThreadIndex,
const unsigned int OSThreadID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadTerminated();
-extern "C" ULONG FireEtwThreadTerminated(
+)
+{
+ if (!EventEnabledThreadCreated()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadCreated(ManagedThreadID,AppDomainID,Flags,ManagedThreadIndex,OSThreadID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadTerminated() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadTerminated();}
+
+inline ULONG FireEtwThreadTerminated(
const unsigned __int64 ManagedThreadID,
const unsigned __int64 AppDomainID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadDomainEnter();
-extern "C" ULONG FireEtwThreadDomainEnter(
+)
+{
+ if (!EventEnabledThreadTerminated()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadTerminated(ManagedThreadID,AppDomainID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadDomainEnter() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadDomainEnter();}
+
+inline ULONG FireEtwThreadDomainEnter(
const unsigned __int64 ManagedThreadID,
const unsigned __int64 AppDomainID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledILStubGenerated();
-extern "C" ULONG FireEtwILStubGenerated(
+)
+{
+ if (!EventEnabledThreadDomainEnter()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadDomainEnter(ManagedThreadID,AppDomainID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledILStubGenerated() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledILStubGenerated();}
+
+inline ULONG FireEtwILStubGenerated(
const unsigned short ClrInstanceID,
const unsigned __int64 ModuleID,
const unsigned __int64 StubMethodID,
PCWSTR NativeMethodSignature,
PCWSTR StubMethodSignature,
PCWSTR StubMethodILCode
-);
-extern "C" BOOL EventEnabledILStubCacheHit();
-extern "C" ULONG FireEtwILStubCacheHit(
+)
+{
+ if (!EventEnabledILStubGenerated()) {return ERROR_SUCCESS;}
+ return FireEtXplatILStubGenerated(ClrInstanceID,ModuleID,StubMethodID,StubFlags,ManagedInteropMethodToken,ManagedInteropMethodNamespace,ManagedInteropMethodName,ManagedInteropMethodSignature,NativeMethodSignature,StubMethodSignature,StubMethodILCode);
+}
+
+inline BOOL EventEnabledILStubCacheHit() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledILStubCacheHit();}
+
+inline ULONG FireEtwILStubCacheHit(
const unsigned short ClrInstanceID,
const unsigned __int64 ModuleID,
const unsigned __int64 StubMethodID,
PCWSTR ManagedInteropMethodNamespace,
PCWSTR ManagedInteropMethodName,
PCWSTR ManagedInteropMethodSignature
-);
-extern "C" BOOL EventEnabledDCStartCompleteV2();
-extern "C" ULONG FireEtwDCStartCompleteV2(
-);
-extern "C" BOOL EventEnabledDCEndCompleteV2();
-extern "C" ULONG FireEtwDCEndCompleteV2(
-);
-extern "C" BOOL EventEnabledMethodDCStartV2();
-extern "C" ULONG FireEtwMethodDCStartV2(
+)
+{
+ if (!EventEnabledILStubCacheHit()) {return ERROR_SUCCESS;}
+ return FireEtXplatILStubCacheHit(ClrInstanceID,ModuleID,StubMethodID,ManagedInteropMethodToken,ManagedInteropMethodNamespace,ManagedInteropMethodName,ManagedInteropMethodSignature);
+}
+
+inline BOOL EventEnabledDCStartCompleteV2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDCStartCompleteV2();}
+
+inline ULONG FireEtwDCStartCompleteV2(
+)
+{
+ if (!EventEnabledDCStartCompleteV2()) {return ERROR_SUCCESS;}
+ return FireEtXplatDCStartCompleteV2();
+}
+
+inline BOOL EventEnabledDCEndCompleteV2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDCEndCompleteV2();}
+
+inline ULONG FireEtwDCEndCompleteV2(
+)
+{
+ if (!EventEnabledDCEndCompleteV2()) {return ERROR_SUCCESS;}
+ return FireEtXplatDCEndCompleteV2();
+}
+
+inline BOOL EventEnabledMethodDCStartV2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCStartV2();}
+
+inline ULONG FireEtwMethodDCStartV2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
const unsigned int MethodSize,
const unsigned int MethodToken,
const unsigned int MethodFlags
-);
-extern "C" BOOL EventEnabledMethodDCEndV2();
-extern "C" ULONG FireEtwMethodDCEndV2(
+)
+{
+ if (!EventEnabledMethodDCStartV2()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCStartV2(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags);
+}
+
+inline BOOL EventEnabledMethodDCEndV2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCEndV2();}
+
+inline ULONG FireEtwMethodDCEndV2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
const unsigned int MethodSize,
const unsigned int MethodToken,
const unsigned int MethodFlags
-);
-extern "C" BOOL EventEnabledMethodDCStartVerboseV2();
-extern "C" ULONG FireEtwMethodDCStartVerboseV2(
+)
+{
+ if (!EventEnabledMethodDCEndV2()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCEndV2(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags);
+}
+
+inline BOOL EventEnabledMethodDCStartVerboseV2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCStartVerboseV2();}
+
+inline ULONG FireEtwMethodDCStartVerboseV2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
PCWSTR MethodNamespace,
PCWSTR MethodName,
PCWSTR MethodSignature
-);
-extern "C" BOOL EventEnabledMethodDCEndVerboseV2();
-extern "C" ULONG FireEtwMethodDCEndVerboseV2(
+)
+{
+ if (!EventEnabledMethodDCStartVerboseV2()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCStartVerboseV2(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,MethodNamespace,MethodName,MethodSignature);
+}
+
+inline BOOL EventEnabledMethodDCEndVerboseV2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCEndVerboseV2();}
+
+inline ULONG FireEtwMethodDCEndVerboseV2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
PCWSTR MethodNamespace,
PCWSTR MethodName,
PCWSTR MethodSignature
-);
-extern "C" BOOL EventEnabledMethodLoad();
-extern "C" ULONG FireEtwMethodLoad(
+)
+{
+ if (!EventEnabledMethodDCEndVerboseV2()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCEndVerboseV2(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,MethodNamespace,MethodName,MethodSignature);
+}
+
+inline BOOL EventEnabledMethodLoad() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodLoad();}
+
+inline ULONG FireEtwMethodLoad(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
const unsigned int MethodSize,
const unsigned int MethodToken,
const unsigned int MethodFlags
-);
-extern "C" BOOL EventEnabledMethodLoad_V1();
-extern "C" ULONG FireEtwMethodLoad_V1(
+)
+{
+ if (!EventEnabledMethodLoad()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodLoad(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags);
+}
+
+inline BOOL EventEnabledMethodLoad_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodLoad_V1();}
+
+inline ULONG FireEtwMethodLoad_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
const unsigned int MethodToken,
const unsigned int MethodFlags,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMethodLoad_V2();
-extern "C" ULONG FireEtwMethodLoad_V2(
+)
+{
+ if (!EventEnabledMethodLoad_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodLoad_V1(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,ClrInstanceID);
+}
+
+inline BOOL EventEnabledMethodLoad_V2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodLoad_V2();}
+
+inline ULONG FireEtwMethodLoad_V2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
const unsigned int MethodFlags,
const unsigned short ClrInstanceID,
const unsigned __int64 ReJITID
-);
-extern "C" BOOL EventEnabledMethodUnload();
-extern "C" ULONG FireEtwMethodUnload(
+)
+{
+ if (!EventEnabledMethodLoad_V2()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodLoad_V2(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,ClrInstanceID,ReJITID);
+}
+
+inline BOOL EventEnabledMethodUnload() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodUnload();}
+
+inline ULONG FireEtwMethodUnload(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
const unsigned int MethodSize,
const unsigned int MethodToken,
const unsigned int MethodFlags
-);
-extern "C" BOOL EventEnabledMethodUnload_V1();
-extern "C" ULONG FireEtwMethodUnload_V1(
+)
+{
+ if (!EventEnabledMethodUnload()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodUnload(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags);
+}
+
+inline BOOL EventEnabledMethodUnload_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodUnload_V1();}
+
+inline ULONG FireEtwMethodUnload_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
const unsigned int MethodToken,
const unsigned int MethodFlags,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMethodUnload_V2();
-extern "C" ULONG FireEtwMethodUnload_V2(
+)
+{
+ if (!EventEnabledMethodUnload_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodUnload_V1(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,ClrInstanceID);
+}
+
+inline BOOL EventEnabledMethodUnload_V2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodUnload_V2();}
+
+inline ULONG FireEtwMethodUnload_V2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
const unsigned int MethodFlags,
const unsigned short ClrInstanceID,
const unsigned __int64 ReJITID
-);
-extern "C" BOOL EventEnabledMethodLoadVerbose();
-extern "C" ULONG FireEtwMethodLoadVerbose(
+)
+{
+ if (!EventEnabledMethodUnload_V2()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodUnload_V2(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,ClrInstanceID,ReJITID);
+}
+
+inline BOOL EventEnabledMethodLoadVerbose() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodLoadVerbose();}
+
+inline ULONG FireEtwMethodLoadVerbose(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
PCWSTR MethodNamespace,
PCWSTR MethodName,
PCWSTR MethodSignature
-);
-extern "C" BOOL EventEnabledMethodLoadVerbose_V1();
-extern "C" ULONG FireEtwMethodLoadVerbose_V1(
+)
+{
+ if (!EventEnabledMethodLoadVerbose()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodLoadVerbose(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,MethodNamespace,MethodName,MethodSignature);
+}
+
+inline BOOL EventEnabledMethodLoadVerbose_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodLoadVerbose_V1();}
+
+inline ULONG FireEtwMethodLoadVerbose_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
PCWSTR MethodName,
PCWSTR MethodSignature,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMethodLoadVerbose_V2();
-extern "C" ULONG FireEtwMethodLoadVerbose_V2(
+)
+{
+ if (!EventEnabledMethodLoadVerbose_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodLoadVerbose_V1(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,MethodNamespace,MethodName,MethodSignature,ClrInstanceID);
+}
+
+inline BOOL EventEnabledMethodLoadVerbose_V2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodLoadVerbose_V2();}
+
+inline ULONG FireEtwMethodLoadVerbose_V2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
PCWSTR MethodSignature,
const unsigned short ClrInstanceID,
const unsigned __int64 ReJITID
-);
-extern "C" BOOL EventEnabledMethodUnloadVerbose();
-extern "C" ULONG FireEtwMethodUnloadVerbose(
+)
+{
+ if (!EventEnabledMethodLoadVerbose_V2()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodLoadVerbose_V2(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,MethodNamespace,MethodName,MethodSignature,ClrInstanceID,ReJITID);
+}
+
+inline BOOL EventEnabledMethodUnloadVerbose() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodUnloadVerbose();}
+
+inline ULONG FireEtwMethodUnloadVerbose(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
PCWSTR MethodNamespace,
PCWSTR MethodName,
PCWSTR MethodSignature
-);
-extern "C" BOOL EventEnabledMethodUnloadVerbose_V1();
-extern "C" ULONG FireEtwMethodUnloadVerbose_V1(
+)
+{
+ if (!EventEnabledMethodUnloadVerbose()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodUnloadVerbose(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,MethodNamespace,MethodName,MethodSignature);
+}
+
+inline BOOL EventEnabledMethodUnloadVerbose_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodUnloadVerbose_V1();}
+
+inline ULONG FireEtwMethodUnloadVerbose_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
PCWSTR MethodName,
PCWSTR MethodSignature,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMethodUnloadVerbose_V2();
-extern "C" ULONG FireEtwMethodUnloadVerbose_V2(
+)
+{
+ if (!EventEnabledMethodUnloadVerbose_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodUnloadVerbose_V1(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,MethodNamespace,MethodName,MethodSignature,ClrInstanceID);
+}
+
+inline BOOL EventEnabledMethodUnloadVerbose_V2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodUnloadVerbose_V2();}
+
+inline ULONG FireEtwMethodUnloadVerbose_V2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
PCWSTR MethodSignature,
const unsigned short ClrInstanceID,
const unsigned __int64 ReJITID
-);
-extern "C" BOOL EventEnabledMethodJittingStarted();
-extern "C" ULONG FireEtwMethodJittingStarted(
+)
+{
+ if (!EventEnabledMethodUnloadVerbose_V2()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodUnloadVerbose_V2(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,MethodNamespace,MethodName,MethodSignature,ClrInstanceID,ReJITID);
+}
+
+inline BOOL EventEnabledMethodJittingStarted() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodJittingStarted();}
+
+inline ULONG FireEtwMethodJittingStarted(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned int MethodToken,
PCWSTR MethodNamespace,
PCWSTR MethodName,
PCWSTR MethodSignature
-);
-extern "C" BOOL EventEnabledMethodJittingStarted_V1();
-extern "C" ULONG FireEtwMethodJittingStarted_V1(
+)
+{
+ if (!EventEnabledMethodJittingStarted()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodJittingStarted(MethodID,ModuleID,MethodToken,MethodILSize,MethodNamespace,MethodName,MethodSignature);
+}
+
+inline BOOL EventEnabledMethodJittingStarted_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodJittingStarted_V1();}
+
+inline ULONG FireEtwMethodJittingStarted_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned int MethodToken,
PCWSTR MethodName,
PCWSTR MethodSignature,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMethodJitInliningSucceeded();
-extern "C" ULONG FireEtwMethodJitInliningSucceeded(
+)
+{
+ if (!EventEnabledMethodJittingStarted_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodJittingStarted_V1(MethodID,ModuleID,MethodToken,MethodILSize,MethodNamespace,MethodName,MethodSignature,ClrInstanceID);
+}
+
+inline BOOL EventEnabledMethodJitInliningSucceeded() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodJitInliningSucceeded();}
+
+inline ULONG FireEtwMethodJitInliningSucceeded(
PCWSTR MethodBeingCompiledNamespace,
PCWSTR MethodBeingCompiledName,
PCWSTR MethodBeingCompiledNameSignature,
PCWSTR InlineeName,
PCWSTR InlineeNameSignature,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMethodJitInliningFailed();
-extern "C" ULONG FireEtwMethodJitInliningFailed(
+)
+{
+ if (!EventEnabledMethodJitInliningSucceeded()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodJitInliningSucceeded(MethodBeingCompiledNamespace,MethodBeingCompiledName,MethodBeingCompiledNameSignature,InlinerNamespace,InlinerName,InlinerNameSignature,InlineeNamespace,InlineeName,InlineeNameSignature,ClrInstanceID);
+}
+
+inline BOOL EventEnabledMethodJitInliningFailed() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodJitInliningFailed();}
+
+inline ULONG FireEtwMethodJitInliningFailed(
PCWSTR MethodBeingCompiledNamespace,
PCWSTR MethodBeingCompiledName,
PCWSTR MethodBeingCompiledNameSignature,
const BOOL FailAlways,
LPCSTR FailReason,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMethodJitTailCallSucceeded();
-extern "C" ULONG FireEtwMethodJitTailCallSucceeded(
+)
+{
+ if (!EventEnabledMethodJitInliningFailed()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodJitInliningFailed(MethodBeingCompiledNamespace,MethodBeingCompiledName,MethodBeingCompiledNameSignature,InlinerNamespace,InlinerName,InlinerNameSignature,InlineeNamespace,InlineeName,InlineeNameSignature,FailAlways,FailReason,ClrInstanceID);
+}
+
+inline BOOL EventEnabledMethodJitTailCallSucceeded() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodJitTailCallSucceeded();}
+
+inline ULONG FireEtwMethodJitTailCallSucceeded(
PCWSTR MethodBeingCompiledNamespace,
PCWSTR MethodBeingCompiledName,
PCWSTR MethodBeingCompiledNameSignature,
const BOOL TailPrefix,
const unsigned int TailCallType,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMethodJitTailCallFailed();
-extern "C" ULONG FireEtwMethodJitTailCallFailed(
- PCWSTR MethodBeingCompiledNamespace,
+)
+{
+ if (!EventEnabledMethodJitTailCallSucceeded()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodJitTailCallSucceeded(MethodBeingCompiledNamespace,MethodBeingCompiledName,MethodBeingCompiledNameSignature,CallerNamespace,CallerName,CallerNameSignature,CalleeNamespace,CalleeName,CalleeNameSignature,TailPrefix,TailCallType,ClrInstanceID);
+}
+
+inline BOOL EventEnabledMethodJitTailCallFailed() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodJitTailCallFailed();}
+
+inline ULONG FireEtwMethodJitTailCallFailed(
+ PCWSTR MethodBeingCompiledNamespace,
PCWSTR MethodBeingCompiledName,
PCWSTR MethodBeingCompiledNameSignature,
PCWSTR CallerNamespace,
const BOOL TailPrefix,
LPCSTR FailReason,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMethodILToNativeMap();
-extern "C" ULONG FireEtwMethodILToNativeMap(
+)
+{
+ if (!EventEnabledMethodJitTailCallFailed()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodJitTailCallFailed(MethodBeingCompiledNamespace,MethodBeingCompiledName,MethodBeingCompiledNameSignature,CallerNamespace,CallerName,CallerNameSignature,CalleeNamespace,CalleeName,CalleeNameSignature,TailPrefix,FailReason,ClrInstanceID);
+}
+
+inline BOOL EventEnabledMethodILToNativeMap() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodILToNativeMap();}
+
+inline ULONG FireEtwMethodILToNativeMap(
const unsigned __int64 MethodID,
const unsigned __int64 ReJITID,
const unsigned char MethodExtent,
const unsigned int* ILOffsets,
const unsigned int* NativeOffsets,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledModuleDCStartV2();
-extern "C" ULONG FireEtwModuleDCStartV2(
+)
+{
+ if (!EventEnabledMethodILToNativeMap()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodILToNativeMap(MethodID,ReJITID,MethodExtent,CountOfMapEntries,ILOffsets,NativeOffsets,ClrInstanceID);
+}
+
+inline BOOL EventEnabledModuleDCStartV2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleDCStartV2();}
+
+inline ULONG FireEtwModuleDCStartV2(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
const unsigned int Reserved1,
PCWSTR ModuleILPath,
PCWSTR ModuleNativePath
-);
-extern "C" BOOL EventEnabledModuleDCEndV2();
-extern "C" ULONG FireEtwModuleDCEndV2(
+)
+{
+ if (!EventEnabledModuleDCStartV2()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleDCStartV2(ModuleID,AssemblyID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath);
+}
+
+inline BOOL EventEnabledModuleDCEndV2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleDCEndV2();}
+
+inline ULONG FireEtwModuleDCEndV2(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
const unsigned int Reserved1,
PCWSTR ModuleILPath,
PCWSTR ModuleNativePath
-);
-extern "C" BOOL EventEnabledDomainModuleLoad();
-extern "C" ULONG FireEtwDomainModuleLoad(
+)
+{
+ if (!EventEnabledModuleDCEndV2()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleDCEndV2(ModuleID,AssemblyID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath);
+}
+
+inline BOOL EventEnabledDomainModuleLoad() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDomainModuleLoad();}
+
+inline ULONG FireEtwDomainModuleLoad(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned int Reserved1,
PCWSTR ModuleILPath,
PCWSTR ModuleNativePath
-);
-extern "C" BOOL EventEnabledDomainModuleLoad_V1();
-extern "C" ULONG FireEtwDomainModuleLoad_V1(
+)
+{
+ if (!EventEnabledDomainModuleLoad()) {return ERROR_SUCCESS;}
+ return FireEtXplatDomainModuleLoad(ModuleID,AssemblyID,AppDomainID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath);
+}
+
+inline BOOL EventEnabledDomainModuleLoad_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDomainModuleLoad_V1();}
+
+inline ULONG FireEtwDomainModuleLoad_V1(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
PCWSTR ModuleILPath,
PCWSTR ModuleNativePath,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledModuleLoad();
-extern "C" ULONG FireEtwModuleLoad(
+)
+{
+ if (!EventEnabledDomainModuleLoad_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatDomainModuleLoad_V1(ModuleID,AssemblyID,AppDomainID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath,ClrInstanceID);
+}
+
+inline BOOL EventEnabledModuleLoad() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleLoad();}
+
+inline ULONG FireEtwModuleLoad(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
const unsigned int Reserved1,
PCWSTR ModuleILPath,
PCWSTR ModuleNativePath
-);
-extern "C" BOOL EventEnabledModuleLoad_V1();
-extern "C" ULONG FireEtwModuleLoad_V1(
+)
+{
+ if (!EventEnabledModuleLoad()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleLoad(ModuleID,AssemblyID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath);
+}
+
+inline BOOL EventEnabledModuleLoad_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleLoad_V1();}
+
+inline ULONG FireEtwModuleLoad_V1(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
PCWSTR ModuleILPath,
PCWSTR ModuleNativePath,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledModuleLoad_V2();
-extern "C" ULONG FireEtwModuleLoad_V2(
+)
+{
+ if (!EventEnabledModuleLoad_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleLoad_V1(ModuleID,AssemblyID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath,ClrInstanceID);
+}
+
+inline BOOL EventEnabledModuleLoad_V2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleLoad_V2();}
+
+inline ULONG FireEtwModuleLoad_V2(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
const GUID* NativePdbSignature,
const unsigned int NativePdbAge,
PCWSTR NativePdbBuildPath
-);
-extern "C" BOOL EventEnabledModuleUnload();
-extern "C" ULONG FireEtwModuleUnload(
+)
+{
+ if (!EventEnabledModuleLoad_V2()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleLoad_V2(ModuleID,AssemblyID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath,ClrInstanceID,ManagedPdbSignature,ManagedPdbAge,ManagedPdbBuildPath,NativePdbSignature,NativePdbAge,NativePdbBuildPath);
+}
+
+inline BOOL EventEnabledModuleUnload() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleUnload();}
+
+inline ULONG FireEtwModuleUnload(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
const unsigned int Reserved1,
PCWSTR ModuleILPath,
PCWSTR ModuleNativePath
-);
-extern "C" BOOL EventEnabledModuleUnload_V1();
-extern "C" ULONG FireEtwModuleUnload_V1(
+)
+{
+ if (!EventEnabledModuleUnload()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleUnload(ModuleID,AssemblyID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath);
+}
+
+inline BOOL EventEnabledModuleUnload_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleUnload_V1();}
+
+inline ULONG FireEtwModuleUnload_V1(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
PCWSTR ModuleILPath,
PCWSTR ModuleNativePath,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledModuleUnload_V2();
-extern "C" ULONG FireEtwModuleUnload_V2(
+)
+{
+ if (!EventEnabledModuleUnload_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleUnload_V1(ModuleID,AssemblyID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath,ClrInstanceID);
+}
+
+inline BOOL EventEnabledModuleUnload_V2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleUnload_V2();}
+
+inline ULONG FireEtwModuleUnload_V2(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
const GUID* NativePdbSignature,
const unsigned int NativePdbAge,
PCWSTR NativePdbBuildPath
-);
-extern "C" BOOL EventEnabledAssemblyLoad();
-extern "C" ULONG FireEtwAssemblyLoad(
+)
+{
+ if (!EventEnabledModuleUnload_V2()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleUnload_V2(ModuleID,AssemblyID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath,ClrInstanceID,ManagedPdbSignature,ManagedPdbAge,ManagedPdbBuildPath,NativePdbSignature,NativePdbAge,NativePdbBuildPath);
+}
+
+inline BOOL EventEnabledAssemblyLoad() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAssemblyLoad();}
+
+inline ULONG FireEtwAssemblyLoad(
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned int AssemblyFlags,
PCWSTR FullyQualifiedAssemblyName
-);
-extern "C" BOOL EventEnabledAssemblyLoad_V1();
-extern "C" ULONG FireEtwAssemblyLoad_V1(
+)
+{
+ if (!EventEnabledAssemblyLoad()) {return ERROR_SUCCESS;}
+ return FireEtXplatAssemblyLoad(AssemblyID,AppDomainID,AssemblyFlags,FullyQualifiedAssemblyName);
+}
+
+inline BOOL EventEnabledAssemblyLoad_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAssemblyLoad_V1();}
+
+inline ULONG FireEtwAssemblyLoad_V1(
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned __int64 BindingID,
const unsigned int AssemblyFlags,
PCWSTR FullyQualifiedAssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledAssemblyUnload();
-extern "C" ULONG FireEtwAssemblyUnload(
+)
+{
+ if (!EventEnabledAssemblyLoad_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatAssemblyLoad_V1(AssemblyID,AppDomainID,BindingID,AssemblyFlags,FullyQualifiedAssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledAssemblyUnload() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAssemblyUnload();}
+
+inline ULONG FireEtwAssemblyUnload(
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned int AssemblyFlags,
PCWSTR FullyQualifiedAssemblyName
-);
-extern "C" BOOL EventEnabledAssemblyUnload_V1();
-extern "C" ULONG FireEtwAssemblyUnload_V1(
+)
+{
+ if (!EventEnabledAssemblyUnload()) {return ERROR_SUCCESS;}
+ return FireEtXplatAssemblyUnload(AssemblyID,AppDomainID,AssemblyFlags,FullyQualifiedAssemblyName);
+}
+
+inline BOOL EventEnabledAssemblyUnload_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAssemblyUnload_V1();}
+
+inline ULONG FireEtwAssemblyUnload_V1(
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned __int64 BindingID,
const unsigned int AssemblyFlags,
PCWSTR FullyQualifiedAssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledAppDomainLoad();
-extern "C" ULONG FireEtwAppDomainLoad(
+)
+{
+ if (!EventEnabledAssemblyUnload_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatAssemblyUnload_V1(AssemblyID,AppDomainID,BindingID,AssemblyFlags,FullyQualifiedAssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledAppDomainLoad() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAppDomainLoad();}
+
+inline ULONG FireEtwAppDomainLoad(
const unsigned __int64 AppDomainID,
const unsigned int AppDomainFlags,
PCWSTR AppDomainName
-);
-extern "C" BOOL EventEnabledAppDomainLoad_V1();
-extern "C" ULONG FireEtwAppDomainLoad_V1(
+)
+{
+ if (!EventEnabledAppDomainLoad()) {return ERROR_SUCCESS;}
+ return FireEtXplatAppDomainLoad(AppDomainID,AppDomainFlags,AppDomainName);
+}
+
+inline BOOL EventEnabledAppDomainLoad_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAppDomainLoad_V1();}
+
+inline ULONG FireEtwAppDomainLoad_V1(
const unsigned __int64 AppDomainID,
const unsigned int AppDomainFlags,
PCWSTR AppDomainName,
const unsigned int AppDomainIndex,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledAppDomainUnload();
-extern "C" ULONG FireEtwAppDomainUnload(
+)
+{
+ if (!EventEnabledAppDomainLoad_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatAppDomainLoad_V1(AppDomainID,AppDomainFlags,AppDomainName,AppDomainIndex,ClrInstanceID);
+}
+
+inline BOOL EventEnabledAppDomainUnload() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAppDomainUnload();}
+
+inline ULONG FireEtwAppDomainUnload(
const unsigned __int64 AppDomainID,
const unsigned int AppDomainFlags,
PCWSTR AppDomainName
-);
-extern "C" BOOL EventEnabledAppDomainUnload_V1();
-extern "C" ULONG FireEtwAppDomainUnload_V1(
+)
+{
+ if (!EventEnabledAppDomainUnload()) {return ERROR_SUCCESS;}
+ return FireEtXplatAppDomainUnload(AppDomainID,AppDomainFlags,AppDomainName);
+}
+
+inline BOOL EventEnabledAppDomainUnload_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAppDomainUnload_V1();}
+
+inline ULONG FireEtwAppDomainUnload_V1(
const unsigned __int64 AppDomainID,
const unsigned int AppDomainFlags,
PCWSTR AppDomainName,
const unsigned int AppDomainIndex,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledModuleRangeLoad();
-extern "C" ULONG FireEtwModuleRangeLoad(
+)
+{
+ if (!EventEnabledAppDomainUnload_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatAppDomainUnload_V1(AppDomainID,AppDomainFlags,AppDomainName,AppDomainIndex,ClrInstanceID);
+}
+
+inline BOOL EventEnabledModuleRangeLoad() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleRangeLoad();}
+
+inline ULONG FireEtwModuleRangeLoad(
const unsigned short ClrInstanceID,
const unsigned __int64 ModuleID,
const unsigned int RangeBegin,
const unsigned int RangeSize,
const unsigned char RangeType
-);
-extern "C" BOOL EventEnabledStrongNameVerificationStart();
-extern "C" ULONG FireEtwStrongNameVerificationStart(
+)
+{
+ if (!EventEnabledModuleRangeLoad()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleRangeLoad(ClrInstanceID,ModuleID,RangeBegin,RangeSize,RangeType);
+}
+
+inline BOOL EventEnabledStrongNameVerificationStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledStrongNameVerificationStart();}
+
+inline ULONG FireEtwStrongNameVerificationStart(
const unsigned int VerificationFlags,
const unsigned int ErrorCode,
PCWSTR FullyQualifiedAssemblyName
-);
-extern "C" BOOL EventEnabledStrongNameVerificationStart_V1();
-extern "C" ULONG FireEtwStrongNameVerificationStart_V1(
+)
+{
+ if (!EventEnabledStrongNameVerificationStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatStrongNameVerificationStart(VerificationFlags,ErrorCode,FullyQualifiedAssemblyName);
+}
+
+inline BOOL EventEnabledStrongNameVerificationStart_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledStrongNameVerificationStart_V1();}
+
+inline ULONG FireEtwStrongNameVerificationStart_V1(
const unsigned int VerificationFlags,
const unsigned int ErrorCode,
PCWSTR FullyQualifiedAssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledStrongNameVerificationStop();
-extern "C" ULONG FireEtwStrongNameVerificationStop(
+)
+{
+ if (!EventEnabledStrongNameVerificationStart_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatStrongNameVerificationStart_V1(VerificationFlags,ErrorCode,FullyQualifiedAssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledStrongNameVerificationStop() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledStrongNameVerificationStop();}
+
+inline ULONG FireEtwStrongNameVerificationStop(
const unsigned int VerificationFlags,
const unsigned int ErrorCode,
PCWSTR FullyQualifiedAssemblyName
-);
-extern "C" BOOL EventEnabledStrongNameVerificationStop_V1();
-extern "C" ULONG FireEtwStrongNameVerificationStop_V1(
+)
+{
+ if (!EventEnabledStrongNameVerificationStop()) {return ERROR_SUCCESS;}
+ return FireEtXplatStrongNameVerificationStop(VerificationFlags,ErrorCode,FullyQualifiedAssemblyName);
+}
+
+inline BOOL EventEnabledStrongNameVerificationStop_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledStrongNameVerificationStop_V1();}
+
+inline ULONG FireEtwStrongNameVerificationStop_V1(
const unsigned int VerificationFlags,
const unsigned int ErrorCode,
PCWSTR FullyQualifiedAssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledAuthenticodeVerificationStart();
-extern "C" ULONG FireEtwAuthenticodeVerificationStart(
+)
+{
+ if (!EventEnabledStrongNameVerificationStop_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatStrongNameVerificationStop_V1(VerificationFlags,ErrorCode,FullyQualifiedAssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledAuthenticodeVerificationStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAuthenticodeVerificationStart();}
+
+inline ULONG FireEtwAuthenticodeVerificationStart(
const unsigned int VerificationFlags,
const unsigned int ErrorCode,
PCWSTR ModulePath
-);
-extern "C" BOOL EventEnabledAuthenticodeVerificationStart_V1();
-extern "C" ULONG FireEtwAuthenticodeVerificationStart_V1(
+)
+{
+ if (!EventEnabledAuthenticodeVerificationStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatAuthenticodeVerificationStart(VerificationFlags,ErrorCode,ModulePath);
+}
+
+inline BOOL EventEnabledAuthenticodeVerificationStart_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAuthenticodeVerificationStart_V1();}
+
+inline ULONG FireEtwAuthenticodeVerificationStart_V1(
const unsigned int VerificationFlags,
const unsigned int ErrorCode,
PCWSTR ModulePath,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledAuthenticodeVerificationStop();
-extern "C" ULONG FireEtwAuthenticodeVerificationStop(
+)
+{
+ if (!EventEnabledAuthenticodeVerificationStart_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatAuthenticodeVerificationStart_V1(VerificationFlags,ErrorCode,ModulePath,ClrInstanceID);
+}
+
+inline BOOL EventEnabledAuthenticodeVerificationStop() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAuthenticodeVerificationStop();}
+
+inline ULONG FireEtwAuthenticodeVerificationStop(
const unsigned int VerificationFlags,
const unsigned int ErrorCode,
PCWSTR ModulePath
-);
-extern "C" BOOL EventEnabledAuthenticodeVerificationStop_V1();
-extern "C" ULONG FireEtwAuthenticodeVerificationStop_V1(
+)
+{
+ if (!EventEnabledAuthenticodeVerificationStop()) {return ERROR_SUCCESS;}
+ return FireEtXplatAuthenticodeVerificationStop(VerificationFlags,ErrorCode,ModulePath);
+}
+
+inline BOOL EventEnabledAuthenticodeVerificationStop_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAuthenticodeVerificationStop_V1();}
+
+inline ULONG FireEtwAuthenticodeVerificationStop_V1(
const unsigned int VerificationFlags,
const unsigned int ErrorCode,
PCWSTR ModulePath,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledRuntimeInformationStart();
-extern "C" ULONG FireEtwRuntimeInformationStart(
+)
+{
+ if (!EventEnabledAuthenticodeVerificationStop_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatAuthenticodeVerificationStop_V1(VerificationFlags,ErrorCode,ModulePath,ClrInstanceID);
+}
+
+inline BOOL EventEnabledRuntimeInformationStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledRuntimeInformationStart();}
+
+inline ULONG FireEtwRuntimeInformationStart(
const unsigned short ClrInstanceID,
const unsigned short Sku,
const unsigned short BclMajorVersion,
PCWSTR CommandLine,
const GUID* ComObjectGuid,
PCWSTR RuntimeDllPath
-);
-extern "C" BOOL EventEnabledIncreaseMemoryPressure();
-extern "C" ULONG FireEtwIncreaseMemoryPressure(
+)
+{
+ if (!EventEnabledRuntimeInformationStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatRuntimeInformationStart(ClrInstanceID,Sku,BclMajorVersion,BclMinorVersion,BclBuildNumber,BclQfeNumber,VMMajorVersion,VMMinorVersion,VMBuildNumber,VMQfeNumber,StartupFlags,StartupMode,CommandLine,ComObjectGuid,RuntimeDllPath);
+}
+
+inline BOOL EventEnabledIncreaseMemoryPressure() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledIncreaseMemoryPressure();}
+
+inline ULONG FireEtwIncreaseMemoryPressure(
const unsigned __int64 BytesAllocated,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledDecreaseMemoryPressure();
-extern "C" ULONG FireEtwDecreaseMemoryPressure(
+)
+{
+ if (!EventEnabledIncreaseMemoryPressure()) {return ERROR_SUCCESS;}
+ return FireEtXplatIncreaseMemoryPressure(BytesAllocated,ClrInstanceID);
+}
+
+inline BOOL EventEnabledDecreaseMemoryPressure() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDecreaseMemoryPressure();}
+
+inline ULONG FireEtwDecreaseMemoryPressure(
const unsigned __int64 BytesFreed,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCMarkWithType();
-extern "C" ULONG FireEtwGCMarkWithType(
+)
+{
+ if (!EventEnabledDecreaseMemoryPressure()) {return ERROR_SUCCESS;}
+ return FireEtXplatDecreaseMemoryPressure(BytesFreed,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCMarkWithType() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCMarkWithType();}
+
+inline ULONG FireEtwGCMarkWithType(
const unsigned int HeapNum,
const unsigned short ClrInstanceID,
const unsigned int Type,
const unsigned __int64 Bytes
-);
-extern "C" BOOL EventEnabledGCJoin_V2();
-extern "C" ULONG FireEtwGCJoin_V2(
+)
+{
+ if (!EventEnabledGCMarkWithType()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCMarkWithType(HeapNum,ClrInstanceID,Type,Bytes);
+}
+
+inline BOOL EventEnabledGCJoin_V2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCJoin_V2();}
+
+inline ULONG FireEtwGCJoin_V2(
const unsigned int Heap,
const unsigned int JoinTime,
const unsigned int JoinType,
const unsigned short ClrInstanceID,
const unsigned int JoinID
-);
-extern "C" BOOL EventEnabledGCPerHeapHistory_V3();
-extern "C" ULONG FireEtwGCPerHeapHistory_V3(
+)
+{
+ if (!EventEnabledGCJoin_V2()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCJoin_V2(Heap,JoinTime,JoinType,ClrInstanceID,JoinID);
+}
+
+inline BOOL EventEnabledGCPerHeapHistory_V3() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCPerHeapHistory_V3();}
+
+inline ULONG FireEtwGCPerHeapHistory_V3(
const unsigned short ClrInstanceID,
const void* FreeListAllocated,
const void* FreeListRejected,
const unsigned int Count,
const ULONG Arg15_Struct_Len_,
const void* Arg15_Struct_Pointer_
-);
-extern "C" BOOL EventEnabledGCGlobalHeapHistory_V2();
-extern "C" ULONG FireEtwGCGlobalHeapHistory_V2(
+)
+{
+ if (!EventEnabledGCPerHeapHistory_V3()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCPerHeapHistory_V3(ClrInstanceID,FreeListAllocated,FreeListRejected,EndOfSegAllocated,CondemnedAllocated,PinnedAllocated,PinnedAllocatedAdvance,RunningFreeListEfficiency,CondemnReasons0,CondemnReasons1,CompactMechanisms,ExpandMechanisms,HeapIndex,ExtraGen0Commit,Count,Arg15_Struct_Len_,Arg15_Struct_Pointer_);
+}
+
+inline BOOL EventEnabledGCGlobalHeapHistory_V2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCGlobalHeapHistory_V2();}
+
+inline ULONG FireEtwGCGlobalHeapHistory_V2(
const unsigned __int64 FinalYoungestDesired,
const signed int NumHeaps,
const unsigned int CondemnedGeneration,
const unsigned short ClrInstanceID,
const unsigned int PauseMode,
const unsigned int MemoryPressure
-);
-extern "C" BOOL EventEnabledDebugIPCEventStart();
-extern "C" ULONG FireEtwDebugIPCEventStart(
-);
-extern "C" BOOL EventEnabledDebugIPCEventEnd();
-extern "C" ULONG FireEtwDebugIPCEventEnd(
-);
-extern "C" BOOL EventEnabledDebugExceptionProcessingStart();
-extern "C" ULONG FireEtwDebugExceptionProcessingStart(
-);
-extern "C" BOOL EventEnabledDebugExceptionProcessingEnd();
-extern "C" ULONG FireEtwDebugExceptionProcessingEnd(
-);
-extern "C" BOOL EventEnabledCodeSymbols();
-extern "C" ULONG FireEtwCodeSymbols(
+)
+{
+ if (!EventEnabledGCGlobalHeapHistory_V2()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCGlobalHeapHistory_V2(FinalYoungestDesired,NumHeaps,CondemnedGeneration,Gen0ReductionCount,Reason,GlobalMechanisms,ClrInstanceID,PauseMode,MemoryPressure);
+}
+
+inline BOOL EventEnabledDebugIPCEventStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDebugIPCEventStart();}
+
+inline ULONG FireEtwDebugIPCEventStart(
+)
+{
+ if (!EventEnabledDebugIPCEventStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatDebugIPCEventStart();
+}
+
+inline BOOL EventEnabledDebugIPCEventEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDebugIPCEventEnd();}
+
+inline ULONG FireEtwDebugIPCEventEnd(
+)
+{
+ if (!EventEnabledDebugIPCEventEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatDebugIPCEventEnd();
+}
+
+inline BOOL EventEnabledDebugExceptionProcessingStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDebugExceptionProcessingStart();}
+
+inline ULONG FireEtwDebugExceptionProcessingStart(
+)
+{
+ if (!EventEnabledDebugExceptionProcessingStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatDebugExceptionProcessingStart();
+}
+
+inline BOOL EventEnabledDebugExceptionProcessingEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDebugExceptionProcessingEnd();}
+
+inline ULONG FireEtwDebugExceptionProcessingEnd(
+)
+{
+ if (!EventEnabledDebugExceptionProcessingEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatDebugExceptionProcessingEnd();
+}
+
+inline BOOL EventEnabledCodeSymbols() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledCodeSymbols();}
+
+inline ULONG FireEtwCodeSymbols(
const unsigned __int64 ModuleId,
const unsigned short TotalChunks,
const unsigned short ChunkNumber,
const unsigned int ChunkLength,
const BYTE* Chunk,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledCLRStackWalkDCStart();
-extern "C" ULONG FireEtwCLRStackWalkDCStart(
+)
+{
+ if (!EventEnabledCodeSymbols()) {return ERROR_SUCCESS;}
+ return FireEtXplatCodeSymbols(ModuleId,TotalChunks,ChunkNumber,ChunkLength,Chunk,ClrInstanceID);
+}
+
+inline BOOL EventEnabledCLRStackWalkDCStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledCLRStackWalkDCStart();}
+
+inline ULONG FireEtwCLRStackWalkDCStart(
const unsigned short ClrInstanceID,
const unsigned char Reserved1,
const unsigned char Reserved2,
const unsigned int FrameCount,
const void** Stack
-);
-extern "C" BOOL EventEnabledMethodDCStart();
-extern "C" ULONG FireEtwMethodDCStart(
+)
+{
+ if (!EventEnabledCLRStackWalkDCStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatCLRStackWalkDCStart(ClrInstanceID,Reserved1,Reserved2,FrameCount,Stack);
+}
+
+inline BOOL EventEnabledMethodDCStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCStart();}
+
+inline ULONG FireEtwMethodDCStart(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
const unsigned int MethodSize,
const unsigned int MethodToken,
const unsigned int MethodFlags
-);
-extern "C" BOOL EventEnabledMethodDCStart_V1();
-extern "C" ULONG FireEtwMethodDCStart_V1(
+)
+{
+ if (!EventEnabledMethodDCStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCStart(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags);
+}
+
+inline BOOL EventEnabledMethodDCStart_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCStart_V1();}
+
+inline ULONG FireEtwMethodDCStart_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
const unsigned int MethodToken,
const unsigned int MethodFlags,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMethodDCStart_V2();
-extern "C" ULONG FireEtwMethodDCStart_V2(
+)
+{
+ if (!EventEnabledMethodDCStart_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCStart_V1(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,ClrInstanceID);
+}
+
+inline BOOL EventEnabledMethodDCStart_V2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCStart_V2();}
+
+inline ULONG FireEtwMethodDCStart_V2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
const unsigned int MethodFlags,
const unsigned short ClrInstanceID,
const unsigned __int64 ReJITID
-);
-extern "C" BOOL EventEnabledMethodDCEnd();
-extern "C" ULONG FireEtwMethodDCEnd(
+)
+{
+ if (!EventEnabledMethodDCStart_V2()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCStart_V2(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,ClrInstanceID,ReJITID);
+}
+
+inline BOOL EventEnabledMethodDCEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCEnd();}
+
+inline ULONG FireEtwMethodDCEnd(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
const unsigned int MethodSize,
const unsigned int MethodToken,
const unsigned int MethodFlags
-);
-extern "C" BOOL EventEnabledMethodDCEnd_V1();
-extern "C" ULONG FireEtwMethodDCEnd_V1(
+)
+{
+ if (!EventEnabledMethodDCEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCEnd(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags);
+}
+
+inline BOOL EventEnabledMethodDCEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCEnd_V1();}
+
+inline ULONG FireEtwMethodDCEnd_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
const unsigned int MethodToken,
const unsigned int MethodFlags,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMethodDCEnd_V2();
-extern "C" ULONG FireEtwMethodDCEnd_V2(
+)
+{
+ if (!EventEnabledMethodDCEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCEnd_V1(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,ClrInstanceID);
+}
+
+inline BOOL EventEnabledMethodDCEnd_V2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCEnd_V2();}
+
+inline ULONG FireEtwMethodDCEnd_V2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
const unsigned int MethodFlags,
const unsigned short ClrInstanceID,
const unsigned __int64 ReJITID
-);
-extern "C" BOOL EventEnabledMethodDCStartVerbose();
-extern "C" ULONG FireEtwMethodDCStartVerbose(
+)
+{
+ if (!EventEnabledMethodDCEnd_V2()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCEnd_V2(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,ClrInstanceID,ReJITID);
+}
+
+inline BOOL EventEnabledMethodDCStartVerbose() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCStartVerbose();}
+
+inline ULONG FireEtwMethodDCStartVerbose(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
PCWSTR MethodNamespace,
PCWSTR MethodName,
PCWSTR MethodSignature
-);
-extern "C" BOOL EventEnabledMethodDCStartVerbose_V1();
-extern "C" ULONG FireEtwMethodDCStartVerbose_V1(
+)
+{
+ if (!EventEnabledMethodDCStartVerbose()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCStartVerbose(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,MethodNamespace,MethodName,MethodSignature);
+}
+
+inline BOOL EventEnabledMethodDCStartVerbose_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCStartVerbose_V1();}
+
+inline ULONG FireEtwMethodDCStartVerbose_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
PCWSTR MethodName,
PCWSTR MethodSignature,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMethodDCStartVerbose_V2();
-extern "C" ULONG FireEtwMethodDCStartVerbose_V2(
+)
+{
+ if (!EventEnabledMethodDCStartVerbose_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCStartVerbose_V1(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,MethodNamespace,MethodName,MethodSignature,ClrInstanceID);
+}
+
+inline BOOL EventEnabledMethodDCStartVerbose_V2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCStartVerbose_V2();}
+
+inline ULONG FireEtwMethodDCStartVerbose_V2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
PCWSTR MethodSignature,
const unsigned short ClrInstanceID,
const unsigned __int64 ReJITID
-);
-extern "C" BOOL EventEnabledMethodDCEndVerbose();
-extern "C" ULONG FireEtwMethodDCEndVerbose(
+)
+{
+ if (!EventEnabledMethodDCStartVerbose_V2()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCStartVerbose_V2(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,MethodNamespace,MethodName,MethodSignature,ClrInstanceID,ReJITID);
+}
+
+inline BOOL EventEnabledMethodDCEndVerbose() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCEndVerbose();}
+
+inline ULONG FireEtwMethodDCEndVerbose(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
PCWSTR MethodNamespace,
PCWSTR MethodName,
PCWSTR MethodSignature
-);
-extern "C" BOOL EventEnabledMethodDCEndVerbose_V1();
-extern "C" ULONG FireEtwMethodDCEndVerbose_V1(
+)
+{
+ if (!EventEnabledMethodDCEndVerbose()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCEndVerbose(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,MethodNamespace,MethodName,MethodSignature);
+}
+
+inline BOOL EventEnabledMethodDCEndVerbose_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCEndVerbose_V1();}
+
+inline ULONG FireEtwMethodDCEndVerbose_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
PCWSTR MethodName,
PCWSTR MethodSignature,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMethodDCEndVerbose_V2();
-extern "C" ULONG FireEtwMethodDCEndVerbose_V2(
+)
+{
+ if (!EventEnabledMethodDCEndVerbose_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCEndVerbose_V1(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,MethodNamespace,MethodName,MethodSignature,ClrInstanceID);
+}
+
+inline BOOL EventEnabledMethodDCEndVerbose_V2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCEndVerbose_V2();}
+
+inline ULONG FireEtwMethodDCEndVerbose_V2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
PCWSTR MethodSignature,
const unsigned short ClrInstanceID,
const unsigned __int64 ReJITID
-);
-extern "C" BOOL EventEnabledDCStartComplete();
-extern "C" ULONG FireEtwDCStartComplete(
-);
-extern "C" BOOL EventEnabledDCStartComplete_V1();
-extern "C" ULONG FireEtwDCStartComplete_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledDCEndComplete();
-extern "C" ULONG FireEtwDCEndComplete(
-);
-extern "C" BOOL EventEnabledDCEndComplete_V1();
-extern "C" ULONG FireEtwDCEndComplete_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledDCStartInit();
-extern "C" ULONG FireEtwDCStartInit(
-);
-extern "C" BOOL EventEnabledDCStartInit_V1();
-extern "C" ULONG FireEtwDCStartInit_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledDCEndInit();
-extern "C" ULONG FireEtwDCEndInit(
-);
-extern "C" BOOL EventEnabledDCEndInit_V1();
-extern "C" ULONG FireEtwDCEndInit_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMethodDCStartILToNativeMap();
-extern "C" ULONG FireEtwMethodDCStartILToNativeMap(
+)
+{
+ if (!EventEnabledMethodDCEndVerbose_V2()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCEndVerbose_V2(MethodID,ModuleID,MethodStartAddress,MethodSize,MethodToken,MethodFlags,MethodNamespace,MethodName,MethodSignature,ClrInstanceID,ReJITID);
+}
+
+inline BOOL EventEnabledDCStartComplete() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDCStartComplete();}
+
+inline ULONG FireEtwDCStartComplete(
+)
+{
+ if (!EventEnabledDCStartComplete()) {return ERROR_SUCCESS;}
+ return FireEtXplatDCStartComplete();
+}
+
+inline BOOL EventEnabledDCStartComplete_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDCStartComplete_V1();}
+
+inline ULONG FireEtwDCStartComplete_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledDCStartComplete_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatDCStartComplete_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledDCEndComplete() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDCEndComplete();}
+
+inline ULONG FireEtwDCEndComplete(
+)
+{
+ if (!EventEnabledDCEndComplete()) {return ERROR_SUCCESS;}
+ return FireEtXplatDCEndComplete();
+}
+
+inline BOOL EventEnabledDCEndComplete_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDCEndComplete_V1();}
+
+inline ULONG FireEtwDCEndComplete_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledDCEndComplete_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatDCEndComplete_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledDCStartInit() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDCStartInit();}
+
+inline ULONG FireEtwDCStartInit(
+)
+{
+ if (!EventEnabledDCStartInit()) {return ERROR_SUCCESS;}
+ return FireEtXplatDCStartInit();
+}
+
+inline BOOL EventEnabledDCStartInit_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDCStartInit_V1();}
+
+inline ULONG FireEtwDCStartInit_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledDCStartInit_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatDCStartInit_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledDCEndInit() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDCEndInit();}
+
+inline ULONG FireEtwDCEndInit(
+)
+{
+ if (!EventEnabledDCEndInit()) {return ERROR_SUCCESS;}
+ return FireEtXplatDCEndInit();
+}
+
+inline BOOL EventEnabledDCEndInit_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDCEndInit_V1();}
+
+inline ULONG FireEtwDCEndInit_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledDCEndInit_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatDCEndInit_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledMethodDCStartILToNativeMap() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCStartILToNativeMap();}
+
+inline ULONG FireEtwMethodDCStartILToNativeMap(
const unsigned __int64 MethodID,
const unsigned __int64 ReJITID,
const unsigned char MethodExtent,
const unsigned int* ILOffsets,
const unsigned int* NativeOffsets,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMethodDCEndILToNativeMap();
-extern "C" ULONG FireEtwMethodDCEndILToNativeMap(
+)
+{
+ if (!EventEnabledMethodDCStartILToNativeMap()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCStartILToNativeMap(MethodID,ReJITID,MethodExtent,CountOfMapEntries,ILOffsets,NativeOffsets,ClrInstanceID);
+}
+
+inline BOOL EventEnabledMethodDCEndILToNativeMap() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodDCEndILToNativeMap();}
+
+inline ULONG FireEtwMethodDCEndILToNativeMap(
const unsigned __int64 MethodID,
const unsigned __int64 ReJITID,
const unsigned char MethodExtent,
const unsigned int* ILOffsets,
const unsigned int* NativeOffsets,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledDomainModuleDCStart();
-extern "C" ULONG FireEtwDomainModuleDCStart(
+)
+{
+ if (!EventEnabledMethodDCEndILToNativeMap()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodDCEndILToNativeMap(MethodID,ReJITID,MethodExtent,CountOfMapEntries,ILOffsets,NativeOffsets,ClrInstanceID);
+}
+
+inline BOOL EventEnabledDomainModuleDCStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDomainModuleDCStart();}
+
+inline ULONG FireEtwDomainModuleDCStart(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned int Reserved1,
PCWSTR ModuleILPath,
PCWSTR ModuleNativePath
-);
-extern "C" BOOL EventEnabledDomainModuleDCStart_V1();
-extern "C" ULONG FireEtwDomainModuleDCStart_V1(
+)
+{
+ if (!EventEnabledDomainModuleDCStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatDomainModuleDCStart(ModuleID,AssemblyID,AppDomainID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath);
+}
+
+inline BOOL EventEnabledDomainModuleDCStart_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDomainModuleDCStart_V1();}
+
+inline ULONG FireEtwDomainModuleDCStart_V1(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
PCWSTR ModuleILPath,
PCWSTR ModuleNativePath,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledDomainModuleDCEnd();
-extern "C" ULONG FireEtwDomainModuleDCEnd(
+)
+{
+ if (!EventEnabledDomainModuleDCStart_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatDomainModuleDCStart_V1(ModuleID,AssemblyID,AppDomainID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath,ClrInstanceID);
+}
+
+inline BOOL EventEnabledDomainModuleDCEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDomainModuleDCEnd();}
+
+inline ULONG FireEtwDomainModuleDCEnd(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned int Reserved1,
PCWSTR ModuleILPath,
PCWSTR ModuleNativePath
-);
-extern "C" BOOL EventEnabledDomainModuleDCEnd_V1();
-extern "C" ULONG FireEtwDomainModuleDCEnd_V1(
+)
+{
+ if (!EventEnabledDomainModuleDCEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatDomainModuleDCEnd(ModuleID,AssemblyID,AppDomainID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath);
+}
+
+inline BOOL EventEnabledDomainModuleDCEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledDomainModuleDCEnd_V1();}
+
+inline ULONG FireEtwDomainModuleDCEnd_V1(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
PCWSTR ModuleILPath,
PCWSTR ModuleNativePath,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledModuleDCStart();
-extern "C" ULONG FireEtwModuleDCStart(
+)
+{
+ if (!EventEnabledDomainModuleDCEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatDomainModuleDCEnd_V1(ModuleID,AssemblyID,AppDomainID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath,ClrInstanceID);
+}
+
+inline BOOL EventEnabledModuleDCStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleDCStart();}
+
+inline ULONG FireEtwModuleDCStart(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
const unsigned int Reserved1,
PCWSTR ModuleILPath,
PCWSTR ModuleNativePath
-);
-extern "C" BOOL EventEnabledModuleDCStart_V1();
-extern "C" ULONG FireEtwModuleDCStart_V1(
+)
+{
+ if (!EventEnabledModuleDCStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleDCStart(ModuleID,AssemblyID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath);
+}
+
+inline BOOL EventEnabledModuleDCStart_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleDCStart_V1();}
+
+inline ULONG FireEtwModuleDCStart_V1(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
PCWSTR ModuleILPath,
PCWSTR ModuleNativePath,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledModuleDCStart_V2();
-extern "C" ULONG FireEtwModuleDCStart_V2(
+)
+{
+ if (!EventEnabledModuleDCStart_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleDCStart_V1(ModuleID,AssemblyID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath,ClrInstanceID);
+}
+
+inline BOOL EventEnabledModuleDCStart_V2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleDCStart_V2();}
+
+inline ULONG FireEtwModuleDCStart_V2(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
const GUID* NativePdbSignature,
const unsigned int NativePdbAge,
PCWSTR NativePdbBuildPath
-);
-extern "C" BOOL EventEnabledModuleDCEnd();
-extern "C" ULONG FireEtwModuleDCEnd(
+)
+{
+ if (!EventEnabledModuleDCStart_V2()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleDCStart_V2(ModuleID,AssemblyID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath,ClrInstanceID,ManagedPdbSignature,ManagedPdbAge,ManagedPdbBuildPath,NativePdbSignature,NativePdbAge,NativePdbBuildPath);
+}
+
+inline BOOL EventEnabledModuleDCEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleDCEnd();}
+
+inline ULONG FireEtwModuleDCEnd(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
const unsigned int Reserved1,
PCWSTR ModuleILPath,
PCWSTR ModuleNativePath
-);
-extern "C" BOOL EventEnabledModuleDCEnd_V1();
-extern "C" ULONG FireEtwModuleDCEnd_V1(
+)
+{
+ if (!EventEnabledModuleDCEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleDCEnd(ModuleID,AssemblyID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath);
+}
+
+inline BOOL EventEnabledModuleDCEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleDCEnd_V1();}
+
+inline ULONG FireEtwModuleDCEnd_V1(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
PCWSTR ModuleILPath,
PCWSTR ModuleNativePath,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledModuleDCEnd_V2();
-extern "C" ULONG FireEtwModuleDCEnd_V2(
+)
+{
+ if (!EventEnabledModuleDCEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleDCEnd_V1(ModuleID,AssemblyID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath,ClrInstanceID);
+}
+
+inline BOOL EventEnabledModuleDCEnd_V2() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleDCEnd_V2();}
+
+inline ULONG FireEtwModuleDCEnd_V2(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
const GUID* NativePdbSignature,
const unsigned int NativePdbAge,
PCWSTR NativePdbBuildPath
-);
-extern "C" BOOL EventEnabledAssemblyDCStart();
-extern "C" ULONG FireEtwAssemblyDCStart(
+)
+{
+ if (!EventEnabledModuleDCEnd_V2()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleDCEnd_V2(ModuleID,AssemblyID,ModuleFlags,Reserved1,ModuleILPath,ModuleNativePath,ClrInstanceID,ManagedPdbSignature,ManagedPdbAge,ManagedPdbBuildPath,NativePdbSignature,NativePdbAge,NativePdbBuildPath);
+}
+
+inline BOOL EventEnabledAssemblyDCStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAssemblyDCStart();}
+
+inline ULONG FireEtwAssemblyDCStart(
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned int AssemblyFlags,
PCWSTR FullyQualifiedAssemblyName
-);
-extern "C" BOOL EventEnabledAssemblyDCStart_V1();
-extern "C" ULONG FireEtwAssemblyDCStart_V1(
+)
+{
+ if (!EventEnabledAssemblyDCStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatAssemblyDCStart(AssemblyID,AppDomainID,AssemblyFlags,FullyQualifiedAssemblyName);
+}
+
+inline BOOL EventEnabledAssemblyDCStart_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAssemblyDCStart_V1();}
+
+inline ULONG FireEtwAssemblyDCStart_V1(
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned __int64 BindingID,
const unsigned int AssemblyFlags,
PCWSTR FullyQualifiedAssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledAssemblyDCEnd();
-extern "C" ULONG FireEtwAssemblyDCEnd(
+)
+{
+ if (!EventEnabledAssemblyDCStart_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatAssemblyDCStart_V1(AssemblyID,AppDomainID,BindingID,AssemblyFlags,FullyQualifiedAssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledAssemblyDCEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAssemblyDCEnd();}
+
+inline ULONG FireEtwAssemblyDCEnd(
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned int AssemblyFlags,
PCWSTR FullyQualifiedAssemblyName
-);
-extern "C" BOOL EventEnabledAssemblyDCEnd_V1();
-extern "C" ULONG FireEtwAssemblyDCEnd_V1(
+)
+{
+ if (!EventEnabledAssemblyDCEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatAssemblyDCEnd(AssemblyID,AppDomainID,AssemblyFlags,FullyQualifiedAssemblyName);
+}
+
+inline BOOL EventEnabledAssemblyDCEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAssemblyDCEnd_V1();}
+
+inline ULONG FireEtwAssemblyDCEnd_V1(
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned __int64 BindingID,
const unsigned int AssemblyFlags,
PCWSTR FullyQualifiedAssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledAppDomainDCStart();
-extern "C" ULONG FireEtwAppDomainDCStart(
+)
+{
+ if (!EventEnabledAssemblyDCEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatAssemblyDCEnd_V1(AssemblyID,AppDomainID,BindingID,AssemblyFlags,FullyQualifiedAssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledAppDomainDCStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAppDomainDCStart();}
+
+inline ULONG FireEtwAppDomainDCStart(
const unsigned __int64 AppDomainID,
const unsigned int AppDomainFlags,
PCWSTR AppDomainName
-);
-extern "C" BOOL EventEnabledAppDomainDCStart_V1();
-extern "C" ULONG FireEtwAppDomainDCStart_V1(
+)
+{
+ if (!EventEnabledAppDomainDCStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatAppDomainDCStart(AppDomainID,AppDomainFlags,AppDomainName);
+}
+
+inline BOOL EventEnabledAppDomainDCStart_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAppDomainDCStart_V1();}
+
+inline ULONG FireEtwAppDomainDCStart_V1(
const unsigned __int64 AppDomainID,
const unsigned int AppDomainFlags,
PCWSTR AppDomainName,
const unsigned int AppDomainIndex,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledAppDomainDCEnd();
-extern "C" ULONG FireEtwAppDomainDCEnd(
+)
+{
+ if (!EventEnabledAppDomainDCStart_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatAppDomainDCStart_V1(AppDomainID,AppDomainFlags,AppDomainName,AppDomainIndex,ClrInstanceID);
+}
+
+inline BOOL EventEnabledAppDomainDCEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAppDomainDCEnd();}
+
+inline ULONG FireEtwAppDomainDCEnd(
const unsigned __int64 AppDomainID,
const unsigned int AppDomainFlags,
PCWSTR AppDomainName
-);
-extern "C" BOOL EventEnabledAppDomainDCEnd_V1();
-extern "C" ULONG FireEtwAppDomainDCEnd_V1(
+)
+{
+ if (!EventEnabledAppDomainDCEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatAppDomainDCEnd(AppDomainID,AppDomainFlags,AppDomainName);
+}
+
+inline BOOL EventEnabledAppDomainDCEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAppDomainDCEnd_V1();}
+
+inline ULONG FireEtwAppDomainDCEnd_V1(
const unsigned __int64 AppDomainID,
const unsigned int AppDomainFlags,
PCWSTR AppDomainName,
const unsigned int AppDomainIndex,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledThreadDC();
-extern "C" ULONG FireEtwThreadDC(
+)
+{
+ if (!EventEnabledAppDomainDCEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatAppDomainDCEnd_V1(AppDomainID,AppDomainFlags,AppDomainName,AppDomainIndex,ClrInstanceID);
+}
+
+inline BOOL EventEnabledThreadDC() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledThreadDC();}
+
+inline ULONG FireEtwThreadDC(
const unsigned __int64 ManagedThreadID,
const unsigned __int64 AppDomainID,
const unsigned int Flags,
const unsigned int ManagedThreadIndex,
const unsigned int OSThreadID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledModuleRangeDCStart();
-extern "C" ULONG FireEtwModuleRangeDCStart(
+)
+{
+ if (!EventEnabledThreadDC()) {return ERROR_SUCCESS;}
+ return FireEtXplatThreadDC(ManagedThreadID,AppDomainID,Flags,ManagedThreadIndex,OSThreadID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledModuleRangeDCStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleRangeDCStart();}
+
+inline ULONG FireEtwModuleRangeDCStart(
const unsigned short ClrInstanceID,
const unsigned __int64 ModuleID,
const unsigned int RangeBegin,
const unsigned int RangeSize,
const unsigned char RangeType
-);
-extern "C" BOOL EventEnabledModuleRangeDCEnd();
-extern "C" ULONG FireEtwModuleRangeDCEnd(
+)
+{
+ if (!EventEnabledModuleRangeDCStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleRangeDCStart(ClrInstanceID,ModuleID,RangeBegin,RangeSize,RangeType);
+}
+
+inline BOOL EventEnabledModuleRangeDCEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleRangeDCEnd();}
+
+inline ULONG FireEtwModuleRangeDCEnd(
const unsigned short ClrInstanceID,
const unsigned __int64 ModuleID,
const unsigned int RangeBegin,
const unsigned int RangeSize,
const unsigned char RangeType
-);
-extern "C" BOOL EventEnabledRuntimeInformationDCStart();
-extern "C" ULONG FireEtwRuntimeInformationDCStart(
+)
+{
+ if (!EventEnabledModuleRangeDCEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleRangeDCEnd(ClrInstanceID,ModuleID,RangeBegin,RangeSize,RangeType);
+}
+
+inline BOOL EventEnabledRuntimeInformationDCStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledRuntimeInformationDCStart();}
+
+inline ULONG FireEtwRuntimeInformationDCStart(
const unsigned short ClrInstanceID,
const unsigned short Sku,
const unsigned short BclMajorVersion,
PCWSTR CommandLine,
const GUID* ComObjectGuid,
PCWSTR RuntimeDllPath
-);
-extern "C" BOOL EventEnabledStressLogEvent();
-extern "C" ULONG FireEtwStressLogEvent(
+)
+{
+ if (!EventEnabledRuntimeInformationDCStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatRuntimeInformationDCStart(ClrInstanceID,Sku,BclMajorVersion,BclMinorVersion,BclBuildNumber,BclQfeNumber,VMMajorVersion,VMMinorVersion,VMBuildNumber,VMQfeNumber,StartupFlags,StartupMode,CommandLine,ComObjectGuid,RuntimeDllPath);
+}
+
+inline BOOL EventEnabledStressLogEvent() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledStressLogEvent();}
+
+inline ULONG FireEtwStressLogEvent(
const unsigned int Facility,
const unsigned char LogLevel,
LPCSTR Message
-);
-extern "C" BOOL EventEnabledStressLogEvent_V1();
-extern "C" ULONG FireEtwStressLogEvent_V1(
+)
+{
+ if (!EventEnabledStressLogEvent()) {return ERROR_SUCCESS;}
+ return FireEtXplatStressLogEvent(Facility,LogLevel,Message);
+}
+
+inline BOOL EventEnabledStressLogEvent_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledStressLogEvent_V1();}
+
+inline ULONG FireEtwStressLogEvent_V1(
const unsigned int Facility,
const unsigned char LogLevel,
LPCSTR Message,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledCLRStackWalkStress();
-extern "C" ULONG FireEtwCLRStackWalkStress(
+)
+{
+ if (!EventEnabledStressLogEvent_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatStressLogEvent_V1(Facility,LogLevel,Message,ClrInstanceID);
+}
+
+inline BOOL EventEnabledCLRStackWalkStress() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledCLRStackWalkStress();}
+
+inline ULONG FireEtwCLRStackWalkStress(
const unsigned short ClrInstanceID,
const unsigned char Reserved1,
const unsigned char Reserved2,
const unsigned int FrameCount,
const void** Stack
-);
-extern "C" BOOL EventEnabledGCDecision();
-extern "C" ULONG FireEtwGCDecision(
+)
+{
+ if (!EventEnabledCLRStackWalkStress()) {return ERROR_SUCCESS;}
+ return FireEtXplatCLRStackWalkStress(ClrInstanceID,Reserved1,Reserved2,FrameCount,Stack);
+}
+
+inline BOOL EventEnabledGCDecision() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCDecision();}
+
+inline ULONG FireEtwGCDecision(
const BOOL DoCompact
-);
-extern "C" BOOL EventEnabledGCDecision_V1();
-extern "C" ULONG FireEtwGCDecision_V1(
+)
+{
+ if (!EventEnabledGCDecision()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCDecision(DoCompact);
+}
+
+inline BOOL EventEnabledGCDecision_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCDecision_V1();}
+
+inline ULONG FireEtwGCDecision_V1(
const BOOL DoCompact,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCSettings();
-extern "C" ULONG FireEtwGCSettings(
+)
+{
+ if (!EventEnabledGCDecision_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCDecision_V1(DoCompact,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCSettings() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCSettings();}
+
+inline ULONG FireEtwGCSettings(
const unsigned __int64 SegmentSize,
const unsigned __int64 LargeObjectSegmentSize,
const BOOL ServerGC
-);
-extern "C" BOOL EventEnabledGCSettings_V1();
-extern "C" ULONG FireEtwGCSettings_V1(
+)
+{
+ if (!EventEnabledGCSettings()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCSettings(SegmentSize,LargeObjectSegmentSize,ServerGC);
+}
+
+inline BOOL EventEnabledGCSettings_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCSettings_V1();}
+
+inline ULONG FireEtwGCSettings_V1(
const unsigned __int64 SegmentSize,
const unsigned __int64 LargeObjectSegmentSize,
const BOOL ServerGC,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCOptimized();
-extern "C" ULONG FireEtwGCOptimized(
+)
+{
+ if (!EventEnabledGCSettings_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCSettings_V1(SegmentSize,LargeObjectSegmentSize,ServerGC,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCOptimized() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCOptimized();}
+
+inline ULONG FireEtwGCOptimized(
const unsigned __int64 DesiredAllocation,
const unsigned __int64 NewAllocation,
const unsigned int GenerationNumber
-);
-extern "C" BOOL EventEnabledGCOptimized_V1();
-extern "C" ULONG FireEtwGCOptimized_V1(
+)
+{
+ if (!EventEnabledGCOptimized()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCOptimized(DesiredAllocation,NewAllocation,GenerationNumber);
+}
+
+inline BOOL EventEnabledGCOptimized_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCOptimized_V1();}
+
+inline ULONG FireEtwGCOptimized_V1(
const unsigned __int64 DesiredAllocation,
const unsigned __int64 NewAllocation,
const unsigned int GenerationNumber,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCPerHeapHistory();
-extern "C" ULONG FireEtwGCPerHeapHistory(
-);
-extern "C" BOOL EventEnabledGCPerHeapHistory_V1();
-extern "C" ULONG FireEtwGCPerHeapHistory_V1(
+)
+{
+ if (!EventEnabledGCOptimized_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCOptimized_V1(DesiredAllocation,NewAllocation,GenerationNumber,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCPerHeapHistory() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCPerHeapHistory();}
+
+inline ULONG FireEtwGCPerHeapHistory(
+)
+{
+ if (!EventEnabledGCPerHeapHistory()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCPerHeapHistory();
+}
+
+inline BOOL EventEnabledGCPerHeapHistory_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCPerHeapHistory_V1();}
+
+inline ULONG FireEtwGCPerHeapHistory_V1(
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCGlobalHeapHistory();
-extern "C" ULONG FireEtwGCGlobalHeapHistory(
+)
+{
+ if (!EventEnabledGCPerHeapHistory_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCPerHeapHistory_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCGlobalHeapHistory() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCGlobalHeapHistory();}
+
+inline ULONG FireEtwGCGlobalHeapHistory(
const unsigned __int64 FinalYoungestDesired,
const signed int NumHeaps,
const unsigned int CondemnedGeneration,
const unsigned int Gen0ReductionCount,
const unsigned int Reason,
const unsigned int GlobalMechanisms
-);
-extern "C" BOOL EventEnabledGCGlobalHeapHistory_V1();
-extern "C" ULONG FireEtwGCGlobalHeapHistory_V1(
+)
+{
+ if (!EventEnabledGCGlobalHeapHistory()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCGlobalHeapHistory(FinalYoungestDesired,NumHeaps,CondemnedGeneration,Gen0ReductionCount,Reason,GlobalMechanisms);
+}
+
+inline BOOL EventEnabledGCGlobalHeapHistory_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCGlobalHeapHistory_V1();}
+
+inline ULONG FireEtwGCGlobalHeapHistory_V1(
const unsigned __int64 FinalYoungestDesired,
const signed int NumHeaps,
const unsigned int CondemnedGeneration,
const unsigned int Reason,
const unsigned int GlobalMechanisms,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCJoin();
-extern "C" ULONG FireEtwGCJoin(
+)
+{
+ if (!EventEnabledGCGlobalHeapHistory_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCGlobalHeapHistory_V1(FinalYoungestDesired,NumHeaps,CondemnedGeneration,Gen0ReductionCount,Reason,GlobalMechanisms,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCJoin() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCJoin();}
+
+inline ULONG FireEtwGCJoin(
const unsigned int Heap,
const unsigned int JoinTime,
const unsigned int JoinType
-);
-extern "C" BOOL EventEnabledGCJoin_V1();
-extern "C" ULONG FireEtwGCJoin_V1(
+)
+{
+ if (!EventEnabledGCJoin()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCJoin(Heap,JoinTime,JoinType);
+}
+
+inline BOOL EventEnabledGCJoin_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCJoin_V1();}
+
+inline ULONG FireEtwGCJoin_V1(
const unsigned int Heap,
const unsigned int JoinTime,
const unsigned int JoinType,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledPrvGCMarkStackRoots();
-extern "C" ULONG FireEtwPrvGCMarkStackRoots(
+)
+{
+ if (!EventEnabledGCJoin_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCJoin_V1(Heap,JoinTime,JoinType,ClrInstanceID);
+}
+
+inline BOOL EventEnabledPrvGCMarkStackRoots() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledPrvGCMarkStackRoots();}
+
+inline ULONG FireEtwPrvGCMarkStackRoots(
const unsigned int HeapNum
-);
-extern "C" BOOL EventEnabledPrvGCMarkStackRoots_V1();
-extern "C" ULONG FireEtwPrvGCMarkStackRoots_V1(
+)
+{
+ if (!EventEnabledPrvGCMarkStackRoots()) {return ERROR_SUCCESS;}
+ return FireEtXplatPrvGCMarkStackRoots(HeapNum);
+}
+
+inline BOOL EventEnabledPrvGCMarkStackRoots_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledPrvGCMarkStackRoots_V1();}
+
+inline ULONG FireEtwPrvGCMarkStackRoots_V1(
const unsigned int HeapNum,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledPrvGCMarkFinalizeQueueRoots();
-extern "C" ULONG FireEtwPrvGCMarkFinalizeQueueRoots(
+)
+{
+ if (!EventEnabledPrvGCMarkStackRoots_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatPrvGCMarkStackRoots_V1(HeapNum,ClrInstanceID);
+}
+
+inline BOOL EventEnabledPrvGCMarkFinalizeQueueRoots() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledPrvGCMarkFinalizeQueueRoots();}
+
+inline ULONG FireEtwPrvGCMarkFinalizeQueueRoots(
const unsigned int HeapNum
-);
-extern "C" BOOL EventEnabledPrvGCMarkFinalizeQueueRoots_V1();
-extern "C" ULONG FireEtwPrvGCMarkFinalizeQueueRoots_V1(
+)
+{
+ if (!EventEnabledPrvGCMarkFinalizeQueueRoots()) {return ERROR_SUCCESS;}
+ return FireEtXplatPrvGCMarkFinalizeQueueRoots(HeapNum);
+}
+
+inline BOOL EventEnabledPrvGCMarkFinalizeQueueRoots_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledPrvGCMarkFinalizeQueueRoots_V1();}
+
+inline ULONG FireEtwPrvGCMarkFinalizeQueueRoots_V1(
const unsigned int HeapNum,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledPrvGCMarkHandles();
-extern "C" ULONG FireEtwPrvGCMarkHandles(
+)
+{
+ if (!EventEnabledPrvGCMarkFinalizeQueueRoots_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatPrvGCMarkFinalizeQueueRoots_V1(HeapNum,ClrInstanceID);
+}
+
+inline BOOL EventEnabledPrvGCMarkHandles() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledPrvGCMarkHandles();}
+
+inline ULONG FireEtwPrvGCMarkHandles(
const unsigned int HeapNum
-);
-extern "C" BOOL EventEnabledPrvGCMarkHandles_V1();
-extern "C" ULONG FireEtwPrvGCMarkHandles_V1(
+)
+{
+ if (!EventEnabledPrvGCMarkHandles()) {return ERROR_SUCCESS;}
+ return FireEtXplatPrvGCMarkHandles(HeapNum);
+}
+
+inline BOOL EventEnabledPrvGCMarkHandles_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledPrvGCMarkHandles_V1();}
+
+inline ULONG FireEtwPrvGCMarkHandles_V1(
const unsigned int HeapNum,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledPrvGCMarkCards();
-extern "C" ULONG FireEtwPrvGCMarkCards(
+)
+{
+ if (!EventEnabledPrvGCMarkHandles_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatPrvGCMarkHandles_V1(HeapNum,ClrInstanceID);
+}
+
+inline BOOL EventEnabledPrvGCMarkCards() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledPrvGCMarkCards();}
+
+inline ULONG FireEtwPrvGCMarkCards(
const unsigned int HeapNum
-);
-extern "C" BOOL EventEnabledPrvGCMarkCards_V1();
-extern "C" ULONG FireEtwPrvGCMarkCards_V1(
+)
+{
+ if (!EventEnabledPrvGCMarkCards()) {return ERROR_SUCCESS;}
+ return FireEtXplatPrvGCMarkCards(HeapNum);
+}
+
+inline BOOL EventEnabledPrvGCMarkCards_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledPrvGCMarkCards_V1();}
+
+inline ULONG FireEtwPrvGCMarkCards_V1(
const unsigned int HeapNum,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBGCBegin();
-extern "C" ULONG FireEtwBGCBegin(
+)
+{
+ if (!EventEnabledPrvGCMarkCards_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatPrvGCMarkCards_V1(HeapNum,ClrInstanceID);
+}
+
+inline BOOL EventEnabledBGCBegin() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBGCBegin();}
+
+inline ULONG FireEtwBGCBegin(
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBGC1stNonConEnd();
-extern "C" ULONG FireEtwBGC1stNonConEnd(
+)
+{
+ if (!EventEnabledBGCBegin()) {return ERROR_SUCCESS;}
+ return FireEtXplatBGCBegin(ClrInstanceID);
+}
+
+inline BOOL EventEnabledBGC1stNonConEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBGC1stNonConEnd();}
+
+inline ULONG FireEtwBGC1stNonConEnd(
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBGC1stConEnd();
-extern "C" ULONG FireEtwBGC1stConEnd(
+)
+{
+ if (!EventEnabledBGC1stNonConEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatBGC1stNonConEnd(ClrInstanceID);
+}
+
+inline BOOL EventEnabledBGC1stConEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBGC1stConEnd();}
+
+inline ULONG FireEtwBGC1stConEnd(
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBGC2ndNonConBegin();
-extern "C" ULONG FireEtwBGC2ndNonConBegin(
+)
+{
+ if (!EventEnabledBGC1stConEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatBGC1stConEnd(ClrInstanceID);
+}
+
+inline BOOL EventEnabledBGC2ndNonConBegin() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBGC2ndNonConBegin();}
+
+inline ULONG FireEtwBGC2ndNonConBegin(
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBGC2ndNonConEnd();
-extern "C" ULONG FireEtwBGC2ndNonConEnd(
+)
+{
+ if (!EventEnabledBGC2ndNonConBegin()) {return ERROR_SUCCESS;}
+ return FireEtXplatBGC2ndNonConBegin(ClrInstanceID);
+}
+
+inline BOOL EventEnabledBGC2ndNonConEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBGC2ndNonConEnd();}
+
+inline ULONG FireEtwBGC2ndNonConEnd(
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBGC2ndConBegin();
-extern "C" ULONG FireEtwBGC2ndConBegin(
+)
+{
+ if (!EventEnabledBGC2ndNonConEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatBGC2ndNonConEnd(ClrInstanceID);
+}
+
+inline BOOL EventEnabledBGC2ndConBegin() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBGC2ndConBegin();}
+
+inline ULONG FireEtwBGC2ndConBegin(
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBGC2ndConEnd();
-extern "C" ULONG FireEtwBGC2ndConEnd(
+)
+{
+ if (!EventEnabledBGC2ndConBegin()) {return ERROR_SUCCESS;}
+ return FireEtXplatBGC2ndConBegin(ClrInstanceID);
+}
+
+inline BOOL EventEnabledBGC2ndConEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBGC2ndConEnd();}
+
+inline ULONG FireEtwBGC2ndConEnd(
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBGCPlanEnd();
-extern "C" ULONG FireEtwBGCPlanEnd(
+)
+{
+ if (!EventEnabledBGC2ndConEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatBGC2ndConEnd(ClrInstanceID);
+}
+
+inline BOOL EventEnabledBGCPlanEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBGCPlanEnd();}
+
+inline ULONG FireEtwBGCPlanEnd(
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBGCSweepEnd();
-extern "C" ULONG FireEtwBGCSweepEnd(
+)
+{
+ if (!EventEnabledBGCPlanEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatBGCPlanEnd(ClrInstanceID);
+}
+
+inline BOOL EventEnabledBGCSweepEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBGCSweepEnd();}
+
+inline ULONG FireEtwBGCSweepEnd(
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBGCDrainMark();
-extern "C" ULONG FireEtwBGCDrainMark(
+)
+{
+ if (!EventEnabledBGCSweepEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatBGCSweepEnd(ClrInstanceID);
+}
+
+inline BOOL EventEnabledBGCDrainMark() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBGCDrainMark();}
+
+inline ULONG FireEtwBGCDrainMark(
const unsigned __int64 Objects,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBGCRevisit();
-extern "C" ULONG FireEtwBGCRevisit(
+)
+{
+ if (!EventEnabledBGCDrainMark()) {return ERROR_SUCCESS;}
+ return FireEtXplatBGCDrainMark(Objects,ClrInstanceID);
+}
+
+inline BOOL EventEnabledBGCRevisit() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBGCRevisit();}
+
+inline ULONG FireEtwBGCRevisit(
const unsigned __int64 Pages,
const unsigned __int64 Objects,
const unsigned int IsLarge,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBGCOverflow();
-extern "C" ULONG FireEtwBGCOverflow(
+)
+{
+ if (!EventEnabledBGCRevisit()) {return ERROR_SUCCESS;}
+ return FireEtXplatBGCRevisit(Pages,Objects,IsLarge,ClrInstanceID);
+}
+
+inline BOOL EventEnabledBGCOverflow() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBGCOverflow();}
+
+inline ULONG FireEtwBGCOverflow(
const unsigned __int64 Min,
const unsigned __int64 Max,
const unsigned __int64 Objects,
const unsigned int IsLarge,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBGCAllocWaitBegin();
-extern "C" ULONG FireEtwBGCAllocWaitBegin(
+)
+{
+ if (!EventEnabledBGCOverflow()) {return ERROR_SUCCESS;}
+ return FireEtXplatBGCOverflow(Min,Max,Objects,IsLarge,ClrInstanceID);
+}
+
+inline BOOL EventEnabledBGCAllocWaitBegin() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBGCAllocWaitBegin();}
+
+inline ULONG FireEtwBGCAllocWaitBegin(
const unsigned int Reason,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBGCAllocWaitEnd();
-extern "C" ULONG FireEtwBGCAllocWaitEnd(
+)
+{
+ if (!EventEnabledBGCAllocWaitBegin()) {return ERROR_SUCCESS;}
+ return FireEtXplatBGCAllocWaitBegin(Reason,ClrInstanceID);
+}
+
+inline BOOL EventEnabledBGCAllocWaitEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBGCAllocWaitEnd();}
+
+inline ULONG FireEtwBGCAllocWaitEnd(
const unsigned int Reason,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGCFullNotify();
-extern "C" ULONG FireEtwGCFullNotify(
+)
+{
+ if (!EventEnabledBGCAllocWaitEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatBGCAllocWaitEnd(Reason,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGCFullNotify() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCFullNotify();}
+
+inline ULONG FireEtwGCFullNotify(
const unsigned int GenNumber,
const unsigned int IsAlloc
-);
-extern "C" BOOL EventEnabledGCFullNotify_V1();
-extern "C" ULONG FireEtwGCFullNotify_V1(
+)
+{
+ if (!EventEnabledGCFullNotify()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCFullNotify(GenNumber,IsAlloc);
+}
+
+inline BOOL EventEnabledGCFullNotify_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGCFullNotify_V1();}
+
+inline ULONG FireEtwGCFullNotify_V1(
const unsigned int GenNumber,
const unsigned int IsAlloc,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledEEStartupStart();
-extern "C" ULONG FireEtwEEStartupStart(
-);
-extern "C" BOOL EventEnabledEEStartupStart_V1();
-extern "C" ULONG FireEtwEEStartupStart_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledEEStartupEnd();
-extern "C" ULONG FireEtwEEStartupEnd(
-);
-extern "C" BOOL EventEnabledEEStartupEnd_V1();
-extern "C" ULONG FireEtwEEStartupEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledEEConfigSetup();
-extern "C" ULONG FireEtwEEConfigSetup(
-);
-extern "C" BOOL EventEnabledEEConfigSetup_V1();
-extern "C" ULONG FireEtwEEConfigSetup_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledEEConfigSetupEnd();
-extern "C" ULONG FireEtwEEConfigSetupEnd(
-);
-extern "C" BOOL EventEnabledEEConfigSetupEnd_V1();
-extern "C" ULONG FireEtwEEConfigSetupEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledLdSysBases();
-extern "C" ULONG FireEtwLdSysBases(
-);
-extern "C" BOOL EventEnabledLdSysBases_V1();
-extern "C" ULONG FireEtwLdSysBases_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledLdSysBasesEnd();
-extern "C" ULONG FireEtwLdSysBasesEnd(
-);
-extern "C" BOOL EventEnabledLdSysBasesEnd_V1();
-extern "C" ULONG FireEtwLdSysBasesEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledExecExe();
-extern "C" ULONG FireEtwExecExe(
-);
-extern "C" BOOL EventEnabledExecExe_V1();
-extern "C" ULONG FireEtwExecExe_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledExecExeEnd();
-extern "C" ULONG FireEtwExecExeEnd(
-);
-extern "C" BOOL EventEnabledExecExeEnd_V1();
-extern "C" ULONG FireEtwExecExeEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMain();
-extern "C" ULONG FireEtwMain(
-);
-extern "C" BOOL EventEnabledMain_V1();
-extern "C" ULONG FireEtwMain_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMainEnd();
-extern "C" ULONG FireEtwMainEnd(
-);
-extern "C" BOOL EventEnabledMainEnd_V1();
-extern "C" ULONG FireEtwMainEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledApplyPolicyStart();
-extern "C" ULONG FireEtwApplyPolicyStart(
-);
-extern "C" BOOL EventEnabledApplyPolicyStart_V1();
-extern "C" ULONG FireEtwApplyPolicyStart_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledApplyPolicyEnd();
-extern "C" ULONG FireEtwApplyPolicyEnd(
-);
-extern "C" BOOL EventEnabledApplyPolicyEnd_V1();
-extern "C" ULONG FireEtwApplyPolicyEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledLdLibShFolder();
-extern "C" ULONG FireEtwLdLibShFolder(
-);
-extern "C" BOOL EventEnabledLdLibShFolder_V1();
-extern "C" ULONG FireEtwLdLibShFolder_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledLdLibShFolderEnd();
-extern "C" ULONG FireEtwLdLibShFolderEnd(
-);
-extern "C" BOOL EventEnabledLdLibShFolderEnd_V1();
-extern "C" ULONG FireEtwLdLibShFolderEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledPrestubWorker();
-extern "C" ULONG FireEtwPrestubWorker(
-);
-extern "C" BOOL EventEnabledPrestubWorker_V1();
-extern "C" ULONG FireEtwPrestubWorker_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledPrestubWorkerEnd();
-extern "C" ULONG FireEtwPrestubWorkerEnd(
-);
-extern "C" BOOL EventEnabledPrestubWorkerEnd_V1();
-extern "C" ULONG FireEtwPrestubWorkerEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGetInstallationStart();
-extern "C" ULONG FireEtwGetInstallationStart(
-);
-extern "C" BOOL EventEnabledGetInstallationStart_V1();
-extern "C" ULONG FireEtwGetInstallationStart_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGetInstallationEnd();
-extern "C" ULONG FireEtwGetInstallationEnd(
-);
-extern "C" BOOL EventEnabledGetInstallationEnd_V1();
-extern "C" ULONG FireEtwGetInstallationEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledOpenHModule();
-extern "C" ULONG FireEtwOpenHModule(
-);
-extern "C" BOOL EventEnabledOpenHModule_V1();
-extern "C" ULONG FireEtwOpenHModule_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledOpenHModuleEnd();
-extern "C" ULONG FireEtwOpenHModuleEnd(
-);
-extern "C" BOOL EventEnabledOpenHModuleEnd_V1();
-extern "C" ULONG FireEtwOpenHModuleEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledExplicitBindStart();
-extern "C" ULONG FireEtwExplicitBindStart(
-);
-extern "C" BOOL EventEnabledExplicitBindStart_V1();
-extern "C" ULONG FireEtwExplicitBindStart_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledExplicitBindEnd();
-extern "C" ULONG FireEtwExplicitBindEnd(
-);
-extern "C" BOOL EventEnabledExplicitBindEnd_V1();
-extern "C" ULONG FireEtwExplicitBindEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledParseXml();
-extern "C" ULONG FireEtwParseXml(
-);
-extern "C" BOOL EventEnabledParseXml_V1();
-extern "C" ULONG FireEtwParseXml_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledParseXmlEnd();
-extern "C" ULONG FireEtwParseXmlEnd(
-);
-extern "C" BOOL EventEnabledParseXmlEnd_V1();
-extern "C" ULONG FireEtwParseXmlEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledInitDefaultDomain();
-extern "C" ULONG FireEtwInitDefaultDomain(
-);
-extern "C" BOOL EventEnabledInitDefaultDomain_V1();
-extern "C" ULONG FireEtwInitDefaultDomain_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledInitDefaultDomainEnd();
-extern "C" ULONG FireEtwInitDefaultDomainEnd(
-);
-extern "C" BOOL EventEnabledInitDefaultDomainEnd_V1();
-extern "C" ULONG FireEtwInitDefaultDomainEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledInitSecurity();
-extern "C" ULONG FireEtwInitSecurity(
-);
-extern "C" BOOL EventEnabledInitSecurity_V1();
-extern "C" ULONG FireEtwInitSecurity_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledInitSecurityEnd();
-extern "C" ULONG FireEtwInitSecurityEnd(
-);
-extern "C" BOOL EventEnabledInitSecurityEnd_V1();
-extern "C" ULONG FireEtwInitSecurityEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledAllowBindingRedirs();
-extern "C" ULONG FireEtwAllowBindingRedirs(
-);
-extern "C" BOOL EventEnabledAllowBindingRedirs_V1();
-extern "C" ULONG FireEtwAllowBindingRedirs_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledAllowBindingRedirsEnd();
-extern "C" ULONG FireEtwAllowBindingRedirsEnd(
-);
-extern "C" BOOL EventEnabledAllowBindingRedirsEnd_V1();
-extern "C" ULONG FireEtwAllowBindingRedirsEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledEEConfigSync();
-extern "C" ULONG FireEtwEEConfigSync(
-);
-extern "C" BOOL EventEnabledEEConfigSync_V1();
-extern "C" ULONG FireEtwEEConfigSync_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledEEConfigSyncEnd();
-extern "C" ULONG FireEtwEEConfigSyncEnd(
-);
-extern "C" BOOL EventEnabledEEConfigSyncEnd_V1();
-extern "C" ULONG FireEtwEEConfigSyncEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledFusionBinding();
-extern "C" ULONG FireEtwFusionBinding(
-);
-extern "C" BOOL EventEnabledFusionBinding_V1();
-extern "C" ULONG FireEtwFusionBinding_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledFusionBindingEnd();
-extern "C" ULONG FireEtwFusionBindingEnd(
-);
-extern "C" BOOL EventEnabledFusionBindingEnd_V1();
-extern "C" ULONG FireEtwFusionBindingEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledLoaderCatchCall();
-extern "C" ULONG FireEtwLoaderCatchCall(
-);
-extern "C" BOOL EventEnabledLoaderCatchCall_V1();
-extern "C" ULONG FireEtwLoaderCatchCall_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledLoaderCatchCallEnd();
-extern "C" ULONG FireEtwLoaderCatchCallEnd(
-);
-extern "C" BOOL EventEnabledLoaderCatchCallEnd_V1();
-extern "C" ULONG FireEtwLoaderCatchCallEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledFusionInit();
-extern "C" ULONG FireEtwFusionInit(
-);
-extern "C" BOOL EventEnabledFusionInit_V1();
-extern "C" ULONG FireEtwFusionInit_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledFusionInitEnd();
-extern "C" ULONG FireEtwFusionInitEnd(
-);
-extern "C" BOOL EventEnabledFusionInitEnd_V1();
-extern "C" ULONG FireEtwFusionInitEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledFusionAppCtx();
-extern "C" ULONG FireEtwFusionAppCtx(
-);
-extern "C" BOOL EventEnabledFusionAppCtx_V1();
-extern "C" ULONG FireEtwFusionAppCtx_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledFusionAppCtxEnd();
-extern "C" ULONG FireEtwFusionAppCtxEnd(
-);
-extern "C" BOOL EventEnabledFusionAppCtxEnd_V1();
-extern "C" ULONG FireEtwFusionAppCtxEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledFusion2EE();
-extern "C" ULONG FireEtwFusion2EE(
-);
-extern "C" BOOL EventEnabledFusion2EE_V1();
-extern "C" ULONG FireEtwFusion2EE_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledFusion2EEEnd();
-extern "C" ULONG FireEtwFusion2EEEnd(
-);
-extern "C" BOOL EventEnabledFusion2EEEnd_V1();
-extern "C" ULONG FireEtwFusion2EEEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledSecurityCatchCall();
-extern "C" ULONG FireEtwSecurityCatchCall(
-);
-extern "C" BOOL EventEnabledSecurityCatchCall_V1();
-extern "C" ULONG FireEtwSecurityCatchCall_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledSecurityCatchCallEnd();
-extern "C" ULONG FireEtwSecurityCatchCallEnd(
-);
-extern "C" BOOL EventEnabledSecurityCatchCallEnd_V1();
-extern "C" ULONG FireEtwSecurityCatchCallEnd_V1(
- const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledCLRStackWalkPrivate();
-extern "C" ULONG FireEtwCLRStackWalkPrivate(
- const unsigned short ClrInstanceID,
+)
+{
+ if (!EventEnabledGCFullNotify_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGCFullNotify_V1(GenNumber,IsAlloc,ClrInstanceID);
+}
+
+inline BOOL EventEnabledEEStartupStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledEEStartupStart();}
+
+inline ULONG FireEtwEEStartupStart(
+)
+{
+ if (!EventEnabledEEStartupStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatEEStartupStart();
+}
+
+inline BOOL EventEnabledEEStartupStart_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledEEStartupStart_V1();}
+
+inline ULONG FireEtwEEStartupStart_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledEEStartupStart_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatEEStartupStart_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledEEStartupEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledEEStartupEnd();}
+
+inline ULONG FireEtwEEStartupEnd(
+)
+{
+ if (!EventEnabledEEStartupEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatEEStartupEnd();
+}
+
+inline BOOL EventEnabledEEStartupEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledEEStartupEnd_V1();}
+
+inline ULONG FireEtwEEStartupEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledEEStartupEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatEEStartupEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledEEConfigSetup() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledEEConfigSetup();}
+
+inline ULONG FireEtwEEConfigSetup(
+)
+{
+ if (!EventEnabledEEConfigSetup()) {return ERROR_SUCCESS;}
+ return FireEtXplatEEConfigSetup();
+}
+
+inline BOOL EventEnabledEEConfigSetup_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledEEConfigSetup_V1();}
+
+inline ULONG FireEtwEEConfigSetup_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledEEConfigSetup_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatEEConfigSetup_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledEEConfigSetupEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledEEConfigSetupEnd();}
+
+inline ULONG FireEtwEEConfigSetupEnd(
+)
+{
+ if (!EventEnabledEEConfigSetupEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatEEConfigSetupEnd();
+}
+
+inline BOOL EventEnabledEEConfigSetupEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledEEConfigSetupEnd_V1();}
+
+inline ULONG FireEtwEEConfigSetupEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledEEConfigSetupEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatEEConfigSetupEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledLdSysBases() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLdSysBases();}
+
+inline ULONG FireEtwLdSysBases(
+)
+{
+ if (!EventEnabledLdSysBases()) {return ERROR_SUCCESS;}
+ return FireEtXplatLdSysBases();
+}
+
+inline BOOL EventEnabledLdSysBases_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLdSysBases_V1();}
+
+inline ULONG FireEtwLdSysBases_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledLdSysBases_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatLdSysBases_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledLdSysBasesEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLdSysBasesEnd();}
+
+inline ULONG FireEtwLdSysBasesEnd(
+)
+{
+ if (!EventEnabledLdSysBasesEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatLdSysBasesEnd();
+}
+
+inline BOOL EventEnabledLdSysBasesEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLdSysBasesEnd_V1();}
+
+inline ULONG FireEtwLdSysBasesEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledLdSysBasesEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatLdSysBasesEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledExecExe() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledExecExe();}
+
+inline ULONG FireEtwExecExe(
+)
+{
+ if (!EventEnabledExecExe()) {return ERROR_SUCCESS;}
+ return FireEtXplatExecExe();
+}
+
+inline BOOL EventEnabledExecExe_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledExecExe_V1();}
+
+inline ULONG FireEtwExecExe_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledExecExe_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatExecExe_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledExecExeEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledExecExeEnd();}
+
+inline ULONG FireEtwExecExeEnd(
+)
+{
+ if (!EventEnabledExecExeEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatExecExeEnd();
+}
+
+inline BOOL EventEnabledExecExeEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledExecExeEnd_V1();}
+
+inline ULONG FireEtwExecExeEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledExecExeEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatExecExeEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledMain() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMain();}
+
+inline ULONG FireEtwMain(
+)
+{
+ if (!EventEnabledMain()) {return ERROR_SUCCESS;}
+ return FireEtXplatMain();
+}
+
+inline BOOL EventEnabledMain_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMain_V1();}
+
+inline ULONG FireEtwMain_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledMain_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatMain_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledMainEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMainEnd();}
+
+inline ULONG FireEtwMainEnd(
+)
+{
+ if (!EventEnabledMainEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatMainEnd();
+}
+
+inline BOOL EventEnabledMainEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMainEnd_V1();}
+
+inline ULONG FireEtwMainEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledMainEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatMainEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledApplyPolicyStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledApplyPolicyStart();}
+
+inline ULONG FireEtwApplyPolicyStart(
+)
+{
+ if (!EventEnabledApplyPolicyStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatApplyPolicyStart();
+}
+
+inline BOOL EventEnabledApplyPolicyStart_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledApplyPolicyStart_V1();}
+
+inline ULONG FireEtwApplyPolicyStart_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledApplyPolicyStart_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatApplyPolicyStart_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledApplyPolicyEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledApplyPolicyEnd();}
+
+inline ULONG FireEtwApplyPolicyEnd(
+)
+{
+ if (!EventEnabledApplyPolicyEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatApplyPolicyEnd();
+}
+
+inline BOOL EventEnabledApplyPolicyEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledApplyPolicyEnd_V1();}
+
+inline ULONG FireEtwApplyPolicyEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledApplyPolicyEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatApplyPolicyEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledLdLibShFolder() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLdLibShFolder();}
+
+inline ULONG FireEtwLdLibShFolder(
+)
+{
+ if (!EventEnabledLdLibShFolder()) {return ERROR_SUCCESS;}
+ return FireEtXplatLdLibShFolder();
+}
+
+inline BOOL EventEnabledLdLibShFolder_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLdLibShFolder_V1();}
+
+inline ULONG FireEtwLdLibShFolder_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledLdLibShFolder_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatLdLibShFolder_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledLdLibShFolderEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLdLibShFolderEnd();}
+
+inline ULONG FireEtwLdLibShFolderEnd(
+)
+{
+ if (!EventEnabledLdLibShFolderEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatLdLibShFolderEnd();
+}
+
+inline BOOL EventEnabledLdLibShFolderEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLdLibShFolderEnd_V1();}
+
+inline ULONG FireEtwLdLibShFolderEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledLdLibShFolderEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatLdLibShFolderEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledPrestubWorker() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledPrestubWorker();}
+
+inline ULONG FireEtwPrestubWorker(
+)
+{
+ if (!EventEnabledPrestubWorker()) {return ERROR_SUCCESS;}
+ return FireEtXplatPrestubWorker();
+}
+
+inline BOOL EventEnabledPrestubWorker_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledPrestubWorker_V1();}
+
+inline ULONG FireEtwPrestubWorker_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledPrestubWorker_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatPrestubWorker_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledPrestubWorkerEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledPrestubWorkerEnd();}
+
+inline ULONG FireEtwPrestubWorkerEnd(
+)
+{
+ if (!EventEnabledPrestubWorkerEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatPrestubWorkerEnd();
+}
+
+inline BOOL EventEnabledPrestubWorkerEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledPrestubWorkerEnd_V1();}
+
+inline ULONG FireEtwPrestubWorkerEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledPrestubWorkerEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatPrestubWorkerEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledGetInstallationStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGetInstallationStart();}
+
+inline ULONG FireEtwGetInstallationStart(
+)
+{
+ if (!EventEnabledGetInstallationStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatGetInstallationStart();
+}
+
+inline BOOL EventEnabledGetInstallationStart_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGetInstallationStart_V1();}
+
+inline ULONG FireEtwGetInstallationStart_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledGetInstallationStart_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGetInstallationStart_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledGetInstallationEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGetInstallationEnd();}
+
+inline ULONG FireEtwGetInstallationEnd(
+)
+{
+ if (!EventEnabledGetInstallationEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatGetInstallationEnd();
+}
+
+inline BOOL EventEnabledGetInstallationEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGetInstallationEnd_V1();}
+
+inline ULONG FireEtwGetInstallationEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledGetInstallationEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatGetInstallationEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledOpenHModule() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledOpenHModule();}
+
+inline ULONG FireEtwOpenHModule(
+)
+{
+ if (!EventEnabledOpenHModule()) {return ERROR_SUCCESS;}
+ return FireEtXplatOpenHModule();
+}
+
+inline BOOL EventEnabledOpenHModule_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledOpenHModule_V1();}
+
+inline ULONG FireEtwOpenHModule_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledOpenHModule_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatOpenHModule_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledOpenHModuleEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledOpenHModuleEnd();}
+
+inline ULONG FireEtwOpenHModuleEnd(
+)
+{
+ if (!EventEnabledOpenHModuleEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatOpenHModuleEnd();
+}
+
+inline BOOL EventEnabledOpenHModuleEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledOpenHModuleEnd_V1();}
+
+inline ULONG FireEtwOpenHModuleEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledOpenHModuleEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatOpenHModuleEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledExplicitBindStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledExplicitBindStart();}
+
+inline ULONG FireEtwExplicitBindStart(
+)
+{
+ if (!EventEnabledExplicitBindStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatExplicitBindStart();
+}
+
+inline BOOL EventEnabledExplicitBindStart_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledExplicitBindStart_V1();}
+
+inline ULONG FireEtwExplicitBindStart_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledExplicitBindStart_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatExplicitBindStart_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledExplicitBindEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledExplicitBindEnd();}
+
+inline ULONG FireEtwExplicitBindEnd(
+)
+{
+ if (!EventEnabledExplicitBindEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatExplicitBindEnd();
+}
+
+inline BOOL EventEnabledExplicitBindEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledExplicitBindEnd_V1();}
+
+inline ULONG FireEtwExplicitBindEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledExplicitBindEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatExplicitBindEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledParseXml() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledParseXml();}
+
+inline ULONG FireEtwParseXml(
+)
+{
+ if (!EventEnabledParseXml()) {return ERROR_SUCCESS;}
+ return FireEtXplatParseXml();
+}
+
+inline BOOL EventEnabledParseXml_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledParseXml_V1();}
+
+inline ULONG FireEtwParseXml_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledParseXml_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatParseXml_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledParseXmlEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledParseXmlEnd();}
+
+inline ULONG FireEtwParseXmlEnd(
+)
+{
+ if (!EventEnabledParseXmlEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatParseXmlEnd();
+}
+
+inline BOOL EventEnabledParseXmlEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledParseXmlEnd_V1();}
+
+inline ULONG FireEtwParseXmlEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledParseXmlEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatParseXmlEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledInitDefaultDomain() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledInitDefaultDomain();}
+
+inline ULONG FireEtwInitDefaultDomain(
+)
+{
+ if (!EventEnabledInitDefaultDomain()) {return ERROR_SUCCESS;}
+ return FireEtXplatInitDefaultDomain();
+}
+
+inline BOOL EventEnabledInitDefaultDomain_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledInitDefaultDomain_V1();}
+
+inline ULONG FireEtwInitDefaultDomain_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledInitDefaultDomain_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatInitDefaultDomain_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledInitDefaultDomainEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledInitDefaultDomainEnd();}
+
+inline ULONG FireEtwInitDefaultDomainEnd(
+)
+{
+ if (!EventEnabledInitDefaultDomainEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatInitDefaultDomainEnd();
+}
+
+inline BOOL EventEnabledInitDefaultDomainEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledInitDefaultDomainEnd_V1();}
+
+inline ULONG FireEtwInitDefaultDomainEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledInitDefaultDomainEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatInitDefaultDomainEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledInitSecurity() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledInitSecurity();}
+
+inline ULONG FireEtwInitSecurity(
+)
+{
+ if (!EventEnabledInitSecurity()) {return ERROR_SUCCESS;}
+ return FireEtXplatInitSecurity();
+}
+
+inline BOOL EventEnabledInitSecurity_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledInitSecurity_V1();}
+
+inline ULONG FireEtwInitSecurity_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledInitSecurity_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatInitSecurity_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledInitSecurityEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledInitSecurityEnd();}
+
+inline ULONG FireEtwInitSecurityEnd(
+)
+{
+ if (!EventEnabledInitSecurityEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatInitSecurityEnd();
+}
+
+inline BOOL EventEnabledInitSecurityEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledInitSecurityEnd_V1();}
+
+inline ULONG FireEtwInitSecurityEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledInitSecurityEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatInitSecurityEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledAllowBindingRedirs() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAllowBindingRedirs();}
+
+inline ULONG FireEtwAllowBindingRedirs(
+)
+{
+ if (!EventEnabledAllowBindingRedirs()) {return ERROR_SUCCESS;}
+ return FireEtXplatAllowBindingRedirs();
+}
+
+inline BOOL EventEnabledAllowBindingRedirs_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAllowBindingRedirs_V1();}
+
+inline ULONG FireEtwAllowBindingRedirs_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledAllowBindingRedirs_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatAllowBindingRedirs_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledAllowBindingRedirsEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAllowBindingRedirsEnd();}
+
+inline ULONG FireEtwAllowBindingRedirsEnd(
+)
+{
+ if (!EventEnabledAllowBindingRedirsEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatAllowBindingRedirsEnd();
+}
+
+inline BOOL EventEnabledAllowBindingRedirsEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAllowBindingRedirsEnd_V1();}
+
+inline ULONG FireEtwAllowBindingRedirsEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledAllowBindingRedirsEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatAllowBindingRedirsEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledEEConfigSync() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledEEConfigSync();}
+
+inline ULONG FireEtwEEConfigSync(
+)
+{
+ if (!EventEnabledEEConfigSync()) {return ERROR_SUCCESS;}
+ return FireEtXplatEEConfigSync();
+}
+
+inline BOOL EventEnabledEEConfigSync_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledEEConfigSync_V1();}
+
+inline ULONG FireEtwEEConfigSync_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledEEConfigSync_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatEEConfigSync_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledEEConfigSyncEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledEEConfigSyncEnd();}
+
+inline ULONG FireEtwEEConfigSyncEnd(
+)
+{
+ if (!EventEnabledEEConfigSyncEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatEEConfigSyncEnd();
+}
+
+inline BOOL EventEnabledEEConfigSyncEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledEEConfigSyncEnd_V1();}
+
+inline ULONG FireEtwEEConfigSyncEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledEEConfigSyncEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatEEConfigSyncEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledFusionBinding() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusionBinding();}
+
+inline ULONG FireEtwFusionBinding(
+)
+{
+ if (!EventEnabledFusionBinding()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusionBinding();
+}
+
+inline BOOL EventEnabledFusionBinding_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusionBinding_V1();}
+
+inline ULONG FireEtwFusionBinding_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledFusionBinding_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusionBinding_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledFusionBindingEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusionBindingEnd();}
+
+inline ULONG FireEtwFusionBindingEnd(
+)
+{
+ if (!EventEnabledFusionBindingEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusionBindingEnd();
+}
+
+inline BOOL EventEnabledFusionBindingEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusionBindingEnd_V1();}
+
+inline ULONG FireEtwFusionBindingEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledFusionBindingEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusionBindingEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledLoaderCatchCall() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLoaderCatchCall();}
+
+inline ULONG FireEtwLoaderCatchCall(
+)
+{
+ if (!EventEnabledLoaderCatchCall()) {return ERROR_SUCCESS;}
+ return FireEtXplatLoaderCatchCall();
+}
+
+inline BOOL EventEnabledLoaderCatchCall_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLoaderCatchCall_V1();}
+
+inline ULONG FireEtwLoaderCatchCall_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledLoaderCatchCall_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatLoaderCatchCall_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledLoaderCatchCallEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLoaderCatchCallEnd();}
+
+inline ULONG FireEtwLoaderCatchCallEnd(
+)
+{
+ if (!EventEnabledLoaderCatchCallEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatLoaderCatchCallEnd();
+}
+
+inline BOOL EventEnabledLoaderCatchCallEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLoaderCatchCallEnd_V1();}
+
+inline ULONG FireEtwLoaderCatchCallEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledLoaderCatchCallEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatLoaderCatchCallEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledFusionInit() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusionInit();}
+
+inline ULONG FireEtwFusionInit(
+)
+{
+ if (!EventEnabledFusionInit()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusionInit();
+}
+
+inline BOOL EventEnabledFusionInit_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusionInit_V1();}
+
+inline ULONG FireEtwFusionInit_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledFusionInit_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusionInit_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledFusionInitEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusionInitEnd();}
+
+inline ULONG FireEtwFusionInitEnd(
+)
+{
+ if (!EventEnabledFusionInitEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusionInitEnd();
+}
+
+inline BOOL EventEnabledFusionInitEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusionInitEnd_V1();}
+
+inline ULONG FireEtwFusionInitEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledFusionInitEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusionInitEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledFusionAppCtx() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusionAppCtx();}
+
+inline ULONG FireEtwFusionAppCtx(
+)
+{
+ if (!EventEnabledFusionAppCtx()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusionAppCtx();
+}
+
+inline BOOL EventEnabledFusionAppCtx_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusionAppCtx_V1();}
+
+inline ULONG FireEtwFusionAppCtx_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledFusionAppCtx_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusionAppCtx_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledFusionAppCtxEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusionAppCtxEnd();}
+
+inline ULONG FireEtwFusionAppCtxEnd(
+)
+{
+ if (!EventEnabledFusionAppCtxEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusionAppCtxEnd();
+}
+
+inline BOOL EventEnabledFusionAppCtxEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusionAppCtxEnd_V1();}
+
+inline ULONG FireEtwFusionAppCtxEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledFusionAppCtxEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusionAppCtxEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledFusion2EE() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusion2EE();}
+
+inline ULONG FireEtwFusion2EE(
+)
+{
+ if (!EventEnabledFusion2EE()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusion2EE();
+}
+
+inline BOOL EventEnabledFusion2EE_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusion2EE_V1();}
+
+inline ULONG FireEtwFusion2EE_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledFusion2EE_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusion2EE_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledFusion2EEEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusion2EEEnd();}
+
+inline ULONG FireEtwFusion2EEEnd(
+)
+{
+ if (!EventEnabledFusion2EEEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusion2EEEnd();
+}
+
+inline BOOL EventEnabledFusion2EEEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusion2EEEnd_V1();}
+
+inline ULONG FireEtwFusion2EEEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledFusion2EEEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusion2EEEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledSecurityCatchCall() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledSecurityCatchCall();}
+
+inline ULONG FireEtwSecurityCatchCall(
+)
+{
+ if (!EventEnabledSecurityCatchCall()) {return ERROR_SUCCESS;}
+ return FireEtXplatSecurityCatchCall();
+}
+
+inline BOOL EventEnabledSecurityCatchCall_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledSecurityCatchCall_V1();}
+
+inline ULONG FireEtwSecurityCatchCall_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledSecurityCatchCall_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatSecurityCatchCall_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledSecurityCatchCallEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledSecurityCatchCallEnd();}
+
+inline ULONG FireEtwSecurityCatchCallEnd(
+)
+{
+ if (!EventEnabledSecurityCatchCallEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatSecurityCatchCallEnd();
+}
+
+inline BOOL EventEnabledSecurityCatchCallEnd_V1() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledSecurityCatchCallEnd_V1();}
+
+inline ULONG FireEtwSecurityCatchCallEnd_V1(
+ const unsigned short ClrInstanceID
+)
+{
+ if (!EventEnabledSecurityCatchCallEnd_V1()) {return ERROR_SUCCESS;}
+ return FireEtXplatSecurityCatchCallEnd_V1(ClrInstanceID);
+}
+
+inline BOOL EventEnabledCLRStackWalkPrivate() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledCLRStackWalkPrivate();}
+
+inline ULONG FireEtwCLRStackWalkPrivate(
+ const unsigned short ClrInstanceID,
const unsigned char Reserved1,
const unsigned char Reserved2,
const unsigned int FrameCount,
const void** Stack
-);
-extern "C" BOOL EventEnabledModuleRangeLoadPrivate();
-extern "C" ULONG FireEtwModuleRangeLoadPrivate(
+)
+{
+ if (!EventEnabledCLRStackWalkPrivate()) {return ERROR_SUCCESS;}
+ return FireEtXplatCLRStackWalkPrivate(ClrInstanceID,Reserved1,Reserved2,FrameCount,Stack);
+}
+
+inline BOOL EventEnabledModuleRangeLoadPrivate() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleRangeLoadPrivate();}
+
+inline ULONG FireEtwModuleRangeLoadPrivate(
const unsigned short ClrInstanceID,
const unsigned __int64 ModuleID,
const unsigned int RangeBegin,
const unsigned char RangeType,
const unsigned char IBCType,
const unsigned short SectionType
-);
-extern "C" BOOL EventEnabledBindingPolicyPhaseStart();
-extern "C" ULONG FireEtwBindingPolicyPhaseStart(
+)
+{
+ if (!EventEnabledModuleRangeLoadPrivate()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleRangeLoadPrivate(ClrInstanceID,ModuleID,RangeBegin,RangeSize,RangeType,IBCType,SectionType);
+}
+
+inline BOOL EventEnabledBindingPolicyPhaseStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBindingPolicyPhaseStart();}
+
+inline ULONG FireEtwBindingPolicyPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBindingPolicyPhaseEnd();
-extern "C" ULONG FireEtwBindingPolicyPhaseEnd(
+)
+{
+ if (!EventEnabledBindingPolicyPhaseStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatBindingPolicyPhaseStart(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledBindingPolicyPhaseEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBindingPolicyPhaseEnd();}
+
+inline ULONG FireEtwBindingPolicyPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBindingNgenPhaseStart();
-extern "C" ULONG FireEtwBindingNgenPhaseStart(
+)
+{
+ if (!EventEnabledBindingPolicyPhaseEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatBindingPolicyPhaseEnd(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledBindingNgenPhaseStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBindingNgenPhaseStart();}
+
+inline ULONG FireEtwBindingNgenPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBindingNgenPhaseEnd();
-extern "C" ULONG FireEtwBindingNgenPhaseEnd(
+)
+{
+ if (!EventEnabledBindingNgenPhaseStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatBindingNgenPhaseStart(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledBindingNgenPhaseEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBindingNgenPhaseEnd();}
+
+inline ULONG FireEtwBindingNgenPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBindingLookupAndProbingPhaseStart();
-extern "C" ULONG FireEtwBindingLookupAndProbingPhaseStart(
+)
+{
+ if (!EventEnabledBindingNgenPhaseEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatBindingNgenPhaseEnd(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledBindingLookupAndProbingPhaseStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBindingLookupAndProbingPhaseStart();}
+
+inline ULONG FireEtwBindingLookupAndProbingPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBindingLookupAndProbingPhaseEnd();
-extern "C" ULONG FireEtwBindingLookupAndProbingPhaseEnd(
+)
+{
+ if (!EventEnabledBindingLookupAndProbingPhaseStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatBindingLookupAndProbingPhaseStart(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledBindingLookupAndProbingPhaseEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBindingLookupAndProbingPhaseEnd();}
+
+inline ULONG FireEtwBindingLookupAndProbingPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledLoaderPhaseStart();
-extern "C" ULONG FireEtwLoaderPhaseStart(
+)
+{
+ if (!EventEnabledBindingLookupAndProbingPhaseEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatBindingLookupAndProbingPhaseEnd(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledLoaderPhaseStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLoaderPhaseStart();}
+
+inline ULONG FireEtwLoaderPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledLoaderPhaseEnd();
-extern "C" ULONG FireEtwLoaderPhaseEnd(
+)
+{
+ if (!EventEnabledLoaderPhaseStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatLoaderPhaseStart(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledLoaderPhaseEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLoaderPhaseEnd();}
+
+inline ULONG FireEtwLoaderPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBindingPhaseStart();
-extern "C" ULONG FireEtwBindingPhaseStart(
+)
+{
+ if (!EventEnabledLoaderPhaseEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatLoaderPhaseEnd(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledBindingPhaseStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBindingPhaseStart();}
+
+inline ULONG FireEtwBindingPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBindingPhaseEnd();
-extern "C" ULONG FireEtwBindingPhaseEnd(
+)
+{
+ if (!EventEnabledBindingPhaseStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatBindingPhaseStart(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledBindingPhaseEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBindingPhaseEnd();}
+
+inline ULONG FireEtwBindingPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBindingDownloadPhaseStart();
-extern "C" ULONG FireEtwBindingDownloadPhaseStart(
+)
+{
+ if (!EventEnabledBindingPhaseEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatBindingPhaseEnd(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledBindingDownloadPhaseStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBindingDownloadPhaseStart();}
+
+inline ULONG FireEtwBindingDownloadPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBindingDownloadPhaseEnd();
-extern "C" ULONG FireEtwBindingDownloadPhaseEnd(
+)
+{
+ if (!EventEnabledBindingDownloadPhaseStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatBindingDownloadPhaseStart(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledBindingDownloadPhaseEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBindingDownloadPhaseEnd();}
+
+inline ULONG FireEtwBindingDownloadPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledLoaderAssemblyInitPhaseStart();
-extern "C" ULONG FireEtwLoaderAssemblyInitPhaseStart(
+)
+{
+ if (!EventEnabledBindingDownloadPhaseEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatBindingDownloadPhaseEnd(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledLoaderAssemblyInitPhaseStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLoaderAssemblyInitPhaseStart();}
+
+inline ULONG FireEtwLoaderAssemblyInitPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledLoaderAssemblyInitPhaseEnd();
-extern "C" ULONG FireEtwLoaderAssemblyInitPhaseEnd(
+)
+{
+ if (!EventEnabledLoaderAssemblyInitPhaseStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatLoaderAssemblyInitPhaseStart(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledLoaderAssemblyInitPhaseEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLoaderAssemblyInitPhaseEnd();}
+
+inline ULONG FireEtwLoaderAssemblyInitPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledLoaderMappingPhaseStart();
-extern "C" ULONG FireEtwLoaderMappingPhaseStart(
+)
+{
+ if (!EventEnabledLoaderAssemblyInitPhaseEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatLoaderAssemblyInitPhaseEnd(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledLoaderMappingPhaseStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLoaderMappingPhaseStart();}
+
+inline ULONG FireEtwLoaderMappingPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledLoaderMappingPhaseEnd();
-extern "C" ULONG FireEtwLoaderMappingPhaseEnd(
+)
+{
+ if (!EventEnabledLoaderMappingPhaseStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatLoaderMappingPhaseStart(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledLoaderMappingPhaseEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLoaderMappingPhaseEnd();}
+
+inline ULONG FireEtwLoaderMappingPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledLoaderDeliverEventsPhaseStart();
-extern "C" ULONG FireEtwLoaderDeliverEventsPhaseStart(
+)
+{
+ if (!EventEnabledLoaderMappingPhaseEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatLoaderMappingPhaseEnd(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledLoaderDeliverEventsPhaseStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLoaderDeliverEventsPhaseStart();}
+
+inline ULONG FireEtwLoaderDeliverEventsPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledLoaderDeliverEventsPhaseEnd();
-extern "C" ULONG FireEtwLoaderDeliverEventsPhaseEnd(
+)
+{
+ if (!EventEnabledLoaderDeliverEventsPhaseStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatLoaderDeliverEventsPhaseStart(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledLoaderDeliverEventsPhaseEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledLoaderDeliverEventsPhaseEnd();}
+
+inline ULONG FireEtwLoaderDeliverEventsPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
PCWSTR AssemblyCodebase,
PCWSTR AssemblyName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledEvidenceGenerated();
-extern "C" ULONG FireEtwEvidenceGenerated(
+)
+{
+ if (!EventEnabledLoaderDeliverEventsPhaseEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatLoaderDeliverEventsPhaseEnd(AppDomainID,LoadContextID,FromLoaderCache,DynamicLoad,AssemblyCodebase,AssemblyName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledEvidenceGenerated() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledEvidenceGenerated();}
+
+inline ULONG FireEtwEvidenceGenerated(
const unsigned int Type,
const unsigned int AppDomain,
PCWSTR ILImage,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledModuleTransparencyComputationStart();
-extern "C" ULONG FireEtwModuleTransparencyComputationStart(
+)
+{
+ if (!EventEnabledEvidenceGenerated()) {return ERROR_SUCCESS;}
+ return FireEtXplatEvidenceGenerated(Type,AppDomain,ILImage,ClrInstanceID);
+}
+
+inline BOOL EventEnabledModuleTransparencyComputationStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleTransparencyComputationStart();}
+
+inline ULONG FireEtwModuleTransparencyComputationStart(
PCWSTR Module,
const unsigned int AppDomainID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledModuleTransparencyComputationEnd();
-extern "C" ULONG FireEtwModuleTransparencyComputationEnd(
+)
+{
+ if (!EventEnabledModuleTransparencyComputationStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleTransparencyComputationStart(Module,AppDomainID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledModuleTransparencyComputationEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledModuleTransparencyComputationEnd();}
+
+inline ULONG FireEtwModuleTransparencyComputationEnd(
PCWSTR Module,
const unsigned int AppDomainID,
const BOOL IsAllCritical,
const BOOL IsOpportunisticallyCritical,
const unsigned int SecurityRuleSet,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledTypeTransparencyComputationStart();
-extern "C" ULONG FireEtwTypeTransparencyComputationStart(
+)
+{
+ if (!EventEnabledModuleTransparencyComputationEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatModuleTransparencyComputationEnd(Module,AppDomainID,IsAllCritical,IsAllTransparent,IsTreatAsSafe,IsOpportunisticallyCritical,SecurityRuleSet,ClrInstanceID);
+}
+
+inline BOOL EventEnabledTypeTransparencyComputationStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledTypeTransparencyComputationStart();}
+
+inline ULONG FireEtwTypeTransparencyComputationStart(
PCWSTR Type,
PCWSTR Module,
const unsigned int AppDomainID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledTypeTransparencyComputationEnd();
-extern "C" ULONG FireEtwTypeTransparencyComputationEnd(
+)
+{
+ if (!EventEnabledTypeTransparencyComputationStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatTypeTransparencyComputationStart(Type,Module,AppDomainID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledTypeTransparencyComputationEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledTypeTransparencyComputationEnd();}
+
+inline ULONG FireEtwTypeTransparencyComputationEnd(
PCWSTR Type,
PCWSTR Module,
const unsigned int AppDomainID,
const BOOL IsCritical,
const BOOL IsTreatAsSafe,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMethodTransparencyComputationStart();
-extern "C" ULONG FireEtwMethodTransparencyComputationStart(
+)
+{
+ if (!EventEnabledTypeTransparencyComputationEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatTypeTransparencyComputationEnd(Type,Module,AppDomainID,IsAllCritical,IsAllTransparent,IsCritical,IsTreatAsSafe,ClrInstanceID);
+}
+
+inline BOOL EventEnabledMethodTransparencyComputationStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodTransparencyComputationStart();}
+
+inline ULONG FireEtwMethodTransparencyComputationStart(
PCWSTR Method,
PCWSTR Module,
const unsigned int AppDomainID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMethodTransparencyComputationEnd();
-extern "C" ULONG FireEtwMethodTransparencyComputationEnd(
+)
+{
+ if (!EventEnabledMethodTransparencyComputationStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodTransparencyComputationStart(Method,Module,AppDomainID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledMethodTransparencyComputationEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMethodTransparencyComputationEnd();}
+
+inline ULONG FireEtwMethodTransparencyComputationEnd(
PCWSTR Method,
PCWSTR Module,
const unsigned int AppDomainID,
const BOOL IsCritical,
const BOOL IsTreatAsSafe,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledFieldTransparencyComputationStart();
-extern "C" ULONG FireEtwFieldTransparencyComputationStart(
+)
+{
+ if (!EventEnabledMethodTransparencyComputationEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatMethodTransparencyComputationEnd(Method,Module,AppDomainID,IsCritical,IsTreatAsSafe,ClrInstanceID);
+}
+
+inline BOOL EventEnabledFieldTransparencyComputationStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFieldTransparencyComputationStart();}
+
+inline ULONG FireEtwFieldTransparencyComputationStart(
PCWSTR Field,
PCWSTR Module,
const unsigned int AppDomainID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledFieldTransparencyComputationEnd();
-extern "C" ULONG FireEtwFieldTransparencyComputationEnd(
+)
+{
+ if (!EventEnabledFieldTransparencyComputationStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatFieldTransparencyComputationStart(Field,Module,AppDomainID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledFieldTransparencyComputationEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFieldTransparencyComputationEnd();}
+
+inline ULONG FireEtwFieldTransparencyComputationEnd(
PCWSTR Field,
PCWSTR Module,
const unsigned int AppDomainID,
const BOOL IsCritical,
const BOOL IsTreatAsSafe,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledTokenTransparencyComputationStart();
-extern "C" ULONG FireEtwTokenTransparencyComputationStart(
+)
+{
+ if (!EventEnabledFieldTransparencyComputationEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatFieldTransparencyComputationEnd(Field,Module,AppDomainID,IsCritical,IsTreatAsSafe,ClrInstanceID);
+}
+
+inline BOOL EventEnabledTokenTransparencyComputationStart() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledTokenTransparencyComputationStart();}
+
+inline ULONG FireEtwTokenTransparencyComputationStart(
const unsigned int Token,
PCWSTR Module,
const unsigned int AppDomainID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledTokenTransparencyComputationEnd();
-extern "C" ULONG FireEtwTokenTransparencyComputationEnd(
+)
+{
+ if (!EventEnabledTokenTransparencyComputationStart()) {return ERROR_SUCCESS;}
+ return FireEtXplatTokenTransparencyComputationStart(Token,Module,AppDomainID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledTokenTransparencyComputationEnd() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledTokenTransparencyComputationEnd();}
+
+inline ULONG FireEtwTokenTransparencyComputationEnd(
const unsigned int Token,
PCWSTR Module,
const unsigned int AppDomainID,
const BOOL IsCritical,
const BOOL IsTreatAsSafe,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledNgenBindEvent();
-extern "C" ULONG FireEtwNgenBindEvent(
+)
+{
+ if (!EventEnabledTokenTransparencyComputationEnd()) {return ERROR_SUCCESS;}
+ return FireEtXplatTokenTransparencyComputationEnd(Token,Module,AppDomainID,IsCritical,IsTreatAsSafe,ClrInstanceID);
+}
+
+inline BOOL EventEnabledNgenBindEvent() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledNgenBindEvent();}
+
+inline ULONG FireEtwNgenBindEvent(
const unsigned short ClrInstanceID,
const unsigned __int64 BindingID,
const unsigned int ReasonCode,
PCWSTR AssemblyName
-);
-extern "C" BOOL EventEnabledFailFast();
-extern "C" ULONG FireEtwFailFast(
+)
+{
+ if (!EventEnabledNgenBindEvent()) {return ERROR_SUCCESS;}
+ return FireEtXplatNgenBindEvent(ClrInstanceID,BindingID,ReasonCode,AssemblyName);
+}
+
+inline BOOL EventEnabledFailFast() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFailFast();}
+
+inline ULONG FireEtwFailFast(
PCWSTR FailFastUserMessage,
const void* FailedEIP,
const unsigned int OSExitCode,
const unsigned int ClrExitCode,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledPrvFinalizeObject();
-extern "C" ULONG FireEtwPrvFinalizeObject(
+)
+{
+ if (!EventEnabledFailFast()) {return ERROR_SUCCESS;}
+ return FireEtXplatFailFast(FailFastUserMessage,FailedEIP,OSExitCode,ClrExitCode,ClrInstanceID);
+}
+
+inline BOOL EventEnabledPrvFinalizeObject() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledPrvFinalizeObject();}
+
+inline ULONG FireEtwPrvFinalizeObject(
const void* TypeID,
const void* ObjectID,
const unsigned short ClrInstanceID,
PCWSTR TypeName
-);
-extern "C" BOOL EventEnabledCCWRefCountChange();
-extern "C" ULONG FireEtwCCWRefCountChange(
+)
+{
+ if (!EventEnabledPrvFinalizeObject()) {return ERROR_SUCCESS;}
+ return FireEtXplatPrvFinalizeObject(TypeID,ObjectID,ClrInstanceID,TypeName);
+}
+
+inline BOOL EventEnabledCCWRefCountChange() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledCCWRefCountChange();}
+
+inline ULONG FireEtwCCWRefCountChange(
const void* HandleID,
const void* ObjectID,
const void* COMInterfacePointer,
LPCSTR NameSpace,
PCWSTR Operation,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledPrvSetGCHandle();
-extern "C" ULONG FireEtwPrvSetGCHandle(
+)
+{
+ if (!EventEnabledCCWRefCountChange()) {return ERROR_SUCCESS;}
+ return FireEtXplatCCWRefCountChange(HandleID,ObjectID,COMInterfacePointer,NewRefCount,AppDomainID,ClassName,NameSpace,Operation,ClrInstanceID);
+}
+
+inline BOOL EventEnabledPrvSetGCHandle() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledPrvSetGCHandle();}
+
+inline ULONG FireEtwPrvSetGCHandle(
const void* HandleID,
const void* ObjectID,
const unsigned int Kind,
const unsigned int Generation,
const unsigned __int64 AppDomainID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledPrvDestroyGCHandle();
-extern "C" ULONG FireEtwPrvDestroyGCHandle(
+)
+{
+ if (!EventEnabledPrvSetGCHandle()) {return ERROR_SUCCESS;}
+ return FireEtXplatPrvSetGCHandle(HandleID,ObjectID,Kind,Generation,AppDomainID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledPrvDestroyGCHandle() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledPrvDestroyGCHandle();}
+
+inline ULONG FireEtwPrvDestroyGCHandle(
const void* HandleID,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledFusionMessageEvent();
-extern "C" ULONG FireEtwFusionMessageEvent(
+)
+{
+ if (!EventEnabledPrvDestroyGCHandle()) {return ERROR_SUCCESS;}
+ return FireEtXplatPrvDestroyGCHandle(HandleID,ClrInstanceID);
+}
+
+inline BOOL EventEnabledFusionMessageEvent() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusionMessageEvent();}
+
+inline ULONG FireEtwFusionMessageEvent(
const unsigned short ClrInstanceID,
const BOOL Prepend,
PCWSTR Message
-);
-extern "C" BOOL EventEnabledFusionErrorCodeEvent();
-extern "C" ULONG FireEtwFusionErrorCodeEvent(
+)
+{
+ if (!EventEnabledFusionMessageEvent()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusionMessageEvent(ClrInstanceID,Prepend,Message);
+}
+
+inline BOOL EventEnabledFusionErrorCodeEvent() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledFusionErrorCodeEvent();}
+
+inline ULONG FireEtwFusionErrorCodeEvent(
const unsigned short ClrInstanceID,
const unsigned int Category,
const unsigned int ErrorCode
-);
-extern "C" BOOL EventEnabledPinPlugAtGCTime();
-extern "C" ULONG FireEtwPinPlugAtGCTime(
+)
+{
+ if (!EventEnabledFusionErrorCodeEvent()) {return ERROR_SUCCESS;}
+ return FireEtXplatFusionErrorCodeEvent(ClrInstanceID,Category,ErrorCode);
+}
+
+inline BOOL EventEnabledPinPlugAtGCTime() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledPinPlugAtGCTime();}
+
+inline ULONG FireEtwPinPlugAtGCTime(
const void* PlugStart,
const void* PlugEnd,
const void* GapBeforeSize,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledAllocRequest();
-extern "C" ULONG FireEtwAllocRequest(
+)
+{
+ if (!EventEnabledPinPlugAtGCTime()) {return ERROR_SUCCESS;}
+ return FireEtXplatPinPlugAtGCTime(PlugStart,PlugEnd,GapBeforeSize,ClrInstanceID);
+}
+
+inline BOOL EventEnabledAllocRequest() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledAllocRequest();}
+
+inline ULONG FireEtwAllocRequest(
const void* LoaderHeapPtr,
const void* MemoryAddress,
const unsigned int RequestSize,
const unsigned int Unused1,
const unsigned __int64 Unused2,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledMulticoreJit();
-extern "C" ULONG FireEtwMulticoreJit(
+)
+{
+ if (!EventEnabledAllocRequest()) {return ERROR_SUCCESS;}
+ return FireEtXplatAllocRequest(LoaderHeapPtr,MemoryAddress,RequestSize,Unused1,Unused2,ClrInstanceID);
+}
+
+inline BOOL EventEnabledMulticoreJit() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMulticoreJit();}
+
+inline ULONG FireEtwMulticoreJit(
const unsigned short ClrInstanceID,
PCWSTR String1,
PCWSTR String2,
const signed int Int1,
const signed int Int2,
const signed int Int3
-);
-extern "C" BOOL EventEnabledMulticoreJitMethodCodeReturned();
-extern "C" ULONG FireEtwMulticoreJitMethodCodeReturned(
+)
+{
+ if (!EventEnabledMulticoreJit()) {return ERROR_SUCCESS;}
+ return FireEtXplatMulticoreJit(ClrInstanceID,String1,String2,Int1,Int2,Int3);
+}
+
+inline BOOL EventEnabledMulticoreJitMethodCodeReturned() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledMulticoreJitMethodCodeReturned();}
+
+inline ULONG FireEtwMulticoreJitMethodCodeReturned(
const unsigned short ClrInstanceID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodID
-);
-extern "C" BOOL EventEnabledIInspectableRuntimeClassName();
-extern "C" ULONG FireEtwIInspectableRuntimeClassName(
+)
+{
+ if (!EventEnabledMulticoreJitMethodCodeReturned()) {return ERROR_SUCCESS;}
+ return FireEtXplatMulticoreJitMethodCodeReturned(ClrInstanceID,ModuleID,MethodID);
+}
+
+inline BOOL EventEnabledIInspectableRuntimeClassName() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledIInspectableRuntimeClassName();}
+
+inline ULONG FireEtwIInspectableRuntimeClassName(
PCWSTR TypeName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledWinRTUnbox();
-extern "C" ULONG FireEtwWinRTUnbox(
+)
+{
+ if (!EventEnabledIInspectableRuntimeClassName()) {return ERROR_SUCCESS;}
+ return FireEtXplatIInspectableRuntimeClassName(TypeName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledWinRTUnbox() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledWinRTUnbox();}
+
+inline ULONG FireEtwWinRTUnbox(
PCWSTR TypeName,
PCWSTR SecondTypeName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledCreateRCW();
-extern "C" ULONG FireEtwCreateRCW(
+)
+{
+ if (!EventEnabledWinRTUnbox()) {return ERROR_SUCCESS;}
+ return FireEtXplatWinRTUnbox(TypeName,SecondTypeName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledCreateRCW() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledCreateRCW();}
+
+inline ULONG FireEtwCreateRCW(
PCWSTR TypeName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledRCWVariance();
-extern "C" ULONG FireEtwRCWVariance(
+)
+{
+ if (!EventEnabledCreateRCW()) {return ERROR_SUCCESS;}
+ return FireEtXplatCreateRCW(TypeName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledRCWVariance() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledRCWVariance();}
+
+inline ULONG FireEtwRCWVariance(
PCWSTR TypeName,
PCWSTR InterfaceTypeName,
PCWSTR VariantInterfaceTypeName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledRCWIEnumerableCasting();
-extern "C" ULONG FireEtwRCWIEnumerableCasting(
+)
+{
+ if (!EventEnabledRCWVariance()) {return ERROR_SUCCESS;}
+ return FireEtXplatRCWVariance(TypeName,InterfaceTypeName,VariantInterfaceTypeName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledRCWIEnumerableCasting() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledRCWIEnumerableCasting();}
+
+inline ULONG FireEtwRCWIEnumerableCasting(
PCWSTR TypeName,
PCWSTR SecondTypeName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledCreateCCW();
-extern "C" ULONG FireEtwCreateCCW(
+)
+{
+ if (!EventEnabledRCWIEnumerableCasting()) {return ERROR_SUCCESS;}
+ return FireEtXplatRCWIEnumerableCasting(TypeName,SecondTypeName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledCreateCCW() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledCreateCCW();}
+
+inline ULONG FireEtwCreateCCW(
PCWSTR TypeName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledCCWVariance();
-extern "C" ULONG FireEtwCCWVariance(
+)
+{
+ if (!EventEnabledCreateCCW()) {return ERROR_SUCCESS;}
+ return FireEtXplatCreateCCW(TypeName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledCCWVariance() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledCCWVariance();}
+
+inline ULONG FireEtwCCWVariance(
PCWSTR TypeName,
PCWSTR InterfaceTypeName,
PCWSTR VariantInterfaceTypeName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledObjectVariantMarshallingToNative();
-extern "C" ULONG FireEtwObjectVariantMarshallingToNative(
+)
+{
+ if (!EventEnabledCCWVariance()) {return ERROR_SUCCESS;}
+ return FireEtXplatCCWVariance(TypeName,InterfaceTypeName,VariantInterfaceTypeName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledObjectVariantMarshallingToNative() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledObjectVariantMarshallingToNative();}
+
+inline ULONG FireEtwObjectVariantMarshallingToNative(
PCWSTR TypeName,
const signed int Int1,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGetTypeFromGUID();
-extern "C" ULONG FireEtwGetTypeFromGUID(
+)
+{
+ if (!EventEnabledObjectVariantMarshallingToNative()) {return ERROR_SUCCESS;}
+ return FireEtXplatObjectVariantMarshallingToNative(TypeName,Int1,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGetTypeFromGUID() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGetTypeFromGUID();}
+
+inline ULONG FireEtwGetTypeFromGUID(
PCWSTR TypeName,
PCWSTR SecondTypeName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledGetTypeFromProgID();
-extern "C" ULONG FireEtwGetTypeFromProgID(
+)
+{
+ if (!EventEnabledGetTypeFromGUID()) {return ERROR_SUCCESS;}
+ return FireEtXplatGetTypeFromGUID(TypeName,SecondTypeName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledGetTypeFromProgID() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledGetTypeFromProgID();}
+
+inline ULONG FireEtwGetTypeFromProgID(
PCWSTR TypeName,
PCWSTR SecondTypeName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledConvertToCallbackEtw();
-extern "C" ULONG FireEtwConvertToCallbackEtw(
+)
+{
+ if (!EventEnabledGetTypeFromProgID()) {return ERROR_SUCCESS;}
+ return FireEtXplatGetTypeFromProgID(TypeName,SecondTypeName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledConvertToCallbackEtw() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledConvertToCallbackEtw();}
+
+inline ULONG FireEtwConvertToCallbackEtw(
PCWSTR TypeName,
PCWSTR SecondTypeName,
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledBeginCreateManagedReference();
-extern "C" ULONG FireEtwBeginCreateManagedReference(
+)
+{
+ if (!EventEnabledConvertToCallbackEtw()) {return ERROR_SUCCESS;}
+ return FireEtXplatConvertToCallbackEtw(TypeName,SecondTypeName,ClrInstanceID);
+}
+
+inline BOOL EventEnabledBeginCreateManagedReference() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledBeginCreateManagedReference();}
+
+inline ULONG FireEtwBeginCreateManagedReference(
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledEndCreateManagedReference();
-extern "C" ULONG FireEtwEndCreateManagedReference(
+)
+{
+ if (!EventEnabledBeginCreateManagedReference()) {return ERROR_SUCCESS;}
+ return FireEtXplatBeginCreateManagedReference(ClrInstanceID);
+}
+
+inline BOOL EventEnabledEndCreateManagedReference() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledEndCreateManagedReference();}
+
+inline ULONG FireEtwEndCreateManagedReference(
const unsigned short ClrInstanceID
-);
-extern "C" BOOL EventEnabledObjectVariantMarshallingToManaged();
-extern "C" ULONG FireEtwObjectVariantMarshallingToManaged(
+)
+{
+ if (!EventEnabledEndCreateManagedReference()) {return ERROR_SUCCESS;}
+ return FireEtXplatEndCreateManagedReference(ClrInstanceID);
+}
+
+inline BOOL EventEnabledObjectVariantMarshallingToManaged() {return XplatEventLogger::IsEventLoggingEnabled() && EventXplatEnabledObjectVariantMarshallingToManaged();}
+
+inline ULONG FireEtwObjectVariantMarshallingToManaged(
PCWSTR TypeName,
const signed int Int1,
const unsigned short ClrInstanceID
-);
+)
+{
+ if (!EventEnabledObjectVariantMarshallingToManaged()) {return ERROR_SUCCESS;}
+ return FireEtXplatObjectVariantMarshallingToManaged(TypeName,Int1,ClrInstanceID);
+}
+
--- /dev/null
+//
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+//
+
+/******************************************************************
+
+DO NOT MODIFY. AUTOGENERATED FILE.
+This file is generated using the logic from <root>/src/inc/genXplatEtw.pl
+
+******************************************************************/
+
+extern "C" BOOL EventXplatEnabledGCStart();
+extern "C" ULONG FireEtXplatGCStart(
+ const unsigned int Count,
+ const unsigned int Reason
+);
+extern "C" BOOL EventXplatEnabledGCStart_V1();
+extern "C" ULONG FireEtXplatGCStart_V1(
+ const unsigned int Count,
+ const unsigned int Depth,
+ const unsigned int Reason,
+ const unsigned int Type,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCStart_V2();
+extern "C" ULONG FireEtXplatGCStart_V2(
+ const unsigned int Count,
+ const unsigned int Depth,
+ const unsigned int Reason,
+ const unsigned int Type,
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 ClientSequenceNumber
+);
+extern "C" BOOL EventXplatEnabledGCEnd();
+extern "C" ULONG FireEtXplatGCEnd(
+ const unsigned int Count,
+ const unsigned short Depth
+);
+extern "C" BOOL EventXplatEnabledGCEnd_V1();
+extern "C" ULONG FireEtXplatGCEnd_V1(
+ const unsigned int Count,
+ const unsigned int Depth,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCRestartEEEnd();
+extern "C" ULONG FireEtXplatGCRestartEEEnd(
+);
+extern "C" BOOL EventXplatEnabledGCRestartEEEnd_V1();
+extern "C" ULONG FireEtXplatGCRestartEEEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCHeapStats();
+extern "C" ULONG FireEtXplatGCHeapStats(
+ const unsigned __int64 GenerationSize0,
+ const unsigned __int64 TotalPromotedSize0,
+ const unsigned __int64 GenerationSize1,
+ const unsigned __int64 TotalPromotedSize1,
+ const unsigned __int64 GenerationSize2,
+ const unsigned __int64 TotalPromotedSize2,
+ const unsigned __int64 GenerationSize3,
+ const unsigned __int64 TotalPromotedSize3,
+ const unsigned __int64 FinalizationPromotedSize,
+ const unsigned __int64 FinalizationPromotedCount,
+ const unsigned int PinnedObjectCount,
+ const unsigned int SinkBlockCount,
+ const unsigned int GCHandleCount
+);
+extern "C" BOOL EventXplatEnabledGCHeapStats_V1();
+extern "C" ULONG FireEtXplatGCHeapStats_V1(
+ const unsigned __int64 GenerationSize0,
+ const unsigned __int64 TotalPromotedSize0,
+ const unsigned __int64 GenerationSize1,
+ const unsigned __int64 TotalPromotedSize1,
+ const unsigned __int64 GenerationSize2,
+ const unsigned __int64 TotalPromotedSize2,
+ const unsigned __int64 GenerationSize3,
+ const unsigned __int64 TotalPromotedSize3,
+ const unsigned __int64 FinalizationPromotedSize,
+ const unsigned __int64 FinalizationPromotedCount,
+ const unsigned int PinnedObjectCount,
+ const unsigned int SinkBlockCount,
+ const unsigned int GCHandleCount,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCCreateSegment();
+extern "C" ULONG FireEtXplatGCCreateSegment(
+ const unsigned __int64 Address,
+ const unsigned __int64 Size,
+ const unsigned int Type
+);
+extern "C" BOOL EventXplatEnabledGCCreateSegment_V1();
+extern "C" ULONG FireEtXplatGCCreateSegment_V1(
+ const unsigned __int64 Address,
+ const unsigned __int64 Size,
+ const unsigned int Type,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCFreeSegment();
+extern "C" ULONG FireEtXplatGCFreeSegment(
+ const unsigned __int64 Address
+);
+extern "C" BOOL EventXplatEnabledGCFreeSegment_V1();
+extern "C" ULONG FireEtXplatGCFreeSegment_V1(
+ const unsigned __int64 Address,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCRestartEEBegin();
+extern "C" ULONG FireEtXplatGCRestartEEBegin(
+);
+extern "C" BOOL EventXplatEnabledGCRestartEEBegin_V1();
+extern "C" ULONG FireEtXplatGCRestartEEBegin_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCSuspendEEEnd();
+extern "C" ULONG FireEtXplatGCSuspendEEEnd(
+);
+extern "C" BOOL EventXplatEnabledGCSuspendEEEnd_V1();
+extern "C" ULONG FireEtXplatGCSuspendEEEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCSuspendEEBegin();
+extern "C" ULONG FireEtXplatGCSuspendEEBegin(
+ const unsigned short Reason
+);
+extern "C" BOOL EventXplatEnabledGCSuspendEEBegin_V1();
+extern "C" ULONG FireEtXplatGCSuspendEEBegin_V1(
+ const unsigned int Reason,
+ const unsigned int Count,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCAllocationTick();
+extern "C" ULONG FireEtXplatGCAllocationTick(
+ const unsigned int AllocationAmount,
+ const unsigned int AllocationKind
+);
+extern "C" BOOL EventXplatEnabledGCAllocationTick_V1();
+extern "C" ULONG FireEtXplatGCAllocationTick_V1(
+ const unsigned int AllocationAmount,
+ const unsigned int AllocationKind,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCAllocationTick_V2();
+extern "C" ULONG FireEtXplatGCAllocationTick_V2(
+ const unsigned int AllocationAmount,
+ const unsigned int AllocationKind,
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 AllocationAmount64,
+ const void* TypeID,
+ PCWSTR TypeName,
+ const unsigned int HeapIndex
+);
+extern "C" BOOL EventXplatEnabledGCAllocationTick_V3();
+extern "C" ULONG FireEtXplatGCAllocationTick_V3(
+ const unsigned int AllocationAmount,
+ const unsigned int AllocationKind,
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 AllocationAmount64,
+ const void* TypeID,
+ PCWSTR TypeName,
+ const unsigned int HeapIndex,
+ const void* Address
+);
+extern "C" BOOL EventXplatEnabledGCCreateConcurrentThread();
+extern "C" ULONG FireEtXplatGCCreateConcurrentThread(
+);
+extern "C" BOOL EventXplatEnabledGCCreateConcurrentThread_V1();
+extern "C" ULONG FireEtXplatGCCreateConcurrentThread_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCTerminateConcurrentThread();
+extern "C" ULONG FireEtXplatGCTerminateConcurrentThread(
+);
+extern "C" BOOL EventXplatEnabledGCTerminateConcurrentThread_V1();
+extern "C" ULONG FireEtXplatGCTerminateConcurrentThread_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCFinalizersEnd();
+extern "C" ULONG FireEtXplatGCFinalizersEnd(
+ const unsigned int Count
+);
+extern "C" BOOL EventXplatEnabledGCFinalizersEnd_V1();
+extern "C" ULONG FireEtXplatGCFinalizersEnd_V1(
+ const unsigned int Count,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCFinalizersBegin();
+extern "C" ULONG FireEtXplatGCFinalizersBegin(
+);
+extern "C" BOOL EventXplatEnabledGCFinalizersBegin_V1();
+extern "C" ULONG FireEtXplatGCFinalizersBegin_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBulkType();
+extern "C" ULONG FireEtXplatBulkType(
+ const unsigned int Count,
+ const unsigned short ClrInstanceID,
+ const ULONG Arg2_Struct_Len_,
+ const void* Arg2_Struct_Pointer_
+);
+extern "C" BOOL EventXplatEnabledGCBulkRootEdge();
+extern "C" ULONG FireEtXplatGCBulkRootEdge(
+ const unsigned int Index,
+ const unsigned int Count,
+ const unsigned short ClrInstanceID,
+ const ULONG Arg3_Struct_Len_,
+ const void* Arg3_Struct_Pointer_
+);
+extern "C" BOOL EventXplatEnabledGCBulkRootConditionalWeakTableElementEdge();
+extern "C" ULONG FireEtXplatGCBulkRootConditionalWeakTableElementEdge(
+ const unsigned int Index,
+ const unsigned int Count,
+ const unsigned short ClrInstanceID,
+ const ULONG Arg3_Struct_Len_,
+ const void* Arg3_Struct_Pointer_
+);
+extern "C" BOOL EventXplatEnabledGCBulkNode();
+extern "C" ULONG FireEtXplatGCBulkNode(
+ const unsigned int Index,
+ const unsigned int Count,
+ const unsigned short ClrInstanceID,
+ const ULONG Arg3_Struct_Len_,
+ const void* Arg3_Struct_Pointer_
+);
+extern "C" BOOL EventXplatEnabledGCBulkEdge();
+extern "C" ULONG FireEtXplatGCBulkEdge(
+ const unsigned int Index,
+ const unsigned int Count,
+ const unsigned short ClrInstanceID,
+ const ULONG Arg3_Struct_Len_,
+ const void* Arg3_Struct_Pointer_
+);
+extern "C" BOOL EventXplatEnabledGCSampledObjectAllocationHigh();
+extern "C" ULONG FireEtXplatGCSampledObjectAllocationHigh(
+ const void* Address,
+ const void* TypeID,
+ const unsigned int ObjectCountForTypeSample,
+ const unsigned __int64 TotalSizeForTypeSample,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCBulkSurvivingObjectRanges();
+extern "C" ULONG FireEtXplatGCBulkSurvivingObjectRanges(
+ const unsigned int Index,
+ const unsigned int Count,
+ const unsigned short ClrInstanceID,
+ const ULONG Arg3_Struct_Len_,
+ const void* Arg3_Struct_Pointer_
+);
+extern "C" BOOL EventXplatEnabledGCBulkMovedObjectRanges();
+extern "C" ULONG FireEtXplatGCBulkMovedObjectRanges(
+ const unsigned int Index,
+ const unsigned int Count,
+ const unsigned short ClrInstanceID,
+ const ULONG Arg3_Struct_Len_,
+ const void* Arg3_Struct_Pointer_
+);
+extern "C" BOOL EventXplatEnabledGCGenerationRange();
+extern "C" ULONG FireEtXplatGCGenerationRange(
+ const unsigned char Generation,
+ const void* RangeStart,
+ const unsigned __int64 RangeUsedLength,
+ const unsigned __int64 RangeReservedLength,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCMarkStackRoots();
+extern "C" ULONG FireEtXplatGCMarkStackRoots(
+ const unsigned int HeapNum,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCMarkFinalizeQueueRoots();
+extern "C" ULONG FireEtXplatGCMarkFinalizeQueueRoots(
+ const unsigned int HeapNum,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCMarkHandles();
+extern "C" ULONG FireEtXplatGCMarkHandles(
+ const unsigned int HeapNum,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCMarkOlderGenerationRoots();
+extern "C" ULONG FireEtXplatGCMarkOlderGenerationRoots(
+ const unsigned int HeapNum,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledFinalizeObject();
+extern "C" ULONG FireEtXplatFinalizeObject(
+ const void* TypeID,
+ const void* ObjectID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledSetGCHandle();
+extern "C" ULONG FireEtXplatSetGCHandle(
+ const void* HandleID,
+ const void* ObjectID,
+ const unsigned int Kind,
+ const unsigned int Generation,
+ const unsigned __int64 AppDomainID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledDestroyGCHandle();
+extern "C" ULONG FireEtXplatDestroyGCHandle(
+ const void* HandleID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCSampledObjectAllocationLow();
+extern "C" ULONG FireEtXplatGCSampledObjectAllocationLow(
+ const void* Address,
+ const void* TypeID,
+ const unsigned int ObjectCountForTypeSample,
+ const unsigned __int64 TotalSizeForTypeSample,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledPinObjectAtGCTime();
+extern "C" ULONG FireEtXplatPinObjectAtGCTime(
+ const void* HandleID,
+ const void* ObjectID,
+ const unsigned __int64 ObjectSize,
+ PCWSTR TypeName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCTriggered();
+extern "C" ULONG FireEtXplatGCTriggered(
+ const unsigned int Reason,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCBulkRootCCW();
+extern "C" ULONG FireEtXplatGCBulkRootCCW(
+ const unsigned int Count,
+ const unsigned short ClrInstanceID,
+ const ULONG Arg2_Struct_Len_,
+ const void* Arg2_Struct_Pointer_
+);
+extern "C" BOOL EventXplatEnabledGCBulkRCW();
+extern "C" ULONG FireEtXplatGCBulkRCW(
+ const unsigned int Count,
+ const unsigned short ClrInstanceID,
+ const ULONG Arg2_Struct_Len_,
+ const void* Arg2_Struct_Pointer_
+);
+extern "C" BOOL EventXplatEnabledGCBulkRootStaticVar();
+extern "C" ULONG FireEtXplatGCBulkRootStaticVar(
+ const unsigned int Count,
+ const unsigned __int64 AppDomainID,
+ const unsigned short ClrInstanceID,
+ const ULONG Arg3_Struct_Len_,
+ const void* Arg3_Struct_Pointer_
+);
+extern "C" BOOL EventXplatEnabledWorkerThreadCreate();
+extern "C" ULONG FireEtXplatWorkerThreadCreate(
+ const unsigned int WorkerThreadCount,
+ const unsigned int RetiredWorkerThreads
+);
+extern "C" BOOL EventXplatEnabledWorkerThreadTerminate();
+extern "C" ULONG FireEtXplatWorkerThreadTerminate(
+ const unsigned int WorkerThreadCount,
+ const unsigned int RetiredWorkerThreads
+);
+extern "C" BOOL EventXplatEnabledWorkerThreadRetire();
+extern "C" ULONG FireEtXplatWorkerThreadRetire(
+ const unsigned int WorkerThreadCount,
+ const unsigned int RetiredWorkerThreads
+);
+extern "C" BOOL EventXplatEnabledWorkerThreadUnretire();
+extern "C" ULONG FireEtXplatWorkerThreadUnretire(
+ const unsigned int WorkerThreadCount,
+ const unsigned int RetiredWorkerThreads
+);
+extern "C" BOOL EventXplatEnabledIOThreadCreate();
+extern "C" ULONG FireEtXplatIOThreadCreate(
+ const unsigned int IOThreadCount,
+ const unsigned int RetiredIOThreads
+);
+extern "C" BOOL EventXplatEnabledIOThreadCreate_V1();
+extern "C" ULONG FireEtXplatIOThreadCreate_V1(
+ const unsigned int IOThreadCount,
+ const unsigned int RetiredIOThreads,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledIOThreadTerminate();
+extern "C" ULONG FireEtXplatIOThreadTerminate(
+ const unsigned int IOThreadCount,
+ const unsigned int RetiredIOThreads
+);
+extern "C" BOOL EventXplatEnabledIOThreadTerminate_V1();
+extern "C" ULONG FireEtXplatIOThreadTerminate_V1(
+ const unsigned int IOThreadCount,
+ const unsigned int RetiredIOThreads,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledIOThreadRetire();
+extern "C" ULONG FireEtXplatIOThreadRetire(
+ const unsigned int IOThreadCount,
+ const unsigned int RetiredIOThreads
+);
+extern "C" BOOL EventXplatEnabledIOThreadRetire_V1();
+extern "C" ULONG FireEtXplatIOThreadRetire_V1(
+ const unsigned int IOThreadCount,
+ const unsigned int RetiredIOThreads,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledIOThreadUnretire();
+extern "C" ULONG FireEtXplatIOThreadUnretire(
+ const unsigned int IOThreadCount,
+ const unsigned int RetiredIOThreads
+);
+extern "C" BOOL EventXplatEnabledIOThreadUnretire_V1();
+extern "C" ULONG FireEtXplatIOThreadUnretire_V1(
+ const unsigned int IOThreadCount,
+ const unsigned int RetiredIOThreads,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadpoolSuspensionSuspendThread();
+extern "C" ULONG FireEtXplatThreadpoolSuspensionSuspendThread(
+ const unsigned int ClrThreadID,
+ const unsigned int CpuUtilization
+);
+extern "C" BOOL EventXplatEnabledThreadpoolSuspensionResumeThread();
+extern "C" ULONG FireEtXplatThreadpoolSuspensionResumeThread(
+ const unsigned int ClrThreadID,
+ const unsigned int CpuUtilization
+);
+extern "C" BOOL EventXplatEnabledThreadPoolWorkerThreadStart();
+extern "C" ULONG FireEtXplatThreadPoolWorkerThreadStart(
+ const unsigned int ActiveWorkerThreadCount,
+ const unsigned int RetiredWorkerThreadCount,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadPoolWorkerThreadStop();
+extern "C" ULONG FireEtXplatThreadPoolWorkerThreadStop(
+ const unsigned int ActiveWorkerThreadCount,
+ const unsigned int RetiredWorkerThreadCount,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadPoolWorkerThreadRetirementStart();
+extern "C" ULONG FireEtXplatThreadPoolWorkerThreadRetirementStart(
+ const unsigned int ActiveWorkerThreadCount,
+ const unsigned int RetiredWorkerThreadCount,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadPoolWorkerThreadRetirementStop();
+extern "C" ULONG FireEtXplatThreadPoolWorkerThreadRetirementStop(
+ const unsigned int ActiveWorkerThreadCount,
+ const unsigned int RetiredWorkerThreadCount,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadPoolWorkerThreadAdjustmentSample();
+extern "C" ULONG FireEtXplatThreadPoolWorkerThreadAdjustmentSample(
+ const double Throughput,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadPoolWorkerThreadAdjustmentAdjustment();
+extern "C" ULONG FireEtXplatThreadPoolWorkerThreadAdjustmentAdjustment(
+ const double AverageThroughput,
+ const unsigned int NewWorkerThreadCount,
+ const unsigned int Reason,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadPoolWorkerThreadAdjustmentStats();
+extern "C" ULONG FireEtXplatThreadPoolWorkerThreadAdjustmentStats(
+ const double Duration,
+ const double Throughput,
+ const double ThreadWave,
+ const double ThroughputWave,
+ const double ThroughputErrorEstimate,
+ const double AverageThroughputErrorEstimate,
+ const double ThroughputRatio,
+ const double Confidence,
+ const double NewControlSetting,
+ const unsigned short NewThreadWaveMagnitude,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadPoolWorkerThreadWait();
+extern "C" ULONG FireEtXplatThreadPoolWorkerThreadWait(
+ const unsigned int ActiveWorkerThreadCount,
+ const unsigned int RetiredWorkerThreadCount,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadPoolWorkingThreadCount();
+extern "C" ULONG FireEtXplatThreadPoolWorkingThreadCount(
+ const unsigned int Count,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadPoolEnqueue();
+extern "C" ULONG FireEtXplatThreadPoolEnqueue(
+ const void* WorkID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadPoolDequeue();
+extern "C" ULONG FireEtXplatThreadPoolDequeue(
+ const void* WorkID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadPoolIOEnqueue();
+extern "C" ULONG FireEtXplatThreadPoolIOEnqueue(
+ const void* NativeOverlapped,
+ const void* Overlapped,
+ const BOOL MultiDequeues,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadPoolIODequeue();
+extern "C" ULONG FireEtXplatThreadPoolIODequeue(
+ const void* NativeOverlapped,
+ const void* Overlapped,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadPoolIOPack();
+extern "C" ULONG FireEtXplatThreadPoolIOPack(
+ const void* NativeOverlapped,
+ const void* Overlapped,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadCreating();
+extern "C" ULONG FireEtXplatThreadCreating(
+ const void* ID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadRunning();
+extern "C" ULONG FireEtXplatThreadRunning(
+ const void* ID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledExceptionThrown();
+extern "C" ULONG FireEtXplatExceptionThrown(
+);
+extern "C" BOOL EventXplatEnabledExceptionThrown_V1();
+extern "C" ULONG FireEtXplatExceptionThrown_V1(
+ PCWSTR ExceptionType,
+ PCWSTR ExceptionMessage,
+ const void* ExceptionEIP,
+ const unsigned int ExceptionHRESULT,
+ const unsigned short ExceptionFlags,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledExceptionCatchStart();
+extern "C" ULONG FireEtXplatExceptionCatchStart(
+ const unsigned __int64 EntryEIP,
+ const unsigned __int64 MethodID,
+ PCWSTR MethodName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledExceptionCatchStop();
+extern "C" ULONG FireEtXplatExceptionCatchStop(
+);
+extern "C" BOOL EventXplatEnabledExceptionFinallyStart();
+extern "C" ULONG FireEtXplatExceptionFinallyStart(
+ const unsigned __int64 EntryEIP,
+ const unsigned __int64 MethodID,
+ PCWSTR MethodName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledExceptionFinallyStop();
+extern "C" ULONG FireEtXplatExceptionFinallyStop(
+);
+extern "C" BOOL EventXplatEnabledExceptionFilterStart();
+extern "C" ULONG FireEtXplatExceptionFilterStart(
+ const unsigned __int64 EntryEIP,
+ const unsigned __int64 MethodID,
+ PCWSTR MethodName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledExceptionFilterStop();
+extern "C" ULONG FireEtXplatExceptionFilterStop(
+);
+extern "C" BOOL EventXplatEnabledExceptionThrownStop();
+extern "C" ULONG FireEtXplatExceptionThrownStop(
+);
+extern "C" BOOL EventXplatEnabledContention();
+extern "C" ULONG FireEtXplatContention(
+);
+extern "C" BOOL EventXplatEnabledContentionStart_V1();
+extern "C" ULONG FireEtXplatContentionStart_V1(
+ const unsigned char ContentionFlags,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledContentionStop();
+extern "C" ULONG FireEtXplatContentionStop(
+ const unsigned char ContentionFlags,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledCLRStackWalk();
+extern "C" ULONG FireEtXplatCLRStackWalk(
+ const unsigned short ClrInstanceID,
+ const unsigned char Reserved1,
+ const unsigned char Reserved2,
+ const unsigned int FrameCount,
+ const void** Stack
+);
+extern "C" BOOL EventXplatEnabledAppDomainMemAllocated();
+extern "C" ULONG FireEtXplatAppDomainMemAllocated(
+ const unsigned __int64 AppDomainID,
+ const unsigned __int64 Allocated,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledAppDomainMemSurvived();
+extern "C" ULONG FireEtXplatAppDomainMemSurvived(
+ const unsigned __int64 AppDomainID,
+ const unsigned __int64 Survived,
+ const unsigned __int64 ProcessSurvived,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadCreated();
+extern "C" ULONG FireEtXplatThreadCreated(
+ const unsigned __int64 ManagedThreadID,
+ const unsigned __int64 AppDomainID,
+ const unsigned int Flags,
+ const unsigned int ManagedThreadIndex,
+ const unsigned int OSThreadID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadTerminated();
+extern "C" ULONG FireEtXplatThreadTerminated(
+ const unsigned __int64 ManagedThreadID,
+ const unsigned __int64 AppDomainID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadDomainEnter();
+extern "C" ULONG FireEtXplatThreadDomainEnter(
+ const unsigned __int64 ManagedThreadID,
+ const unsigned __int64 AppDomainID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledILStubGenerated();
+extern "C" ULONG FireEtXplatILStubGenerated(
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 StubMethodID,
+ const unsigned int StubFlags,
+ const unsigned int ManagedInteropMethodToken,
+ PCWSTR ManagedInteropMethodNamespace,
+ PCWSTR ManagedInteropMethodName,
+ PCWSTR ManagedInteropMethodSignature,
+ PCWSTR NativeMethodSignature,
+ PCWSTR StubMethodSignature,
+ PCWSTR StubMethodILCode
+);
+extern "C" BOOL EventXplatEnabledILStubCacheHit();
+extern "C" ULONG FireEtXplatILStubCacheHit(
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 StubMethodID,
+ const unsigned int ManagedInteropMethodToken,
+ PCWSTR ManagedInteropMethodNamespace,
+ PCWSTR ManagedInteropMethodName,
+ PCWSTR ManagedInteropMethodSignature
+);
+extern "C" BOOL EventXplatEnabledDCStartCompleteV2();
+extern "C" ULONG FireEtXplatDCStartCompleteV2(
+);
+extern "C" BOOL EventXplatEnabledDCEndCompleteV2();
+extern "C" ULONG FireEtXplatDCEndCompleteV2(
+);
+extern "C" BOOL EventXplatEnabledMethodDCStartV2();
+extern "C" ULONG FireEtXplatMethodDCStartV2(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags
+);
+extern "C" BOOL EventXplatEnabledMethodDCEndV2();
+extern "C" ULONG FireEtXplatMethodDCEndV2(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags
+);
+extern "C" BOOL EventXplatEnabledMethodDCStartVerboseV2();
+extern "C" ULONG FireEtXplatMethodDCStartVerboseV2(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ PCWSTR MethodNamespace,
+ PCWSTR MethodName,
+ PCWSTR MethodSignature
+);
+extern "C" BOOL EventXplatEnabledMethodDCEndVerboseV2();
+extern "C" ULONG FireEtXplatMethodDCEndVerboseV2(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ PCWSTR MethodNamespace,
+ PCWSTR MethodName,
+ PCWSTR MethodSignature
+);
+extern "C" BOOL EventXplatEnabledMethodLoad();
+extern "C" ULONG FireEtXplatMethodLoad(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags
+);
+extern "C" BOOL EventXplatEnabledMethodLoad_V1();
+extern "C" ULONG FireEtXplatMethodLoad_V1(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMethodLoad_V2();
+extern "C" ULONG FireEtXplatMethodLoad_V2(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 ReJITID
+);
+extern "C" BOOL EventXplatEnabledMethodUnload();
+extern "C" ULONG FireEtXplatMethodUnload(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags
+);
+extern "C" BOOL EventXplatEnabledMethodUnload_V1();
+extern "C" ULONG FireEtXplatMethodUnload_V1(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMethodUnload_V2();
+extern "C" ULONG FireEtXplatMethodUnload_V2(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 ReJITID
+);
+extern "C" BOOL EventXplatEnabledMethodLoadVerbose();
+extern "C" ULONG FireEtXplatMethodLoadVerbose(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ PCWSTR MethodNamespace,
+ PCWSTR MethodName,
+ PCWSTR MethodSignature
+);
+extern "C" BOOL EventXplatEnabledMethodLoadVerbose_V1();
+extern "C" ULONG FireEtXplatMethodLoadVerbose_V1(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ PCWSTR MethodNamespace,
+ PCWSTR MethodName,
+ PCWSTR MethodSignature,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMethodLoadVerbose_V2();
+extern "C" ULONG FireEtXplatMethodLoadVerbose_V2(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ PCWSTR MethodNamespace,
+ PCWSTR MethodName,
+ PCWSTR MethodSignature,
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 ReJITID
+);
+extern "C" BOOL EventXplatEnabledMethodUnloadVerbose();
+extern "C" ULONG FireEtXplatMethodUnloadVerbose(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ PCWSTR MethodNamespace,
+ PCWSTR MethodName,
+ PCWSTR MethodSignature
+);
+extern "C" BOOL EventXplatEnabledMethodUnloadVerbose_V1();
+extern "C" ULONG FireEtXplatMethodUnloadVerbose_V1(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ PCWSTR MethodNamespace,
+ PCWSTR MethodName,
+ PCWSTR MethodSignature,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMethodUnloadVerbose_V2();
+extern "C" ULONG FireEtXplatMethodUnloadVerbose_V2(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ PCWSTR MethodNamespace,
+ PCWSTR MethodName,
+ PCWSTR MethodSignature,
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 ReJITID
+);
+extern "C" BOOL EventXplatEnabledMethodJittingStarted();
+extern "C" ULONG FireEtXplatMethodJittingStarted(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned int MethodToken,
+ const unsigned int MethodILSize,
+ PCWSTR MethodNamespace,
+ PCWSTR MethodName,
+ PCWSTR MethodSignature
+);
+extern "C" BOOL EventXplatEnabledMethodJittingStarted_V1();
+extern "C" ULONG FireEtXplatMethodJittingStarted_V1(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned int MethodToken,
+ const unsigned int MethodILSize,
+ PCWSTR MethodNamespace,
+ PCWSTR MethodName,
+ PCWSTR MethodSignature,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMethodJitInliningSucceeded();
+extern "C" ULONG FireEtXplatMethodJitInliningSucceeded(
+ PCWSTR MethodBeingCompiledNamespace,
+ PCWSTR MethodBeingCompiledName,
+ PCWSTR MethodBeingCompiledNameSignature,
+ PCWSTR InlinerNamespace,
+ PCWSTR InlinerName,
+ PCWSTR InlinerNameSignature,
+ PCWSTR InlineeNamespace,
+ PCWSTR InlineeName,
+ PCWSTR InlineeNameSignature,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMethodJitInliningFailed();
+extern "C" ULONG FireEtXplatMethodJitInliningFailed(
+ PCWSTR MethodBeingCompiledNamespace,
+ PCWSTR MethodBeingCompiledName,
+ PCWSTR MethodBeingCompiledNameSignature,
+ PCWSTR InlinerNamespace,
+ PCWSTR InlinerName,
+ PCWSTR InlinerNameSignature,
+ PCWSTR InlineeNamespace,
+ PCWSTR InlineeName,
+ PCWSTR InlineeNameSignature,
+ const BOOL FailAlways,
+ LPCSTR FailReason,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMethodJitTailCallSucceeded();
+extern "C" ULONG FireEtXplatMethodJitTailCallSucceeded(
+ PCWSTR MethodBeingCompiledNamespace,
+ PCWSTR MethodBeingCompiledName,
+ PCWSTR MethodBeingCompiledNameSignature,
+ PCWSTR CallerNamespace,
+ PCWSTR CallerName,
+ PCWSTR CallerNameSignature,
+ PCWSTR CalleeNamespace,
+ PCWSTR CalleeName,
+ PCWSTR CalleeNameSignature,
+ const BOOL TailPrefix,
+ const unsigned int TailCallType,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMethodJitTailCallFailed();
+extern "C" ULONG FireEtXplatMethodJitTailCallFailed(
+ PCWSTR MethodBeingCompiledNamespace,
+ PCWSTR MethodBeingCompiledName,
+ PCWSTR MethodBeingCompiledNameSignature,
+ PCWSTR CallerNamespace,
+ PCWSTR CallerName,
+ PCWSTR CallerNameSignature,
+ PCWSTR CalleeNamespace,
+ PCWSTR CalleeName,
+ PCWSTR CalleeNameSignature,
+ const BOOL TailPrefix,
+ LPCSTR FailReason,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMethodILToNativeMap();
+extern "C" ULONG FireEtXplatMethodILToNativeMap(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ReJITID,
+ const unsigned char MethodExtent,
+ const unsigned short CountOfMapEntries,
+ const unsigned int* ILOffsets,
+ const unsigned int* NativeOffsets,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledModuleDCStartV2();
+extern "C" ULONG FireEtXplatModuleDCStartV2(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath
+);
+extern "C" BOOL EventXplatEnabledModuleDCEndV2();
+extern "C" ULONG FireEtXplatModuleDCEndV2(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath
+);
+extern "C" BOOL EventXplatEnabledDomainModuleLoad();
+extern "C" ULONG FireEtXplatDomainModuleLoad(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned __int64 AppDomainID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath
+);
+extern "C" BOOL EventXplatEnabledDomainModuleLoad_V1();
+extern "C" ULONG FireEtXplatDomainModuleLoad_V1(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned __int64 AppDomainID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledModuleLoad();
+extern "C" ULONG FireEtXplatModuleLoad(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath
+);
+extern "C" BOOL EventXplatEnabledModuleLoad_V1();
+extern "C" ULONG FireEtXplatModuleLoad_V1(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledModuleLoad_V2();
+extern "C" ULONG FireEtXplatModuleLoad_V2(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath,
+ const unsigned short ClrInstanceID,
+ const GUID* ManagedPdbSignature,
+ const unsigned int ManagedPdbAge,
+ PCWSTR ManagedPdbBuildPath,
+ const GUID* NativePdbSignature,
+ const unsigned int NativePdbAge,
+ PCWSTR NativePdbBuildPath
+);
+extern "C" BOOL EventXplatEnabledModuleUnload();
+extern "C" ULONG FireEtXplatModuleUnload(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath
+);
+extern "C" BOOL EventXplatEnabledModuleUnload_V1();
+extern "C" ULONG FireEtXplatModuleUnload_V1(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledModuleUnload_V2();
+extern "C" ULONG FireEtXplatModuleUnload_V2(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath,
+ const unsigned short ClrInstanceID,
+ const GUID* ManagedPdbSignature,
+ const unsigned int ManagedPdbAge,
+ PCWSTR ManagedPdbBuildPath,
+ const GUID* NativePdbSignature,
+ const unsigned int NativePdbAge,
+ PCWSTR NativePdbBuildPath
+);
+extern "C" BOOL EventXplatEnabledAssemblyLoad();
+extern "C" ULONG FireEtXplatAssemblyLoad(
+ const unsigned __int64 AssemblyID,
+ const unsigned __int64 AppDomainID,
+ const unsigned int AssemblyFlags,
+ PCWSTR FullyQualifiedAssemblyName
+);
+extern "C" BOOL EventXplatEnabledAssemblyLoad_V1();
+extern "C" ULONG FireEtXplatAssemblyLoad_V1(
+ const unsigned __int64 AssemblyID,
+ const unsigned __int64 AppDomainID,
+ const unsigned __int64 BindingID,
+ const unsigned int AssemblyFlags,
+ PCWSTR FullyQualifiedAssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledAssemblyUnload();
+extern "C" ULONG FireEtXplatAssemblyUnload(
+ const unsigned __int64 AssemblyID,
+ const unsigned __int64 AppDomainID,
+ const unsigned int AssemblyFlags,
+ PCWSTR FullyQualifiedAssemblyName
+);
+extern "C" BOOL EventXplatEnabledAssemblyUnload_V1();
+extern "C" ULONG FireEtXplatAssemblyUnload_V1(
+ const unsigned __int64 AssemblyID,
+ const unsigned __int64 AppDomainID,
+ const unsigned __int64 BindingID,
+ const unsigned int AssemblyFlags,
+ PCWSTR FullyQualifiedAssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledAppDomainLoad();
+extern "C" ULONG FireEtXplatAppDomainLoad(
+ const unsigned __int64 AppDomainID,
+ const unsigned int AppDomainFlags,
+ PCWSTR AppDomainName
+);
+extern "C" BOOL EventXplatEnabledAppDomainLoad_V1();
+extern "C" ULONG FireEtXplatAppDomainLoad_V1(
+ const unsigned __int64 AppDomainID,
+ const unsigned int AppDomainFlags,
+ PCWSTR AppDomainName,
+ const unsigned int AppDomainIndex,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledAppDomainUnload();
+extern "C" ULONG FireEtXplatAppDomainUnload(
+ const unsigned __int64 AppDomainID,
+ const unsigned int AppDomainFlags,
+ PCWSTR AppDomainName
+);
+extern "C" BOOL EventXplatEnabledAppDomainUnload_V1();
+extern "C" ULONG FireEtXplatAppDomainUnload_V1(
+ const unsigned __int64 AppDomainID,
+ const unsigned int AppDomainFlags,
+ PCWSTR AppDomainName,
+ const unsigned int AppDomainIndex,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledModuleRangeLoad();
+extern "C" ULONG FireEtXplatModuleRangeLoad(
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 ModuleID,
+ const unsigned int RangeBegin,
+ const unsigned int RangeSize,
+ const unsigned char RangeType
+);
+extern "C" BOOL EventXplatEnabledStrongNameVerificationStart();
+extern "C" ULONG FireEtXplatStrongNameVerificationStart(
+ const unsigned int VerificationFlags,
+ const unsigned int ErrorCode,
+ PCWSTR FullyQualifiedAssemblyName
+);
+extern "C" BOOL EventXplatEnabledStrongNameVerificationStart_V1();
+extern "C" ULONG FireEtXplatStrongNameVerificationStart_V1(
+ const unsigned int VerificationFlags,
+ const unsigned int ErrorCode,
+ PCWSTR FullyQualifiedAssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledStrongNameVerificationStop();
+extern "C" ULONG FireEtXplatStrongNameVerificationStop(
+ const unsigned int VerificationFlags,
+ const unsigned int ErrorCode,
+ PCWSTR FullyQualifiedAssemblyName
+);
+extern "C" BOOL EventXplatEnabledStrongNameVerificationStop_V1();
+extern "C" ULONG FireEtXplatStrongNameVerificationStop_V1(
+ const unsigned int VerificationFlags,
+ const unsigned int ErrorCode,
+ PCWSTR FullyQualifiedAssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledAuthenticodeVerificationStart();
+extern "C" ULONG FireEtXplatAuthenticodeVerificationStart(
+ const unsigned int VerificationFlags,
+ const unsigned int ErrorCode,
+ PCWSTR ModulePath
+);
+extern "C" BOOL EventXplatEnabledAuthenticodeVerificationStart_V1();
+extern "C" ULONG FireEtXplatAuthenticodeVerificationStart_V1(
+ const unsigned int VerificationFlags,
+ const unsigned int ErrorCode,
+ PCWSTR ModulePath,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledAuthenticodeVerificationStop();
+extern "C" ULONG FireEtXplatAuthenticodeVerificationStop(
+ const unsigned int VerificationFlags,
+ const unsigned int ErrorCode,
+ PCWSTR ModulePath
+);
+extern "C" BOOL EventXplatEnabledAuthenticodeVerificationStop_V1();
+extern "C" ULONG FireEtXplatAuthenticodeVerificationStop_V1(
+ const unsigned int VerificationFlags,
+ const unsigned int ErrorCode,
+ PCWSTR ModulePath,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledRuntimeInformationStart();
+extern "C" ULONG FireEtXplatRuntimeInformationStart(
+ const unsigned short ClrInstanceID,
+ const unsigned short Sku,
+ const unsigned short BclMajorVersion,
+ const unsigned short BclMinorVersion,
+ const unsigned short BclBuildNumber,
+ const unsigned short BclQfeNumber,
+ const unsigned short VMMajorVersion,
+ const unsigned short VMMinorVersion,
+ const unsigned short VMBuildNumber,
+ const unsigned short VMQfeNumber,
+ const unsigned int StartupFlags,
+ const unsigned char StartupMode,
+ PCWSTR CommandLine,
+ const GUID* ComObjectGuid,
+ PCWSTR RuntimeDllPath
+);
+extern "C" BOOL EventXplatEnabledIncreaseMemoryPressure();
+extern "C" ULONG FireEtXplatIncreaseMemoryPressure(
+ const unsigned __int64 BytesAllocated,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledDecreaseMemoryPressure();
+extern "C" ULONG FireEtXplatDecreaseMemoryPressure(
+ const unsigned __int64 BytesFreed,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCMarkWithType();
+extern "C" ULONG FireEtXplatGCMarkWithType(
+ const unsigned int HeapNum,
+ const unsigned short ClrInstanceID,
+ const unsigned int Type,
+ const unsigned __int64 Bytes
+);
+extern "C" BOOL EventXplatEnabledGCJoin_V2();
+extern "C" ULONG FireEtXplatGCJoin_V2(
+ const unsigned int Heap,
+ const unsigned int JoinTime,
+ const unsigned int JoinType,
+ const unsigned short ClrInstanceID,
+ const unsigned int JoinID
+);
+extern "C" BOOL EventXplatEnabledGCPerHeapHistory_V3();
+extern "C" ULONG FireEtXplatGCPerHeapHistory_V3(
+ const unsigned short ClrInstanceID,
+ const void* FreeListAllocated,
+ const void* FreeListRejected,
+ const void* EndOfSegAllocated,
+ const void* CondemnedAllocated,
+ const void* PinnedAllocated,
+ const void* PinnedAllocatedAdvance,
+ const unsigned int RunningFreeListEfficiency,
+ const unsigned int CondemnReasons0,
+ const unsigned int CondemnReasons1,
+ const unsigned int CompactMechanisms,
+ const unsigned int ExpandMechanisms,
+ const unsigned int HeapIndex,
+ const void* ExtraGen0Commit,
+ const unsigned int Count,
+ const ULONG Arg15_Struct_Len_,
+ const void* Arg15_Struct_Pointer_
+);
+extern "C" BOOL EventXplatEnabledGCGlobalHeapHistory_V2();
+extern "C" ULONG FireEtXplatGCGlobalHeapHistory_V2(
+ const unsigned __int64 FinalYoungestDesired,
+ const signed int NumHeaps,
+ const unsigned int CondemnedGeneration,
+ const unsigned int Gen0ReductionCount,
+ const unsigned int Reason,
+ const unsigned int GlobalMechanisms,
+ const unsigned short ClrInstanceID,
+ const unsigned int PauseMode,
+ const unsigned int MemoryPressure
+);
+extern "C" BOOL EventXplatEnabledDebugIPCEventStart();
+extern "C" ULONG FireEtXplatDebugIPCEventStart(
+);
+extern "C" BOOL EventXplatEnabledDebugIPCEventEnd();
+extern "C" ULONG FireEtXplatDebugIPCEventEnd(
+);
+extern "C" BOOL EventXplatEnabledDebugExceptionProcessingStart();
+extern "C" ULONG FireEtXplatDebugExceptionProcessingStart(
+);
+extern "C" BOOL EventXplatEnabledDebugExceptionProcessingEnd();
+extern "C" ULONG FireEtXplatDebugExceptionProcessingEnd(
+);
+extern "C" BOOL EventXplatEnabledCodeSymbols();
+extern "C" ULONG FireEtXplatCodeSymbols(
+ const unsigned __int64 ModuleId,
+ const unsigned short TotalChunks,
+ const unsigned short ChunkNumber,
+ const unsigned int ChunkLength,
+ const BYTE* Chunk,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledCLRStackWalkDCStart();
+extern "C" ULONG FireEtXplatCLRStackWalkDCStart(
+ const unsigned short ClrInstanceID,
+ const unsigned char Reserved1,
+ const unsigned char Reserved2,
+ const unsigned int FrameCount,
+ const void** Stack
+);
+extern "C" BOOL EventXplatEnabledMethodDCStart();
+extern "C" ULONG FireEtXplatMethodDCStart(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags
+);
+extern "C" BOOL EventXplatEnabledMethodDCStart_V1();
+extern "C" ULONG FireEtXplatMethodDCStart_V1(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMethodDCStart_V2();
+extern "C" ULONG FireEtXplatMethodDCStart_V2(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 ReJITID
+);
+extern "C" BOOL EventXplatEnabledMethodDCEnd();
+extern "C" ULONG FireEtXplatMethodDCEnd(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags
+);
+extern "C" BOOL EventXplatEnabledMethodDCEnd_V1();
+extern "C" ULONG FireEtXplatMethodDCEnd_V1(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMethodDCEnd_V2();
+extern "C" ULONG FireEtXplatMethodDCEnd_V2(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 ReJITID
+);
+extern "C" BOOL EventXplatEnabledMethodDCStartVerbose();
+extern "C" ULONG FireEtXplatMethodDCStartVerbose(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ PCWSTR MethodNamespace,
+ PCWSTR MethodName,
+ PCWSTR MethodSignature
+);
+extern "C" BOOL EventXplatEnabledMethodDCStartVerbose_V1();
+extern "C" ULONG FireEtXplatMethodDCStartVerbose_V1(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ PCWSTR MethodNamespace,
+ PCWSTR MethodName,
+ PCWSTR MethodSignature,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMethodDCStartVerbose_V2();
+extern "C" ULONG FireEtXplatMethodDCStartVerbose_V2(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ PCWSTR MethodNamespace,
+ PCWSTR MethodName,
+ PCWSTR MethodSignature,
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 ReJITID
+);
+extern "C" BOOL EventXplatEnabledMethodDCEndVerbose();
+extern "C" ULONG FireEtXplatMethodDCEndVerbose(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ PCWSTR MethodNamespace,
+ PCWSTR MethodName,
+ PCWSTR MethodSignature
+);
+extern "C" BOOL EventXplatEnabledMethodDCEndVerbose_V1();
+extern "C" ULONG FireEtXplatMethodDCEndVerbose_V1(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ PCWSTR MethodNamespace,
+ PCWSTR MethodName,
+ PCWSTR MethodSignature,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMethodDCEndVerbose_V2();
+extern "C" ULONG FireEtXplatMethodDCEndVerbose_V2(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodStartAddress,
+ const unsigned int MethodSize,
+ const unsigned int MethodToken,
+ const unsigned int MethodFlags,
+ PCWSTR MethodNamespace,
+ PCWSTR MethodName,
+ PCWSTR MethodSignature,
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 ReJITID
+);
+extern "C" BOOL EventXplatEnabledDCStartComplete();
+extern "C" ULONG FireEtXplatDCStartComplete(
+);
+extern "C" BOOL EventXplatEnabledDCStartComplete_V1();
+extern "C" ULONG FireEtXplatDCStartComplete_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledDCEndComplete();
+extern "C" ULONG FireEtXplatDCEndComplete(
+);
+extern "C" BOOL EventXplatEnabledDCEndComplete_V1();
+extern "C" ULONG FireEtXplatDCEndComplete_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledDCStartInit();
+extern "C" ULONG FireEtXplatDCStartInit(
+);
+extern "C" BOOL EventXplatEnabledDCStartInit_V1();
+extern "C" ULONG FireEtXplatDCStartInit_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledDCEndInit();
+extern "C" ULONG FireEtXplatDCEndInit(
+);
+extern "C" BOOL EventXplatEnabledDCEndInit_V1();
+extern "C" ULONG FireEtXplatDCEndInit_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMethodDCStartILToNativeMap();
+extern "C" ULONG FireEtXplatMethodDCStartILToNativeMap(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ReJITID,
+ const unsigned char MethodExtent,
+ const unsigned short CountOfMapEntries,
+ const unsigned int* ILOffsets,
+ const unsigned int* NativeOffsets,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMethodDCEndILToNativeMap();
+extern "C" ULONG FireEtXplatMethodDCEndILToNativeMap(
+ const unsigned __int64 MethodID,
+ const unsigned __int64 ReJITID,
+ const unsigned char MethodExtent,
+ const unsigned short CountOfMapEntries,
+ const unsigned int* ILOffsets,
+ const unsigned int* NativeOffsets,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledDomainModuleDCStart();
+extern "C" ULONG FireEtXplatDomainModuleDCStart(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned __int64 AppDomainID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath
+);
+extern "C" BOOL EventXplatEnabledDomainModuleDCStart_V1();
+extern "C" ULONG FireEtXplatDomainModuleDCStart_V1(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned __int64 AppDomainID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledDomainModuleDCEnd();
+extern "C" ULONG FireEtXplatDomainModuleDCEnd(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned __int64 AppDomainID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath
+);
+extern "C" BOOL EventXplatEnabledDomainModuleDCEnd_V1();
+extern "C" ULONG FireEtXplatDomainModuleDCEnd_V1(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned __int64 AppDomainID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledModuleDCStart();
+extern "C" ULONG FireEtXplatModuleDCStart(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath
+);
+extern "C" BOOL EventXplatEnabledModuleDCStart_V1();
+extern "C" ULONG FireEtXplatModuleDCStart_V1(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledModuleDCStart_V2();
+extern "C" ULONG FireEtXplatModuleDCStart_V2(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath,
+ const unsigned short ClrInstanceID,
+ const GUID* ManagedPdbSignature,
+ const unsigned int ManagedPdbAge,
+ PCWSTR ManagedPdbBuildPath,
+ const GUID* NativePdbSignature,
+ const unsigned int NativePdbAge,
+ PCWSTR NativePdbBuildPath
+);
+extern "C" BOOL EventXplatEnabledModuleDCEnd();
+extern "C" ULONG FireEtXplatModuleDCEnd(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath
+);
+extern "C" BOOL EventXplatEnabledModuleDCEnd_V1();
+extern "C" ULONG FireEtXplatModuleDCEnd_V1(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledModuleDCEnd_V2();
+extern "C" ULONG FireEtXplatModuleDCEnd_V2(
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 AssemblyID,
+ const unsigned int ModuleFlags,
+ const unsigned int Reserved1,
+ PCWSTR ModuleILPath,
+ PCWSTR ModuleNativePath,
+ const unsigned short ClrInstanceID,
+ const GUID* ManagedPdbSignature,
+ const unsigned int ManagedPdbAge,
+ PCWSTR ManagedPdbBuildPath,
+ const GUID* NativePdbSignature,
+ const unsigned int NativePdbAge,
+ PCWSTR NativePdbBuildPath
+);
+extern "C" BOOL EventXplatEnabledAssemblyDCStart();
+extern "C" ULONG FireEtXplatAssemblyDCStart(
+ const unsigned __int64 AssemblyID,
+ const unsigned __int64 AppDomainID,
+ const unsigned int AssemblyFlags,
+ PCWSTR FullyQualifiedAssemblyName
+);
+extern "C" BOOL EventXplatEnabledAssemblyDCStart_V1();
+extern "C" ULONG FireEtXplatAssemblyDCStart_V1(
+ const unsigned __int64 AssemblyID,
+ const unsigned __int64 AppDomainID,
+ const unsigned __int64 BindingID,
+ const unsigned int AssemblyFlags,
+ PCWSTR FullyQualifiedAssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledAssemblyDCEnd();
+extern "C" ULONG FireEtXplatAssemblyDCEnd(
+ const unsigned __int64 AssemblyID,
+ const unsigned __int64 AppDomainID,
+ const unsigned int AssemblyFlags,
+ PCWSTR FullyQualifiedAssemblyName
+);
+extern "C" BOOL EventXplatEnabledAssemblyDCEnd_V1();
+extern "C" ULONG FireEtXplatAssemblyDCEnd_V1(
+ const unsigned __int64 AssemblyID,
+ const unsigned __int64 AppDomainID,
+ const unsigned __int64 BindingID,
+ const unsigned int AssemblyFlags,
+ PCWSTR FullyQualifiedAssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledAppDomainDCStart();
+extern "C" ULONG FireEtXplatAppDomainDCStart(
+ const unsigned __int64 AppDomainID,
+ const unsigned int AppDomainFlags,
+ PCWSTR AppDomainName
+);
+extern "C" BOOL EventXplatEnabledAppDomainDCStart_V1();
+extern "C" ULONG FireEtXplatAppDomainDCStart_V1(
+ const unsigned __int64 AppDomainID,
+ const unsigned int AppDomainFlags,
+ PCWSTR AppDomainName,
+ const unsigned int AppDomainIndex,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledAppDomainDCEnd();
+extern "C" ULONG FireEtXplatAppDomainDCEnd(
+ const unsigned __int64 AppDomainID,
+ const unsigned int AppDomainFlags,
+ PCWSTR AppDomainName
+);
+extern "C" BOOL EventXplatEnabledAppDomainDCEnd_V1();
+extern "C" ULONG FireEtXplatAppDomainDCEnd_V1(
+ const unsigned __int64 AppDomainID,
+ const unsigned int AppDomainFlags,
+ PCWSTR AppDomainName,
+ const unsigned int AppDomainIndex,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledThreadDC();
+extern "C" ULONG FireEtXplatThreadDC(
+ const unsigned __int64 ManagedThreadID,
+ const unsigned __int64 AppDomainID,
+ const unsigned int Flags,
+ const unsigned int ManagedThreadIndex,
+ const unsigned int OSThreadID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledModuleRangeDCStart();
+extern "C" ULONG FireEtXplatModuleRangeDCStart(
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 ModuleID,
+ const unsigned int RangeBegin,
+ const unsigned int RangeSize,
+ const unsigned char RangeType
+);
+extern "C" BOOL EventXplatEnabledModuleRangeDCEnd();
+extern "C" ULONG FireEtXplatModuleRangeDCEnd(
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 ModuleID,
+ const unsigned int RangeBegin,
+ const unsigned int RangeSize,
+ const unsigned char RangeType
+);
+extern "C" BOOL EventXplatEnabledRuntimeInformationDCStart();
+extern "C" ULONG FireEtXplatRuntimeInformationDCStart(
+ const unsigned short ClrInstanceID,
+ const unsigned short Sku,
+ const unsigned short BclMajorVersion,
+ const unsigned short BclMinorVersion,
+ const unsigned short BclBuildNumber,
+ const unsigned short BclQfeNumber,
+ const unsigned short VMMajorVersion,
+ const unsigned short VMMinorVersion,
+ const unsigned short VMBuildNumber,
+ const unsigned short VMQfeNumber,
+ const unsigned int StartupFlags,
+ const unsigned char StartupMode,
+ PCWSTR CommandLine,
+ const GUID* ComObjectGuid,
+ PCWSTR RuntimeDllPath
+);
+extern "C" BOOL EventXplatEnabledStressLogEvent();
+extern "C" ULONG FireEtXplatStressLogEvent(
+ const unsigned int Facility,
+ const unsigned char LogLevel,
+ LPCSTR Message
+);
+extern "C" BOOL EventXplatEnabledStressLogEvent_V1();
+extern "C" ULONG FireEtXplatStressLogEvent_V1(
+ const unsigned int Facility,
+ const unsigned char LogLevel,
+ LPCSTR Message,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledCLRStackWalkStress();
+extern "C" ULONG FireEtXplatCLRStackWalkStress(
+ const unsigned short ClrInstanceID,
+ const unsigned char Reserved1,
+ const unsigned char Reserved2,
+ const unsigned int FrameCount,
+ const void** Stack
+);
+extern "C" BOOL EventXplatEnabledGCDecision();
+extern "C" ULONG FireEtXplatGCDecision(
+ const BOOL DoCompact
+);
+extern "C" BOOL EventXplatEnabledGCDecision_V1();
+extern "C" ULONG FireEtXplatGCDecision_V1(
+ const BOOL DoCompact,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCSettings();
+extern "C" ULONG FireEtXplatGCSettings(
+ const unsigned __int64 SegmentSize,
+ const unsigned __int64 LargeObjectSegmentSize,
+ const BOOL ServerGC
+);
+extern "C" BOOL EventXplatEnabledGCSettings_V1();
+extern "C" ULONG FireEtXplatGCSettings_V1(
+ const unsigned __int64 SegmentSize,
+ const unsigned __int64 LargeObjectSegmentSize,
+ const BOOL ServerGC,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCOptimized();
+extern "C" ULONG FireEtXplatGCOptimized(
+ const unsigned __int64 DesiredAllocation,
+ const unsigned __int64 NewAllocation,
+ const unsigned int GenerationNumber
+);
+extern "C" BOOL EventXplatEnabledGCOptimized_V1();
+extern "C" ULONG FireEtXplatGCOptimized_V1(
+ const unsigned __int64 DesiredAllocation,
+ const unsigned __int64 NewAllocation,
+ const unsigned int GenerationNumber,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCPerHeapHistory();
+extern "C" ULONG FireEtXplatGCPerHeapHistory(
+);
+extern "C" BOOL EventXplatEnabledGCPerHeapHistory_V1();
+extern "C" ULONG FireEtXplatGCPerHeapHistory_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCGlobalHeapHistory();
+extern "C" ULONG FireEtXplatGCGlobalHeapHistory(
+ const unsigned __int64 FinalYoungestDesired,
+ const signed int NumHeaps,
+ const unsigned int CondemnedGeneration,
+ const unsigned int Gen0ReductionCount,
+ const unsigned int Reason,
+ const unsigned int GlobalMechanisms
+);
+extern "C" BOOL EventXplatEnabledGCGlobalHeapHistory_V1();
+extern "C" ULONG FireEtXplatGCGlobalHeapHistory_V1(
+ const unsigned __int64 FinalYoungestDesired,
+ const signed int NumHeaps,
+ const unsigned int CondemnedGeneration,
+ const unsigned int Gen0ReductionCount,
+ const unsigned int Reason,
+ const unsigned int GlobalMechanisms,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCJoin();
+extern "C" ULONG FireEtXplatGCJoin(
+ const unsigned int Heap,
+ const unsigned int JoinTime,
+ const unsigned int JoinType
+);
+extern "C" BOOL EventXplatEnabledGCJoin_V1();
+extern "C" ULONG FireEtXplatGCJoin_V1(
+ const unsigned int Heap,
+ const unsigned int JoinTime,
+ const unsigned int JoinType,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledPrvGCMarkStackRoots();
+extern "C" ULONG FireEtXplatPrvGCMarkStackRoots(
+ const unsigned int HeapNum
+);
+extern "C" BOOL EventXplatEnabledPrvGCMarkStackRoots_V1();
+extern "C" ULONG FireEtXplatPrvGCMarkStackRoots_V1(
+ const unsigned int HeapNum,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledPrvGCMarkFinalizeQueueRoots();
+extern "C" ULONG FireEtXplatPrvGCMarkFinalizeQueueRoots(
+ const unsigned int HeapNum
+);
+extern "C" BOOL EventXplatEnabledPrvGCMarkFinalizeQueueRoots_V1();
+extern "C" ULONG FireEtXplatPrvGCMarkFinalizeQueueRoots_V1(
+ const unsigned int HeapNum,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledPrvGCMarkHandles();
+extern "C" ULONG FireEtXplatPrvGCMarkHandles(
+ const unsigned int HeapNum
+);
+extern "C" BOOL EventXplatEnabledPrvGCMarkHandles_V1();
+extern "C" ULONG FireEtXplatPrvGCMarkHandles_V1(
+ const unsigned int HeapNum,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledPrvGCMarkCards();
+extern "C" ULONG FireEtXplatPrvGCMarkCards(
+ const unsigned int HeapNum
+);
+extern "C" BOOL EventXplatEnabledPrvGCMarkCards_V1();
+extern "C" ULONG FireEtXplatPrvGCMarkCards_V1(
+ const unsigned int HeapNum,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBGCBegin();
+extern "C" ULONG FireEtXplatBGCBegin(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBGC1stNonConEnd();
+extern "C" ULONG FireEtXplatBGC1stNonConEnd(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBGC1stConEnd();
+extern "C" ULONG FireEtXplatBGC1stConEnd(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBGC2ndNonConBegin();
+extern "C" ULONG FireEtXplatBGC2ndNonConBegin(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBGC2ndNonConEnd();
+extern "C" ULONG FireEtXplatBGC2ndNonConEnd(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBGC2ndConBegin();
+extern "C" ULONG FireEtXplatBGC2ndConBegin(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBGC2ndConEnd();
+extern "C" ULONG FireEtXplatBGC2ndConEnd(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBGCPlanEnd();
+extern "C" ULONG FireEtXplatBGCPlanEnd(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBGCSweepEnd();
+extern "C" ULONG FireEtXplatBGCSweepEnd(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBGCDrainMark();
+extern "C" ULONG FireEtXplatBGCDrainMark(
+ const unsigned __int64 Objects,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBGCRevisit();
+extern "C" ULONG FireEtXplatBGCRevisit(
+ const unsigned __int64 Pages,
+ const unsigned __int64 Objects,
+ const unsigned int IsLarge,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBGCOverflow();
+extern "C" ULONG FireEtXplatBGCOverflow(
+ const unsigned __int64 Min,
+ const unsigned __int64 Max,
+ const unsigned __int64 Objects,
+ const unsigned int IsLarge,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBGCAllocWaitBegin();
+extern "C" ULONG FireEtXplatBGCAllocWaitBegin(
+ const unsigned int Reason,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBGCAllocWaitEnd();
+extern "C" ULONG FireEtXplatBGCAllocWaitEnd(
+ const unsigned int Reason,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGCFullNotify();
+extern "C" ULONG FireEtXplatGCFullNotify(
+ const unsigned int GenNumber,
+ const unsigned int IsAlloc
+);
+extern "C" BOOL EventXplatEnabledGCFullNotify_V1();
+extern "C" ULONG FireEtXplatGCFullNotify_V1(
+ const unsigned int GenNumber,
+ const unsigned int IsAlloc,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledEEStartupStart();
+extern "C" ULONG FireEtXplatEEStartupStart(
+);
+extern "C" BOOL EventXplatEnabledEEStartupStart_V1();
+extern "C" ULONG FireEtXplatEEStartupStart_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledEEStartupEnd();
+extern "C" ULONG FireEtXplatEEStartupEnd(
+);
+extern "C" BOOL EventXplatEnabledEEStartupEnd_V1();
+extern "C" ULONG FireEtXplatEEStartupEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledEEConfigSetup();
+extern "C" ULONG FireEtXplatEEConfigSetup(
+);
+extern "C" BOOL EventXplatEnabledEEConfigSetup_V1();
+extern "C" ULONG FireEtXplatEEConfigSetup_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledEEConfigSetupEnd();
+extern "C" ULONG FireEtXplatEEConfigSetupEnd(
+);
+extern "C" BOOL EventXplatEnabledEEConfigSetupEnd_V1();
+extern "C" ULONG FireEtXplatEEConfigSetupEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledLdSysBases();
+extern "C" ULONG FireEtXplatLdSysBases(
+);
+extern "C" BOOL EventXplatEnabledLdSysBases_V1();
+extern "C" ULONG FireEtXplatLdSysBases_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledLdSysBasesEnd();
+extern "C" ULONG FireEtXplatLdSysBasesEnd(
+);
+extern "C" BOOL EventXplatEnabledLdSysBasesEnd_V1();
+extern "C" ULONG FireEtXplatLdSysBasesEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledExecExe();
+extern "C" ULONG FireEtXplatExecExe(
+);
+extern "C" BOOL EventXplatEnabledExecExe_V1();
+extern "C" ULONG FireEtXplatExecExe_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledExecExeEnd();
+extern "C" ULONG FireEtXplatExecExeEnd(
+);
+extern "C" BOOL EventXplatEnabledExecExeEnd_V1();
+extern "C" ULONG FireEtXplatExecExeEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMain();
+extern "C" ULONG FireEtXplatMain(
+);
+extern "C" BOOL EventXplatEnabledMain_V1();
+extern "C" ULONG FireEtXplatMain_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMainEnd();
+extern "C" ULONG FireEtXplatMainEnd(
+);
+extern "C" BOOL EventXplatEnabledMainEnd_V1();
+extern "C" ULONG FireEtXplatMainEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledApplyPolicyStart();
+extern "C" ULONG FireEtXplatApplyPolicyStart(
+);
+extern "C" BOOL EventXplatEnabledApplyPolicyStart_V1();
+extern "C" ULONG FireEtXplatApplyPolicyStart_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledApplyPolicyEnd();
+extern "C" ULONG FireEtXplatApplyPolicyEnd(
+);
+extern "C" BOOL EventXplatEnabledApplyPolicyEnd_V1();
+extern "C" ULONG FireEtXplatApplyPolicyEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledLdLibShFolder();
+extern "C" ULONG FireEtXplatLdLibShFolder(
+);
+extern "C" BOOL EventXplatEnabledLdLibShFolder_V1();
+extern "C" ULONG FireEtXplatLdLibShFolder_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledLdLibShFolderEnd();
+extern "C" ULONG FireEtXplatLdLibShFolderEnd(
+);
+extern "C" BOOL EventXplatEnabledLdLibShFolderEnd_V1();
+extern "C" ULONG FireEtXplatLdLibShFolderEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledPrestubWorker();
+extern "C" ULONG FireEtXplatPrestubWorker(
+);
+extern "C" BOOL EventXplatEnabledPrestubWorker_V1();
+extern "C" ULONG FireEtXplatPrestubWorker_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledPrestubWorkerEnd();
+extern "C" ULONG FireEtXplatPrestubWorkerEnd(
+);
+extern "C" BOOL EventXplatEnabledPrestubWorkerEnd_V1();
+extern "C" ULONG FireEtXplatPrestubWorkerEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGetInstallationStart();
+extern "C" ULONG FireEtXplatGetInstallationStart(
+);
+extern "C" BOOL EventXplatEnabledGetInstallationStart_V1();
+extern "C" ULONG FireEtXplatGetInstallationStart_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGetInstallationEnd();
+extern "C" ULONG FireEtXplatGetInstallationEnd(
+);
+extern "C" BOOL EventXplatEnabledGetInstallationEnd_V1();
+extern "C" ULONG FireEtXplatGetInstallationEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledOpenHModule();
+extern "C" ULONG FireEtXplatOpenHModule(
+);
+extern "C" BOOL EventXplatEnabledOpenHModule_V1();
+extern "C" ULONG FireEtXplatOpenHModule_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledOpenHModuleEnd();
+extern "C" ULONG FireEtXplatOpenHModuleEnd(
+);
+extern "C" BOOL EventXplatEnabledOpenHModuleEnd_V1();
+extern "C" ULONG FireEtXplatOpenHModuleEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledExplicitBindStart();
+extern "C" ULONG FireEtXplatExplicitBindStart(
+);
+extern "C" BOOL EventXplatEnabledExplicitBindStart_V1();
+extern "C" ULONG FireEtXplatExplicitBindStart_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledExplicitBindEnd();
+extern "C" ULONG FireEtXplatExplicitBindEnd(
+);
+extern "C" BOOL EventXplatEnabledExplicitBindEnd_V1();
+extern "C" ULONG FireEtXplatExplicitBindEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledParseXml();
+extern "C" ULONG FireEtXplatParseXml(
+);
+extern "C" BOOL EventXplatEnabledParseXml_V1();
+extern "C" ULONG FireEtXplatParseXml_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledParseXmlEnd();
+extern "C" ULONG FireEtXplatParseXmlEnd(
+);
+extern "C" BOOL EventXplatEnabledParseXmlEnd_V1();
+extern "C" ULONG FireEtXplatParseXmlEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledInitDefaultDomain();
+extern "C" ULONG FireEtXplatInitDefaultDomain(
+);
+extern "C" BOOL EventXplatEnabledInitDefaultDomain_V1();
+extern "C" ULONG FireEtXplatInitDefaultDomain_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledInitDefaultDomainEnd();
+extern "C" ULONG FireEtXplatInitDefaultDomainEnd(
+);
+extern "C" BOOL EventXplatEnabledInitDefaultDomainEnd_V1();
+extern "C" ULONG FireEtXplatInitDefaultDomainEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledInitSecurity();
+extern "C" ULONG FireEtXplatInitSecurity(
+);
+extern "C" BOOL EventXplatEnabledInitSecurity_V1();
+extern "C" ULONG FireEtXplatInitSecurity_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledInitSecurityEnd();
+extern "C" ULONG FireEtXplatInitSecurityEnd(
+);
+extern "C" BOOL EventXplatEnabledInitSecurityEnd_V1();
+extern "C" ULONG FireEtXplatInitSecurityEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledAllowBindingRedirs();
+extern "C" ULONG FireEtXplatAllowBindingRedirs(
+);
+extern "C" BOOL EventXplatEnabledAllowBindingRedirs_V1();
+extern "C" ULONG FireEtXplatAllowBindingRedirs_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledAllowBindingRedirsEnd();
+extern "C" ULONG FireEtXplatAllowBindingRedirsEnd(
+);
+extern "C" BOOL EventXplatEnabledAllowBindingRedirsEnd_V1();
+extern "C" ULONG FireEtXplatAllowBindingRedirsEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledEEConfigSync();
+extern "C" ULONG FireEtXplatEEConfigSync(
+);
+extern "C" BOOL EventXplatEnabledEEConfigSync_V1();
+extern "C" ULONG FireEtXplatEEConfigSync_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledEEConfigSyncEnd();
+extern "C" ULONG FireEtXplatEEConfigSyncEnd(
+);
+extern "C" BOOL EventXplatEnabledEEConfigSyncEnd_V1();
+extern "C" ULONG FireEtXplatEEConfigSyncEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledFusionBinding();
+extern "C" ULONG FireEtXplatFusionBinding(
+);
+extern "C" BOOL EventXplatEnabledFusionBinding_V1();
+extern "C" ULONG FireEtXplatFusionBinding_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledFusionBindingEnd();
+extern "C" ULONG FireEtXplatFusionBindingEnd(
+);
+extern "C" BOOL EventXplatEnabledFusionBindingEnd_V1();
+extern "C" ULONG FireEtXplatFusionBindingEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledLoaderCatchCall();
+extern "C" ULONG FireEtXplatLoaderCatchCall(
+);
+extern "C" BOOL EventXplatEnabledLoaderCatchCall_V1();
+extern "C" ULONG FireEtXplatLoaderCatchCall_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledLoaderCatchCallEnd();
+extern "C" ULONG FireEtXplatLoaderCatchCallEnd(
+);
+extern "C" BOOL EventXplatEnabledLoaderCatchCallEnd_V1();
+extern "C" ULONG FireEtXplatLoaderCatchCallEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledFusionInit();
+extern "C" ULONG FireEtXplatFusionInit(
+);
+extern "C" BOOL EventXplatEnabledFusionInit_V1();
+extern "C" ULONG FireEtXplatFusionInit_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledFusionInitEnd();
+extern "C" ULONG FireEtXplatFusionInitEnd(
+);
+extern "C" BOOL EventXplatEnabledFusionInitEnd_V1();
+extern "C" ULONG FireEtXplatFusionInitEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledFusionAppCtx();
+extern "C" ULONG FireEtXplatFusionAppCtx(
+);
+extern "C" BOOL EventXplatEnabledFusionAppCtx_V1();
+extern "C" ULONG FireEtXplatFusionAppCtx_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledFusionAppCtxEnd();
+extern "C" ULONG FireEtXplatFusionAppCtxEnd(
+);
+extern "C" BOOL EventXplatEnabledFusionAppCtxEnd_V1();
+extern "C" ULONG FireEtXplatFusionAppCtxEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledFusion2EE();
+extern "C" ULONG FireEtXplatFusion2EE(
+);
+extern "C" BOOL EventXplatEnabledFusion2EE_V1();
+extern "C" ULONG FireEtXplatFusion2EE_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledFusion2EEEnd();
+extern "C" ULONG FireEtXplatFusion2EEEnd(
+);
+extern "C" BOOL EventXplatEnabledFusion2EEEnd_V1();
+extern "C" ULONG FireEtXplatFusion2EEEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledSecurityCatchCall();
+extern "C" ULONG FireEtXplatSecurityCatchCall(
+);
+extern "C" BOOL EventXplatEnabledSecurityCatchCall_V1();
+extern "C" ULONG FireEtXplatSecurityCatchCall_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledSecurityCatchCallEnd();
+extern "C" ULONG FireEtXplatSecurityCatchCallEnd(
+);
+extern "C" BOOL EventXplatEnabledSecurityCatchCallEnd_V1();
+extern "C" ULONG FireEtXplatSecurityCatchCallEnd_V1(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledCLRStackWalkPrivate();
+extern "C" ULONG FireEtXplatCLRStackWalkPrivate(
+ const unsigned short ClrInstanceID,
+ const unsigned char Reserved1,
+ const unsigned char Reserved2,
+ const unsigned int FrameCount,
+ const void** Stack
+);
+extern "C" BOOL EventXplatEnabledModuleRangeLoadPrivate();
+extern "C" ULONG FireEtXplatModuleRangeLoadPrivate(
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 ModuleID,
+ const unsigned int RangeBegin,
+ const unsigned int RangeSize,
+ const unsigned char RangeType,
+ const unsigned char IBCType,
+ const unsigned short SectionType
+);
+extern "C" BOOL EventXplatEnabledBindingPolicyPhaseStart();
+extern "C" ULONG FireEtXplatBindingPolicyPhaseStart(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBindingPolicyPhaseEnd();
+extern "C" ULONG FireEtXplatBindingPolicyPhaseEnd(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBindingNgenPhaseStart();
+extern "C" ULONG FireEtXplatBindingNgenPhaseStart(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBindingNgenPhaseEnd();
+extern "C" ULONG FireEtXplatBindingNgenPhaseEnd(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBindingLookupAndProbingPhaseStart();
+extern "C" ULONG FireEtXplatBindingLookupAndProbingPhaseStart(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBindingLookupAndProbingPhaseEnd();
+extern "C" ULONG FireEtXplatBindingLookupAndProbingPhaseEnd(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledLoaderPhaseStart();
+extern "C" ULONG FireEtXplatLoaderPhaseStart(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledLoaderPhaseEnd();
+extern "C" ULONG FireEtXplatLoaderPhaseEnd(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBindingPhaseStart();
+extern "C" ULONG FireEtXplatBindingPhaseStart(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBindingPhaseEnd();
+extern "C" ULONG FireEtXplatBindingPhaseEnd(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBindingDownloadPhaseStart();
+extern "C" ULONG FireEtXplatBindingDownloadPhaseStart(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBindingDownloadPhaseEnd();
+extern "C" ULONG FireEtXplatBindingDownloadPhaseEnd(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledLoaderAssemblyInitPhaseStart();
+extern "C" ULONG FireEtXplatLoaderAssemblyInitPhaseStart(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledLoaderAssemblyInitPhaseEnd();
+extern "C" ULONG FireEtXplatLoaderAssemblyInitPhaseEnd(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledLoaderMappingPhaseStart();
+extern "C" ULONG FireEtXplatLoaderMappingPhaseStart(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledLoaderMappingPhaseEnd();
+extern "C" ULONG FireEtXplatLoaderMappingPhaseEnd(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledLoaderDeliverEventsPhaseStart();
+extern "C" ULONG FireEtXplatLoaderDeliverEventsPhaseStart(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledLoaderDeliverEventsPhaseEnd();
+extern "C" ULONG FireEtXplatLoaderDeliverEventsPhaseEnd(
+ const unsigned int AppDomainID,
+ const unsigned int LoadContextID,
+ const unsigned int FromLoaderCache,
+ const unsigned int DynamicLoad,
+ PCWSTR AssemblyCodebase,
+ PCWSTR AssemblyName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledEvidenceGenerated();
+extern "C" ULONG FireEtXplatEvidenceGenerated(
+ const unsigned int Type,
+ const unsigned int AppDomain,
+ PCWSTR ILImage,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledModuleTransparencyComputationStart();
+extern "C" ULONG FireEtXplatModuleTransparencyComputationStart(
+ PCWSTR Module,
+ const unsigned int AppDomainID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledModuleTransparencyComputationEnd();
+extern "C" ULONG FireEtXplatModuleTransparencyComputationEnd(
+ PCWSTR Module,
+ const unsigned int AppDomainID,
+ const BOOL IsAllCritical,
+ const BOOL IsAllTransparent,
+ const BOOL IsTreatAsSafe,
+ const BOOL IsOpportunisticallyCritical,
+ const unsigned int SecurityRuleSet,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledTypeTransparencyComputationStart();
+extern "C" ULONG FireEtXplatTypeTransparencyComputationStart(
+ PCWSTR Type,
+ PCWSTR Module,
+ const unsigned int AppDomainID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledTypeTransparencyComputationEnd();
+extern "C" ULONG FireEtXplatTypeTransparencyComputationEnd(
+ PCWSTR Type,
+ PCWSTR Module,
+ const unsigned int AppDomainID,
+ const BOOL IsAllCritical,
+ const BOOL IsAllTransparent,
+ const BOOL IsCritical,
+ const BOOL IsTreatAsSafe,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMethodTransparencyComputationStart();
+extern "C" ULONG FireEtXplatMethodTransparencyComputationStart(
+ PCWSTR Method,
+ PCWSTR Module,
+ const unsigned int AppDomainID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMethodTransparencyComputationEnd();
+extern "C" ULONG FireEtXplatMethodTransparencyComputationEnd(
+ PCWSTR Method,
+ PCWSTR Module,
+ const unsigned int AppDomainID,
+ const BOOL IsCritical,
+ const BOOL IsTreatAsSafe,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledFieldTransparencyComputationStart();
+extern "C" ULONG FireEtXplatFieldTransparencyComputationStart(
+ PCWSTR Field,
+ PCWSTR Module,
+ const unsigned int AppDomainID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledFieldTransparencyComputationEnd();
+extern "C" ULONG FireEtXplatFieldTransparencyComputationEnd(
+ PCWSTR Field,
+ PCWSTR Module,
+ const unsigned int AppDomainID,
+ const BOOL IsCritical,
+ const BOOL IsTreatAsSafe,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledTokenTransparencyComputationStart();
+extern "C" ULONG FireEtXplatTokenTransparencyComputationStart(
+ const unsigned int Token,
+ PCWSTR Module,
+ const unsigned int AppDomainID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledTokenTransparencyComputationEnd();
+extern "C" ULONG FireEtXplatTokenTransparencyComputationEnd(
+ const unsigned int Token,
+ PCWSTR Module,
+ const unsigned int AppDomainID,
+ const BOOL IsCritical,
+ const BOOL IsTreatAsSafe,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledNgenBindEvent();
+extern "C" ULONG FireEtXplatNgenBindEvent(
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 BindingID,
+ const unsigned int ReasonCode,
+ PCWSTR AssemblyName
+);
+extern "C" BOOL EventXplatEnabledFailFast();
+extern "C" ULONG FireEtXplatFailFast(
+ PCWSTR FailFastUserMessage,
+ const void* FailedEIP,
+ const unsigned int OSExitCode,
+ const unsigned int ClrExitCode,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledPrvFinalizeObject();
+extern "C" ULONG FireEtXplatPrvFinalizeObject(
+ const void* TypeID,
+ const void* ObjectID,
+ const unsigned short ClrInstanceID,
+ PCWSTR TypeName
+);
+extern "C" BOOL EventXplatEnabledCCWRefCountChange();
+extern "C" ULONG FireEtXplatCCWRefCountChange(
+ const void* HandleID,
+ const void* ObjectID,
+ const void* COMInterfacePointer,
+ const unsigned int NewRefCount,
+ const unsigned __int64 AppDomainID,
+ LPCSTR ClassName,
+ LPCSTR NameSpace,
+ PCWSTR Operation,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledPrvSetGCHandle();
+extern "C" ULONG FireEtXplatPrvSetGCHandle(
+ const void* HandleID,
+ const void* ObjectID,
+ const unsigned int Kind,
+ const unsigned int Generation,
+ const unsigned __int64 AppDomainID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledPrvDestroyGCHandle();
+extern "C" ULONG FireEtXplatPrvDestroyGCHandle(
+ const void* HandleID,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledFusionMessageEvent();
+extern "C" ULONG FireEtXplatFusionMessageEvent(
+ const unsigned short ClrInstanceID,
+ const BOOL Prepend,
+ PCWSTR Message
+);
+extern "C" BOOL EventXplatEnabledFusionErrorCodeEvent();
+extern "C" ULONG FireEtXplatFusionErrorCodeEvent(
+ const unsigned short ClrInstanceID,
+ const unsigned int Category,
+ const unsigned int ErrorCode
+);
+extern "C" BOOL EventXplatEnabledPinPlugAtGCTime();
+extern "C" ULONG FireEtXplatPinPlugAtGCTime(
+ const void* PlugStart,
+ const void* PlugEnd,
+ const void* GapBeforeSize,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledAllocRequest();
+extern "C" ULONG FireEtXplatAllocRequest(
+ const void* LoaderHeapPtr,
+ const void* MemoryAddress,
+ const unsigned int RequestSize,
+ const unsigned int Unused1,
+ const unsigned __int64 Unused2,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledMulticoreJit();
+extern "C" ULONG FireEtXplatMulticoreJit(
+ const unsigned short ClrInstanceID,
+ PCWSTR String1,
+ PCWSTR String2,
+ const signed int Int1,
+ const signed int Int2,
+ const signed int Int3
+);
+extern "C" BOOL EventXplatEnabledMulticoreJitMethodCodeReturned();
+extern "C" ULONG FireEtXplatMulticoreJitMethodCodeReturned(
+ const unsigned short ClrInstanceID,
+ const unsigned __int64 ModuleID,
+ const unsigned __int64 MethodID
+);
+extern "C" BOOL EventXplatEnabledIInspectableRuntimeClassName();
+extern "C" ULONG FireEtXplatIInspectableRuntimeClassName(
+ PCWSTR TypeName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledWinRTUnbox();
+extern "C" ULONG FireEtXplatWinRTUnbox(
+ PCWSTR TypeName,
+ PCWSTR SecondTypeName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledCreateRCW();
+extern "C" ULONG FireEtXplatCreateRCW(
+ PCWSTR TypeName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledRCWVariance();
+extern "C" ULONG FireEtXplatRCWVariance(
+ PCWSTR TypeName,
+ PCWSTR InterfaceTypeName,
+ PCWSTR VariantInterfaceTypeName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledRCWIEnumerableCasting();
+extern "C" ULONG FireEtXplatRCWIEnumerableCasting(
+ PCWSTR TypeName,
+ PCWSTR SecondTypeName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledCreateCCW();
+extern "C" ULONG FireEtXplatCreateCCW(
+ PCWSTR TypeName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledCCWVariance();
+extern "C" ULONG FireEtXplatCCWVariance(
+ PCWSTR TypeName,
+ PCWSTR InterfaceTypeName,
+ PCWSTR VariantInterfaceTypeName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledObjectVariantMarshallingToNative();
+extern "C" ULONG FireEtXplatObjectVariantMarshallingToNative(
+ PCWSTR TypeName,
+ const signed int Int1,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGetTypeFromGUID();
+extern "C" ULONG FireEtXplatGetTypeFromGUID(
+ PCWSTR TypeName,
+ PCWSTR SecondTypeName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledGetTypeFromProgID();
+extern "C" ULONG FireEtXplatGetTypeFromProgID(
+ PCWSTR TypeName,
+ PCWSTR SecondTypeName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledConvertToCallbackEtw();
+extern "C" ULONG FireEtXplatConvertToCallbackEtw(
+ PCWSTR TypeName,
+ PCWSTR SecondTypeName,
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledBeginCreateManagedReference();
+extern "C" ULONG FireEtXplatBeginCreateManagedReference(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledEndCreateManagedReference();
+extern "C" ULONG FireEtXplatEndCreateManagedReference(
+ const unsigned short ClrInstanceID
+);
+extern "C" BOOL EventXplatEnabledObjectVariantMarshallingToManaged();
+extern "C" ULONG FireEtXplatObjectVariantMarshallingToManaged(
+ PCWSTR TypeName,
+ const signed int Int1,
+ const unsigned short ClrInstanceID
+);
add_definitions(-DPAL_STDCPP_COMPAT=1)
include_directories(${COREPAL_SOURCE_DIR}/inc/rt)
-include_directories(${COREPAL_SOURCE_DIR}/src/eventprovider)
add_library(eventprovider
STATIC
#define TRACEPOINT_DEFINE
#define TRACEPOINT_PROBE_DYNAMIC_LINKAGE
#include "lttng/tpdotnetruntime.h"
-extern "C" BOOL EventEnabledGCStart(){ return TRUE;}
-extern "C" ULONG FireEtwGCStart(
+extern "C" BOOL EventXplatEnabledGCStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCStart(
const unsigned int Count,
const unsigned int Reason
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCStart()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCStart_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCStart_V1(
+extern "C" BOOL EventXplatEnabledGCStart_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCStart_V1(
const unsigned int Count,
const unsigned int Depth,
const unsigned int Reason,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCStart_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCStart_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCStart_V2(){ return TRUE;}
-extern "C" ULONG FireEtwGCStart_V2(
+extern "C" BOOL EventXplatEnabledGCStart_V2(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCStart_V2(
const unsigned int Count,
const unsigned int Depth,
const unsigned int Reason,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCStart_V2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCStart_V2()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCEnd(){ return TRUE;}
-extern "C" ULONG FireEtwGCEnd(
+extern "C" BOOL EventXplatEnabledGCEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCEnd(
const unsigned int Count,
const unsigned short Depth
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCEnd_V1(
+extern "C" BOOL EventXplatEnabledGCEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCEnd_V1(
const unsigned int Count,
const unsigned int Depth,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCRestartEEEnd(){ return TRUE;}
-extern "C" ULONG FireEtwGCRestartEEEnd(
+extern "C" BOOL EventXplatEnabledGCRestartEEEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCRestartEEEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCRestartEEEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCRestartEEEnd()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledGCRestartEEEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCRestartEEEnd_V1(
+extern "C" BOOL EventXplatEnabledGCRestartEEEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCRestartEEEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCRestartEEEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCRestartEEEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCHeapStats(){ return TRUE;}
-extern "C" ULONG FireEtwGCHeapStats(
+extern "C" BOOL EventXplatEnabledGCHeapStats(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCHeapStats(
const unsigned __int64 GenerationSize0,
const unsigned __int64 TotalPromotedSize0,
const unsigned __int64 GenerationSize1,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCHeapStats()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCHeapStats()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCHeapStats_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCHeapStats_V1(
+extern "C" BOOL EventXplatEnabledGCHeapStats_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCHeapStats_V1(
const unsigned __int64 GenerationSize0,
const unsigned __int64 TotalPromotedSize0,
const unsigned __int64 GenerationSize1,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCHeapStats_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCHeapStats_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCCreateSegment(){ return TRUE;}
-extern "C" ULONG FireEtwGCCreateSegment(
+extern "C" BOOL EventXplatEnabledGCCreateSegment(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCCreateSegment(
const unsigned __int64 Address,
const unsigned __int64 Size,
const unsigned int Type
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCCreateSegment()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCCreateSegment()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCCreateSegment_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCCreateSegment_V1(
+extern "C" BOOL EventXplatEnabledGCCreateSegment_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCCreateSegment_V1(
const unsigned __int64 Address,
const unsigned __int64 Size,
const unsigned int Type,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCCreateSegment_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCCreateSegment_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCFreeSegment(){ return TRUE;}
-extern "C" ULONG FireEtwGCFreeSegment(
+extern "C" BOOL EventXplatEnabledGCFreeSegment(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCFreeSegment(
const unsigned __int64 Address
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCFreeSegment()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCFreeSegment()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCFreeSegment_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCFreeSegment_V1(
+extern "C" BOOL EventXplatEnabledGCFreeSegment_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCFreeSegment_V1(
const unsigned __int64 Address,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCFreeSegment_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCFreeSegment_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCRestartEEBegin(){ return TRUE;}
-extern "C" ULONG FireEtwGCRestartEEBegin(
+extern "C" BOOL EventXplatEnabledGCRestartEEBegin(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCRestartEEBegin(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCRestartEEBegin()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCRestartEEBegin()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledGCRestartEEBegin_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCRestartEEBegin_V1(
+extern "C" BOOL EventXplatEnabledGCRestartEEBegin_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCRestartEEBegin_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCRestartEEBegin_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCRestartEEBegin_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCSuspendEEEnd(){ return TRUE;}
-extern "C" ULONG FireEtwGCSuspendEEEnd(
+extern "C" BOOL EventXplatEnabledGCSuspendEEEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCSuspendEEEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCSuspendEEEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCSuspendEEEnd()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledGCSuspendEEEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCSuspendEEEnd_V1(
+extern "C" BOOL EventXplatEnabledGCSuspendEEEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCSuspendEEEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCSuspendEEEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCSuspendEEEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCSuspendEEBegin(){ return TRUE;}
-extern "C" ULONG FireEtwGCSuspendEEBegin(
+extern "C" BOOL EventXplatEnabledGCSuspendEEBegin(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCSuspendEEBegin(
const unsigned short Reason
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCSuspendEEBegin()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCSuspendEEBegin()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCSuspendEEBegin_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCSuspendEEBegin_V1(
+extern "C" BOOL EventXplatEnabledGCSuspendEEBegin_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCSuspendEEBegin_V1(
const unsigned int Reason,
const unsigned int Count,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCSuspendEEBegin_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCSuspendEEBegin_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCAllocationTick(){ return TRUE;}
-extern "C" ULONG FireEtwGCAllocationTick(
+extern "C" BOOL EventXplatEnabledGCAllocationTick(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCAllocationTick(
const unsigned int AllocationAmount,
const unsigned int AllocationKind
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCAllocationTick()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCAllocationTick()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCAllocationTick_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCAllocationTick_V1(
+extern "C" BOOL EventXplatEnabledGCAllocationTick_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCAllocationTick_V1(
const unsigned int AllocationAmount,
const unsigned int AllocationKind,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCAllocationTick_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCAllocationTick_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCAllocationTick_V2(){ return TRUE;}
-extern "C" ULONG FireEtwGCAllocationTick_V2(
+extern "C" BOOL EventXplatEnabledGCAllocationTick_V2(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCAllocationTick_V2(
const unsigned int AllocationAmount,
const unsigned int AllocationKind,
const unsigned short ClrInstanceID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCAllocationTick_V2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCAllocationTick_V2()){ return ERROR_SUCCESS;};
INT TypeName_path_size = -1;
- INT TypeName_full_name_path_size = PAL_wcslen(TypeName) + 1;
+ INT TypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, TypeName, -1, NULL, 0, NULL, NULL );
CHAR* TypeName_full_name=NULL;
TypeName_full_name = (CHAR*)malloc(TypeName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledGCAllocationTick_V3(){ return TRUE;}
-extern "C" ULONG FireEtwGCAllocationTick_V3(
+extern "C" BOOL EventXplatEnabledGCAllocationTick_V3(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCAllocationTick_V3(
const unsigned int AllocationAmount,
const unsigned int AllocationKind,
const unsigned short ClrInstanceID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCAllocationTick_V3()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCAllocationTick_V3()){ return ERROR_SUCCESS;};
INT TypeName_path_size = -1;
- INT TypeName_full_name_path_size = PAL_wcslen(TypeName) + 1;
+ INT TypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, TypeName, -1, NULL, 0, NULL, NULL );
CHAR* TypeName_full_name=NULL;
TypeName_full_name = (CHAR*)malloc(TypeName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledGCCreateConcurrentThread(){ return TRUE;}
-extern "C" ULONG FireEtwGCCreateConcurrentThread(
+extern "C" BOOL EventXplatEnabledGCCreateConcurrentThread(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCCreateConcurrentThread(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCCreateConcurrentThread()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCCreateConcurrentThread()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledGCCreateConcurrentThread_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCCreateConcurrentThread_V1(
+extern "C" BOOL EventXplatEnabledGCCreateConcurrentThread_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCCreateConcurrentThread_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCCreateConcurrentThread_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCCreateConcurrentThread_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCTerminateConcurrentThread(){ return TRUE;}
-extern "C" ULONG FireEtwGCTerminateConcurrentThread(
+extern "C" BOOL EventXplatEnabledGCTerminateConcurrentThread(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCTerminateConcurrentThread(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCTerminateConcurrentThread()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCTerminateConcurrentThread()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledGCTerminateConcurrentThread_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCTerminateConcurrentThread_V1(
+extern "C" BOOL EventXplatEnabledGCTerminateConcurrentThread_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCTerminateConcurrentThread_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCTerminateConcurrentThread_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCTerminateConcurrentThread_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCFinalizersEnd(){ return TRUE;}
-extern "C" ULONG FireEtwGCFinalizersEnd(
+extern "C" BOOL EventXplatEnabledGCFinalizersEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCFinalizersEnd(
const unsigned int Count
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCFinalizersEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCFinalizersEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCFinalizersEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCFinalizersEnd_V1(
+extern "C" BOOL EventXplatEnabledGCFinalizersEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCFinalizersEnd_V1(
const unsigned int Count,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCFinalizersEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCFinalizersEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCFinalizersBegin(){ return TRUE;}
-extern "C" ULONG FireEtwGCFinalizersBegin(
+extern "C" BOOL EventXplatEnabledGCFinalizersBegin(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCFinalizersBegin(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCFinalizersBegin()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCFinalizersBegin()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledGCFinalizersBegin_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCFinalizersBegin_V1(
+extern "C" BOOL EventXplatEnabledGCFinalizersBegin_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCFinalizersBegin_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCFinalizersBegin_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCFinalizersBegin_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledBulkType(){ return TRUE;}
-extern "C" ULONG FireEtwBulkType(
+extern "C" BOOL EventXplatEnabledBulkType(){ return TRUE;}
+extern "C" ULONG FireEtXplatBulkType(
const unsigned int Count,
const unsigned short ClrInstanceID,
const ULONG Arg2_Struct_Len_,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBulkType()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBulkType()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCBulkRootEdge(){ return TRUE;}
-extern "C" ULONG FireEtwGCBulkRootEdge(
+extern "C" BOOL EventXplatEnabledGCBulkRootEdge(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCBulkRootEdge(
const unsigned int Index,
const unsigned int Count,
const unsigned short ClrInstanceID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCBulkRootEdge()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCBulkRootEdge()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCBulkRootConditionalWeakTableElementEdge(){ return TRUE;}
-extern "C" ULONG FireEtwGCBulkRootConditionalWeakTableElementEdge(
+extern "C" BOOL EventXplatEnabledGCBulkRootConditionalWeakTableElementEdge(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCBulkRootConditionalWeakTableElementEdge(
const unsigned int Index,
const unsigned int Count,
const unsigned short ClrInstanceID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCBulkRootConditionalWeakTableElementEdge()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCBulkRootConditionalWeakTableElementEdge()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCBulkNode(){ return TRUE;}
-extern "C" ULONG FireEtwGCBulkNode(
+extern "C" BOOL EventXplatEnabledGCBulkNode(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCBulkNode(
const unsigned int Index,
const unsigned int Count,
const unsigned short ClrInstanceID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCBulkNode()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCBulkNode()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCBulkEdge(){ return TRUE;}
-extern "C" ULONG FireEtwGCBulkEdge(
+extern "C" BOOL EventXplatEnabledGCBulkEdge(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCBulkEdge(
const unsigned int Index,
const unsigned int Count,
const unsigned short ClrInstanceID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCBulkEdge()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCBulkEdge()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCSampledObjectAllocationHigh(){ return TRUE;}
-extern "C" ULONG FireEtwGCSampledObjectAllocationHigh(
+extern "C" BOOL EventXplatEnabledGCSampledObjectAllocationHigh(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCSampledObjectAllocationHigh(
const void* Address,
const void* TypeID,
const unsigned int ObjectCountForTypeSample,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCSampledObjectAllocationHigh()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCSampledObjectAllocationHigh()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCBulkSurvivingObjectRanges(){ return TRUE;}
-extern "C" ULONG FireEtwGCBulkSurvivingObjectRanges(
+extern "C" BOOL EventXplatEnabledGCBulkSurvivingObjectRanges(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCBulkSurvivingObjectRanges(
const unsigned int Index,
const unsigned int Count,
const unsigned short ClrInstanceID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCBulkSurvivingObjectRanges()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCBulkSurvivingObjectRanges()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCBulkMovedObjectRanges(){ return TRUE;}
-extern "C" ULONG FireEtwGCBulkMovedObjectRanges(
+extern "C" BOOL EventXplatEnabledGCBulkMovedObjectRanges(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCBulkMovedObjectRanges(
const unsigned int Index,
const unsigned int Count,
const unsigned short ClrInstanceID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCBulkMovedObjectRanges()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCBulkMovedObjectRanges()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCGenerationRange(){ return TRUE;}
-extern "C" ULONG FireEtwGCGenerationRange(
+extern "C" BOOL EventXplatEnabledGCGenerationRange(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCGenerationRange(
const unsigned char Generation,
const void* RangeStart,
const unsigned __int64 RangeUsedLength,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCGenerationRange()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCGenerationRange()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCMarkStackRoots(){ return TRUE;}
-extern "C" ULONG FireEtwGCMarkStackRoots(
+extern "C" BOOL EventXplatEnabledGCMarkStackRoots(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCMarkStackRoots(
const unsigned int HeapNum,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCMarkStackRoots()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCMarkStackRoots()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCMarkFinalizeQueueRoots(){ return TRUE;}
-extern "C" ULONG FireEtwGCMarkFinalizeQueueRoots(
+extern "C" BOOL EventXplatEnabledGCMarkFinalizeQueueRoots(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCMarkFinalizeQueueRoots(
const unsigned int HeapNum,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCMarkFinalizeQueueRoots()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCMarkFinalizeQueueRoots()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCMarkHandles(){ return TRUE;}
-extern "C" ULONG FireEtwGCMarkHandles(
+extern "C" BOOL EventXplatEnabledGCMarkHandles(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCMarkHandles(
const unsigned int HeapNum,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCMarkHandles()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCMarkHandles()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCMarkOlderGenerationRoots(){ return TRUE;}
-extern "C" ULONG FireEtwGCMarkOlderGenerationRoots(
+extern "C" BOOL EventXplatEnabledGCMarkOlderGenerationRoots(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCMarkOlderGenerationRoots(
const unsigned int HeapNum,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCMarkOlderGenerationRoots()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCMarkOlderGenerationRoots()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFinalizeObject(){ return TRUE;}
-extern "C" ULONG FireEtwFinalizeObject(
+extern "C" BOOL EventXplatEnabledFinalizeObject(){ return TRUE;}
+extern "C" ULONG FireEtXplatFinalizeObject(
const void* TypeID,
const void* ObjectID,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFinalizeObject()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFinalizeObject()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledSetGCHandle(){ return TRUE;}
-extern "C" ULONG FireEtwSetGCHandle(
+extern "C" BOOL EventXplatEnabledSetGCHandle(){ return TRUE;}
+extern "C" ULONG FireEtXplatSetGCHandle(
const void* HandleID,
const void* ObjectID,
const unsigned int Kind,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledSetGCHandle()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledSetGCHandle()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledDestroyGCHandle(){ return TRUE;}
-extern "C" ULONG FireEtwDestroyGCHandle(
+extern "C" BOOL EventXplatEnabledDestroyGCHandle(){ return TRUE;}
+extern "C" ULONG FireEtXplatDestroyGCHandle(
const void* HandleID,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDestroyGCHandle()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDestroyGCHandle()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCSampledObjectAllocationLow(){ return TRUE;}
-extern "C" ULONG FireEtwGCSampledObjectAllocationLow(
+extern "C" BOOL EventXplatEnabledGCSampledObjectAllocationLow(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCSampledObjectAllocationLow(
const void* Address,
const void* TypeID,
const unsigned int ObjectCountForTypeSample,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCSampledObjectAllocationLow()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCSampledObjectAllocationLow()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledPinObjectAtGCTime(){ return TRUE;}
-extern "C" ULONG FireEtwPinObjectAtGCTime(
+extern "C" BOOL EventXplatEnabledPinObjectAtGCTime(){ return TRUE;}
+extern "C" ULONG FireEtXplatPinObjectAtGCTime(
const void* HandleID,
const void* ObjectID,
const unsigned __int64 ObjectSize,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledPinObjectAtGCTime()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledPinObjectAtGCTime()){ return ERROR_SUCCESS;};
INT TypeName_path_size = -1;
- INT TypeName_full_name_path_size = PAL_wcslen(TypeName) + 1;
+ INT TypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, TypeName, -1, NULL, 0, NULL, NULL );
CHAR* TypeName_full_name=NULL;
TypeName_full_name = (CHAR*)malloc(TypeName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledGCTriggered(){ return TRUE;}
-extern "C" ULONG FireEtwGCTriggered(
+extern "C" BOOL EventXplatEnabledGCTriggered(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCTriggered(
const unsigned int Reason,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCTriggered()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCTriggered()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCBulkRootCCW(){ return TRUE;}
-extern "C" ULONG FireEtwGCBulkRootCCW(
+extern "C" BOOL EventXplatEnabledGCBulkRootCCW(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCBulkRootCCW(
const unsigned int Count,
const unsigned short ClrInstanceID,
const ULONG Arg2_Struct_Len_,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCBulkRootCCW()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCBulkRootCCW()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCBulkRCW(){ return TRUE;}
-extern "C" ULONG FireEtwGCBulkRCW(
+extern "C" BOOL EventXplatEnabledGCBulkRCW(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCBulkRCW(
const unsigned int Count,
const unsigned short ClrInstanceID,
const ULONG Arg2_Struct_Len_,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCBulkRCW()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCBulkRCW()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCBulkRootStaticVar(){ return TRUE;}
-extern "C" ULONG FireEtwGCBulkRootStaticVar(
+extern "C" BOOL EventXplatEnabledGCBulkRootStaticVar(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCBulkRootStaticVar(
const unsigned int Count,
const unsigned __int64 AppDomainID,
const unsigned short ClrInstanceID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCBulkRootStaticVar()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCBulkRootStaticVar()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledWorkerThreadCreate(){ return TRUE;}
-extern "C" ULONG FireEtwWorkerThreadCreate(
+extern "C" BOOL EventXplatEnabledWorkerThreadCreate(){ return TRUE;}
+extern "C" ULONG FireEtXplatWorkerThreadCreate(
const unsigned int WorkerThreadCount,
const unsigned int RetiredWorkerThreads
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledWorkerThreadCreate()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledWorkerThreadCreate()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledWorkerThreadTerminate(){ return TRUE;}
-extern "C" ULONG FireEtwWorkerThreadTerminate(
+extern "C" BOOL EventXplatEnabledWorkerThreadTerminate(){ return TRUE;}
+extern "C" ULONG FireEtXplatWorkerThreadTerminate(
const unsigned int WorkerThreadCount,
const unsigned int RetiredWorkerThreads
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledWorkerThreadTerminate()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledWorkerThreadTerminate()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledWorkerThreadRetire(){ return TRUE;}
-extern "C" ULONG FireEtwWorkerThreadRetire(
+extern "C" BOOL EventXplatEnabledWorkerThreadRetire(){ return TRUE;}
+extern "C" ULONG FireEtXplatWorkerThreadRetire(
const unsigned int WorkerThreadCount,
const unsigned int RetiredWorkerThreads
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledWorkerThreadRetire()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledWorkerThreadRetire()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledWorkerThreadUnretire(){ return TRUE;}
-extern "C" ULONG FireEtwWorkerThreadUnretire(
+extern "C" BOOL EventXplatEnabledWorkerThreadUnretire(){ return TRUE;}
+extern "C" ULONG FireEtXplatWorkerThreadUnretire(
const unsigned int WorkerThreadCount,
const unsigned int RetiredWorkerThreads
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledWorkerThreadUnretire()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledWorkerThreadUnretire()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledIOThreadCreate(){ return TRUE;}
-extern "C" ULONG FireEtwIOThreadCreate(
+extern "C" BOOL EventXplatEnabledIOThreadCreate(){ return TRUE;}
+extern "C" ULONG FireEtXplatIOThreadCreate(
const unsigned int IOThreadCount,
const unsigned int RetiredIOThreads
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledIOThreadCreate()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledIOThreadCreate()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledIOThreadCreate_V1(){ return TRUE;}
-extern "C" ULONG FireEtwIOThreadCreate_V1(
+extern "C" BOOL EventXplatEnabledIOThreadCreate_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatIOThreadCreate_V1(
const unsigned int IOThreadCount,
const unsigned int RetiredIOThreads,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledIOThreadCreate_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledIOThreadCreate_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledIOThreadTerminate(){ return TRUE;}
-extern "C" ULONG FireEtwIOThreadTerminate(
+extern "C" BOOL EventXplatEnabledIOThreadTerminate(){ return TRUE;}
+extern "C" ULONG FireEtXplatIOThreadTerminate(
const unsigned int IOThreadCount,
const unsigned int RetiredIOThreads
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledIOThreadTerminate()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledIOThreadTerminate()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledIOThreadTerminate_V1(){ return TRUE;}
-extern "C" ULONG FireEtwIOThreadTerminate_V1(
+extern "C" BOOL EventXplatEnabledIOThreadTerminate_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatIOThreadTerminate_V1(
const unsigned int IOThreadCount,
const unsigned int RetiredIOThreads,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledIOThreadTerminate_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledIOThreadTerminate_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledIOThreadRetire(){ return TRUE;}
-extern "C" ULONG FireEtwIOThreadRetire(
+extern "C" BOOL EventXplatEnabledIOThreadRetire(){ return TRUE;}
+extern "C" ULONG FireEtXplatIOThreadRetire(
const unsigned int IOThreadCount,
const unsigned int RetiredIOThreads
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledIOThreadRetire()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledIOThreadRetire()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledIOThreadRetire_V1(){ return TRUE;}
-extern "C" ULONG FireEtwIOThreadRetire_V1(
+extern "C" BOOL EventXplatEnabledIOThreadRetire_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatIOThreadRetire_V1(
const unsigned int IOThreadCount,
const unsigned int RetiredIOThreads,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledIOThreadRetire_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledIOThreadRetire_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledIOThreadUnretire(){ return TRUE;}
-extern "C" ULONG FireEtwIOThreadUnretire(
+extern "C" BOOL EventXplatEnabledIOThreadUnretire(){ return TRUE;}
+extern "C" ULONG FireEtXplatIOThreadUnretire(
const unsigned int IOThreadCount,
const unsigned int RetiredIOThreads
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledIOThreadUnretire()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledIOThreadUnretire()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledIOThreadUnretire_V1(){ return TRUE;}
-extern "C" ULONG FireEtwIOThreadUnretire_V1(
+extern "C" BOOL EventXplatEnabledIOThreadUnretire_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatIOThreadUnretire_V1(
const unsigned int IOThreadCount,
const unsigned int RetiredIOThreads,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledIOThreadUnretire_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledIOThreadUnretire_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadpoolSuspensionSuspendThread(){ return TRUE;}
-extern "C" ULONG FireEtwThreadpoolSuspensionSuspendThread(
+extern "C" BOOL EventXplatEnabledThreadpoolSuspensionSuspendThread(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadpoolSuspensionSuspendThread(
const unsigned int ClrThreadID,
const unsigned int CpuUtilization
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadpoolSuspensionSuspendThread()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadpoolSuspensionSuspendThread()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadpoolSuspensionResumeThread(){ return TRUE;}
-extern "C" ULONG FireEtwThreadpoolSuspensionResumeThread(
+extern "C" BOOL EventXplatEnabledThreadpoolSuspensionResumeThread(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadpoolSuspensionResumeThread(
const unsigned int ClrThreadID,
const unsigned int CpuUtilization
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadpoolSuspensionResumeThread()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadpoolSuspensionResumeThread()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadPoolWorkerThreadStart(){ return TRUE;}
-extern "C" ULONG FireEtwThreadPoolWorkerThreadStart(
+extern "C" BOOL EventXplatEnabledThreadPoolWorkerThreadStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadPoolWorkerThreadStart(
const unsigned int ActiveWorkerThreadCount,
const unsigned int RetiredWorkerThreadCount,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadPoolWorkerThreadStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadPoolWorkerThreadStart()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadPoolWorkerThreadStop(){ return TRUE;}
-extern "C" ULONG FireEtwThreadPoolWorkerThreadStop(
+extern "C" BOOL EventXplatEnabledThreadPoolWorkerThreadStop(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadPoolWorkerThreadStop(
const unsigned int ActiveWorkerThreadCount,
const unsigned int RetiredWorkerThreadCount,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadPoolWorkerThreadStop()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadPoolWorkerThreadStop()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadPoolWorkerThreadRetirementStart(){ return TRUE;}
-extern "C" ULONG FireEtwThreadPoolWorkerThreadRetirementStart(
+extern "C" BOOL EventXplatEnabledThreadPoolWorkerThreadRetirementStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadPoolWorkerThreadRetirementStart(
const unsigned int ActiveWorkerThreadCount,
const unsigned int RetiredWorkerThreadCount,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadPoolWorkerThreadRetirementStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadPoolWorkerThreadRetirementStart()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadPoolWorkerThreadRetirementStop(){ return TRUE;}
-extern "C" ULONG FireEtwThreadPoolWorkerThreadRetirementStop(
+extern "C" BOOL EventXplatEnabledThreadPoolWorkerThreadRetirementStop(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadPoolWorkerThreadRetirementStop(
const unsigned int ActiveWorkerThreadCount,
const unsigned int RetiredWorkerThreadCount,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadPoolWorkerThreadRetirementStop()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadPoolWorkerThreadRetirementStop()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadPoolWorkerThreadAdjustmentSample(){ return TRUE;}
-extern "C" ULONG FireEtwThreadPoolWorkerThreadAdjustmentSample(
+extern "C" BOOL EventXplatEnabledThreadPoolWorkerThreadAdjustmentSample(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadPoolWorkerThreadAdjustmentSample(
const double Throughput,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadPoolWorkerThreadAdjustmentSample()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadPoolWorkerThreadAdjustmentSample()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadPoolWorkerThreadAdjustmentAdjustment(){ return TRUE;}
-extern "C" ULONG FireEtwThreadPoolWorkerThreadAdjustmentAdjustment(
+extern "C" BOOL EventXplatEnabledThreadPoolWorkerThreadAdjustmentAdjustment(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadPoolWorkerThreadAdjustmentAdjustment(
const double AverageThroughput,
const unsigned int NewWorkerThreadCount,
const unsigned int Reason,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadPoolWorkerThreadAdjustmentAdjustment()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadPoolWorkerThreadAdjustmentAdjustment()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadPoolWorkerThreadAdjustmentStats(){ return TRUE;}
-extern "C" ULONG FireEtwThreadPoolWorkerThreadAdjustmentStats(
+extern "C" BOOL EventXplatEnabledThreadPoolWorkerThreadAdjustmentStats(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadPoolWorkerThreadAdjustmentStats(
const double Duration,
const double Throughput,
const double ThreadWave,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadPoolWorkerThreadAdjustmentStats()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadPoolWorkerThreadAdjustmentStats()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadPoolWorkerThreadWait(){ return TRUE;}
-extern "C" ULONG FireEtwThreadPoolWorkerThreadWait(
+extern "C" BOOL EventXplatEnabledThreadPoolWorkerThreadWait(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadPoolWorkerThreadWait(
const unsigned int ActiveWorkerThreadCount,
const unsigned int RetiredWorkerThreadCount,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadPoolWorkerThreadWait()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadPoolWorkerThreadWait()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadPoolWorkingThreadCount(){ return TRUE;}
-extern "C" ULONG FireEtwThreadPoolWorkingThreadCount(
+extern "C" BOOL EventXplatEnabledThreadPoolWorkingThreadCount(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadPoolWorkingThreadCount(
const unsigned int Count,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadPoolWorkingThreadCount()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadPoolWorkingThreadCount()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadPoolEnqueue(){ return TRUE;}
-extern "C" ULONG FireEtwThreadPoolEnqueue(
+extern "C" BOOL EventXplatEnabledThreadPoolEnqueue(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadPoolEnqueue(
const void* WorkID,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadPoolEnqueue()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadPoolEnqueue()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadPoolDequeue(){ return TRUE;}
-extern "C" ULONG FireEtwThreadPoolDequeue(
+extern "C" BOOL EventXplatEnabledThreadPoolDequeue(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadPoolDequeue(
const void* WorkID,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadPoolDequeue()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadPoolDequeue()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadPoolIOEnqueue(){ return TRUE;}
-extern "C" ULONG FireEtwThreadPoolIOEnqueue(
+extern "C" BOOL EventXplatEnabledThreadPoolIOEnqueue(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadPoolIOEnqueue(
const void* NativeOverlapped,
const void* Overlapped,
const BOOL MultiDequeues,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadPoolIOEnqueue()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadPoolIOEnqueue()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadPoolIODequeue(){ return TRUE;}
-extern "C" ULONG FireEtwThreadPoolIODequeue(
+extern "C" BOOL EventXplatEnabledThreadPoolIODequeue(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadPoolIODequeue(
const void* NativeOverlapped,
const void* Overlapped,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadPoolIODequeue()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadPoolIODequeue()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadPoolIOPack(){ return TRUE;}
-extern "C" ULONG FireEtwThreadPoolIOPack(
+extern "C" BOOL EventXplatEnabledThreadPoolIOPack(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadPoolIOPack(
const void* NativeOverlapped,
const void* Overlapped,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadPoolIOPack()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadPoolIOPack()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadCreating(){ return TRUE;}
-extern "C" ULONG FireEtwThreadCreating(
+extern "C" BOOL EventXplatEnabledThreadCreating(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadCreating(
const void* ID,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadCreating()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadCreating()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadRunning(){ return TRUE;}
-extern "C" ULONG FireEtwThreadRunning(
+extern "C" BOOL EventXplatEnabledThreadRunning(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadRunning(
const void* ID,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadRunning()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadRunning()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledExceptionThrown(){ return TRUE;}
-extern "C" ULONG FireEtwExceptionThrown(
+extern "C" BOOL EventXplatEnabledExceptionThrown(){ return TRUE;}
+extern "C" ULONG FireEtXplatExceptionThrown(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledExceptionThrown()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledExceptionThrown()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledExceptionThrown_V1(){ return TRUE;}
-extern "C" ULONG FireEtwExceptionThrown_V1(
+extern "C" BOOL EventXplatEnabledExceptionThrown_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatExceptionThrown_V1(
PCWSTR ExceptionType,
PCWSTR ExceptionMessage,
const void* ExceptionEIP,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledExceptionThrown_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledExceptionThrown_V1()){ return ERROR_SUCCESS;};
INT ExceptionType_path_size = -1;
- INT ExceptionType_full_name_path_size = PAL_wcslen(ExceptionType) + 1;
+ INT ExceptionType_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ExceptionType, -1, NULL, 0, NULL, NULL );
CHAR* ExceptionType_full_name=NULL;
INT ExceptionMessage_path_size = -1;
- INT ExceptionMessage_full_name_path_size = PAL_wcslen(ExceptionMessage) + 1;
+ INT ExceptionMessage_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ExceptionMessage, -1, NULL, 0, NULL, NULL );
CHAR* ExceptionMessage_full_name=NULL;
ExceptionType_full_name = (CHAR*)malloc(ExceptionType_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledExceptionCatchStart(){ return TRUE;}
-extern "C" ULONG FireEtwExceptionCatchStart(
+extern "C" BOOL EventXplatEnabledExceptionCatchStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatExceptionCatchStart(
const unsigned __int64 EntryEIP,
const unsigned __int64 MethodID,
PCWSTR MethodName,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledExceptionCatchStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledExceptionCatchStart()){ return ERROR_SUCCESS;};
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
MethodName_full_name = (CHAR*)malloc(MethodName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledExceptionCatchStop(){ return TRUE;}
-extern "C" ULONG FireEtwExceptionCatchStop(
+extern "C" BOOL EventXplatEnabledExceptionCatchStop(){ return TRUE;}
+extern "C" ULONG FireEtXplatExceptionCatchStop(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledExceptionCatchStop()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledExceptionCatchStop()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledExceptionFinallyStart(){ return TRUE;}
-extern "C" ULONG FireEtwExceptionFinallyStart(
+extern "C" BOOL EventXplatEnabledExceptionFinallyStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatExceptionFinallyStart(
const unsigned __int64 EntryEIP,
const unsigned __int64 MethodID,
PCWSTR MethodName,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledExceptionFinallyStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledExceptionFinallyStart()){ return ERROR_SUCCESS;};
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
MethodName_full_name = (CHAR*)malloc(MethodName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledExceptionFinallyStop(){ return TRUE;}
-extern "C" ULONG FireEtwExceptionFinallyStop(
+extern "C" BOOL EventXplatEnabledExceptionFinallyStop(){ return TRUE;}
+extern "C" ULONG FireEtXplatExceptionFinallyStop(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledExceptionFinallyStop()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledExceptionFinallyStop()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledExceptionFilterStart(){ return TRUE;}
-extern "C" ULONG FireEtwExceptionFilterStart(
+extern "C" BOOL EventXplatEnabledExceptionFilterStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatExceptionFilterStart(
const unsigned __int64 EntryEIP,
const unsigned __int64 MethodID,
PCWSTR MethodName,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledExceptionFilterStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledExceptionFilterStart()){ return ERROR_SUCCESS;};
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
MethodName_full_name = (CHAR*)malloc(MethodName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledExceptionFilterStop(){ return TRUE;}
-extern "C" ULONG FireEtwExceptionFilterStop(
+extern "C" BOOL EventXplatEnabledExceptionFilterStop(){ return TRUE;}
+extern "C" ULONG FireEtXplatExceptionFilterStop(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledExceptionFilterStop()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledExceptionFilterStop()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledExceptionThrownStop(){ return TRUE;}
-extern "C" ULONG FireEtwExceptionThrownStop(
+extern "C" BOOL EventXplatEnabledExceptionThrownStop(){ return TRUE;}
+extern "C" ULONG FireEtXplatExceptionThrownStop(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledExceptionThrownStop()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledExceptionThrownStop()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledContention(){ return TRUE;}
-extern "C" ULONG FireEtwContention(
+extern "C" BOOL EventXplatEnabledContention(){ return TRUE;}
+extern "C" ULONG FireEtXplatContention(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledContention()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledContention()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledContentionStart_V1(){ return TRUE;}
-extern "C" ULONG FireEtwContentionStart_V1(
+extern "C" BOOL EventXplatEnabledContentionStart_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatContentionStart_V1(
const unsigned char ContentionFlags,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledContentionStart_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledContentionStart_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledContentionStop(){ return TRUE;}
-extern "C" ULONG FireEtwContentionStop(
+extern "C" BOOL EventXplatEnabledContentionStop(){ return TRUE;}
+extern "C" ULONG FireEtXplatContentionStop(
const unsigned char ContentionFlags,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledContentionStop()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledContentionStop()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledCLRStackWalk(){ return TRUE;}
-extern "C" ULONG FireEtwCLRStackWalk(
+extern "C" BOOL EventXplatEnabledCLRStackWalk(){ return TRUE;}
+extern "C" ULONG FireEtXplatCLRStackWalk(
const unsigned short ClrInstanceID,
const unsigned char Reserved1,
const unsigned char Reserved2,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledCLRStackWalk()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledCLRStackWalk()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledAppDomainMemAllocated(){ return TRUE;}
-extern "C" ULONG FireEtwAppDomainMemAllocated(
+extern "C" BOOL EventXplatEnabledAppDomainMemAllocated(){ return TRUE;}
+extern "C" ULONG FireEtXplatAppDomainMemAllocated(
const unsigned __int64 AppDomainID,
const unsigned __int64 Allocated,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAppDomainMemAllocated()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAppDomainMemAllocated()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledAppDomainMemSurvived(){ return TRUE;}
-extern "C" ULONG FireEtwAppDomainMemSurvived(
+extern "C" BOOL EventXplatEnabledAppDomainMemSurvived(){ return TRUE;}
+extern "C" ULONG FireEtXplatAppDomainMemSurvived(
const unsigned __int64 AppDomainID,
const unsigned __int64 Survived,
const unsigned __int64 ProcessSurvived,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAppDomainMemSurvived()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAppDomainMemSurvived()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadCreated(){ return TRUE;}
-extern "C" ULONG FireEtwThreadCreated(
+extern "C" BOOL EventXplatEnabledThreadCreated(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadCreated(
const unsigned __int64 ManagedThreadID,
const unsigned __int64 AppDomainID,
const unsigned int Flags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadCreated()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadCreated()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadTerminated(){ return TRUE;}
-extern "C" ULONG FireEtwThreadTerminated(
+extern "C" BOOL EventXplatEnabledThreadTerminated(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadTerminated(
const unsigned __int64 ManagedThreadID,
const unsigned __int64 AppDomainID,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadTerminated()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadTerminated()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledThreadDomainEnter(){ return TRUE;}
-extern "C" ULONG FireEtwThreadDomainEnter(
+extern "C" BOOL EventXplatEnabledThreadDomainEnter(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadDomainEnter(
const unsigned __int64 ManagedThreadID,
const unsigned __int64 AppDomainID,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadDomainEnter()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadDomainEnter()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledILStubGenerated(){ return TRUE;}
-extern "C" ULONG FireEtwILStubGenerated(
+extern "C" BOOL EventXplatEnabledILStubGenerated(){ return TRUE;}
+extern "C" ULONG FireEtXplatILStubGenerated(
const unsigned short ClrInstanceID,
const unsigned __int64 ModuleID,
const unsigned __int64 StubMethodID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledILStubGenerated()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledILStubGenerated()){ return ERROR_SUCCESS;};
INT ManagedInteropMethodNamespace_path_size = -1;
- INT ManagedInteropMethodNamespace_full_name_path_size = PAL_wcslen(ManagedInteropMethodNamespace) + 1;
+ INT ManagedInteropMethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ManagedInteropMethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* ManagedInteropMethodNamespace_full_name=NULL;
INT ManagedInteropMethodName_path_size = -1;
- INT ManagedInteropMethodName_full_name_path_size = PAL_wcslen(ManagedInteropMethodName) + 1;
+ INT ManagedInteropMethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ManagedInteropMethodName, -1, NULL, 0, NULL, NULL );
CHAR* ManagedInteropMethodName_full_name=NULL;
INT ManagedInteropMethodSignature_path_size = -1;
- INT ManagedInteropMethodSignature_full_name_path_size = PAL_wcslen(ManagedInteropMethodSignature) + 1;
+ INT ManagedInteropMethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ManagedInteropMethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* ManagedInteropMethodSignature_full_name=NULL;
INT NativeMethodSignature_path_size = -1;
- INT NativeMethodSignature_full_name_path_size = PAL_wcslen(NativeMethodSignature) + 1;
+ INT NativeMethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, NativeMethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* NativeMethodSignature_full_name=NULL;
INT StubMethodSignature_path_size = -1;
- INT StubMethodSignature_full_name_path_size = PAL_wcslen(StubMethodSignature) + 1;
+ INT StubMethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, StubMethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* StubMethodSignature_full_name=NULL;
INT StubMethodILCode_path_size = -1;
- INT StubMethodILCode_full_name_path_size = PAL_wcslen(StubMethodILCode) + 1;
+ INT StubMethodILCode_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, StubMethodILCode, -1, NULL, 0, NULL, NULL );
CHAR* StubMethodILCode_full_name=NULL;
ManagedInteropMethodNamespace_full_name = (CHAR*)malloc(ManagedInteropMethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledILStubCacheHit(){ return TRUE;}
-extern "C" ULONG FireEtwILStubCacheHit(
+extern "C" BOOL EventXplatEnabledILStubCacheHit(){ return TRUE;}
+extern "C" ULONG FireEtXplatILStubCacheHit(
const unsigned short ClrInstanceID,
const unsigned __int64 ModuleID,
const unsigned __int64 StubMethodID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledILStubCacheHit()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledILStubCacheHit()){ return ERROR_SUCCESS;};
INT ManagedInteropMethodNamespace_path_size = -1;
- INT ManagedInteropMethodNamespace_full_name_path_size = PAL_wcslen(ManagedInteropMethodNamespace) + 1;
+ INT ManagedInteropMethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ManagedInteropMethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* ManagedInteropMethodNamespace_full_name=NULL;
INT ManagedInteropMethodName_path_size = -1;
- INT ManagedInteropMethodName_full_name_path_size = PAL_wcslen(ManagedInteropMethodName) + 1;
+ INT ManagedInteropMethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ManagedInteropMethodName, -1, NULL, 0, NULL, NULL );
CHAR* ManagedInteropMethodName_full_name=NULL;
INT ManagedInteropMethodSignature_path_size = -1;
- INT ManagedInteropMethodSignature_full_name_path_size = PAL_wcslen(ManagedInteropMethodSignature) + 1;
+ INT ManagedInteropMethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ManagedInteropMethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* ManagedInteropMethodSignature_full_name=NULL;
ManagedInteropMethodNamespace_full_name = (CHAR*)malloc(ManagedInteropMethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledDCStartCompleteV2(){ return TRUE;}
-extern "C" ULONG FireEtwDCStartCompleteV2(
+extern "C" BOOL EventXplatEnabledDCStartCompleteV2(){ return TRUE;}
+extern "C" ULONG FireEtXplatDCStartCompleteV2(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDCStartCompleteV2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDCStartCompleteV2()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledDCEndCompleteV2(){ return TRUE;}
-extern "C" ULONG FireEtwDCEndCompleteV2(
+extern "C" BOOL EventXplatEnabledDCEndCompleteV2(){ return TRUE;}
+extern "C" ULONG FireEtXplatDCEndCompleteV2(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDCEndCompleteV2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDCEndCompleteV2()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledMethodDCStartV2(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCStartV2(
+extern "C" BOOL EventXplatEnabledMethodDCStartV2(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCStartV2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCStartV2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCStartV2()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMethodDCEndV2(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCEndV2(
+extern "C" BOOL EventXplatEnabledMethodDCEndV2(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCEndV2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCEndV2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCEndV2()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMethodDCStartVerboseV2(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCStartVerboseV2(
+extern "C" BOOL EventXplatEnabledMethodDCStartVerboseV2(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCStartVerboseV2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCStartVerboseV2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCStartVerboseV2()){ return ERROR_SUCCESS;};
INT MethodNamespace_path_size = -1;
- INT MethodNamespace_full_name_path_size = PAL_wcslen(MethodNamespace) + 1;
+ INT MethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodNamespace_full_name=NULL;
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
INT MethodSignature_path_size = -1;
- INT MethodSignature_full_name_path_size = PAL_wcslen(MethodSignature) + 1;
+ INT MethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodSignature_full_name=NULL;
MethodNamespace_full_name = (CHAR*)malloc(MethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodDCEndVerboseV2(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCEndVerboseV2(
+extern "C" BOOL EventXplatEnabledMethodDCEndVerboseV2(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCEndVerboseV2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCEndVerboseV2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCEndVerboseV2()){ return ERROR_SUCCESS;};
INT MethodNamespace_path_size = -1;
- INT MethodNamespace_full_name_path_size = PAL_wcslen(MethodNamespace) + 1;
+ INT MethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodNamespace_full_name=NULL;
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
INT MethodSignature_path_size = -1;
- INT MethodSignature_full_name_path_size = PAL_wcslen(MethodSignature) + 1;
+ INT MethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodSignature_full_name=NULL;
MethodNamespace_full_name = (CHAR*)malloc(MethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodLoad(){ return TRUE;}
-extern "C" ULONG FireEtwMethodLoad(
+extern "C" BOOL EventXplatEnabledMethodLoad(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodLoad(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodLoad()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodLoad()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMethodLoad_V1(){ return TRUE;}
-extern "C" ULONG FireEtwMethodLoad_V1(
+extern "C" BOOL EventXplatEnabledMethodLoad_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodLoad_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodLoad_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodLoad_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMethodLoad_V2(){ return TRUE;}
-extern "C" ULONG FireEtwMethodLoad_V2(
+extern "C" BOOL EventXplatEnabledMethodLoad_V2(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodLoad_V2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodLoad_V2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodLoad_V2()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMethodUnload(){ return TRUE;}
-extern "C" ULONG FireEtwMethodUnload(
+extern "C" BOOL EventXplatEnabledMethodUnload(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodUnload(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodUnload()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodUnload()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMethodUnload_V1(){ return TRUE;}
-extern "C" ULONG FireEtwMethodUnload_V1(
+extern "C" BOOL EventXplatEnabledMethodUnload_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodUnload_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodUnload_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodUnload_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMethodUnload_V2(){ return TRUE;}
-extern "C" ULONG FireEtwMethodUnload_V2(
+extern "C" BOOL EventXplatEnabledMethodUnload_V2(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodUnload_V2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodUnload_V2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodUnload_V2()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMethodLoadVerbose(){ return TRUE;}
-extern "C" ULONG FireEtwMethodLoadVerbose(
+extern "C" BOOL EventXplatEnabledMethodLoadVerbose(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodLoadVerbose(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodLoadVerbose()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodLoadVerbose()){ return ERROR_SUCCESS;};
INT MethodNamespace_path_size = -1;
- INT MethodNamespace_full_name_path_size = PAL_wcslen(MethodNamespace) + 1;
+ INT MethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodNamespace_full_name=NULL;
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
INT MethodSignature_path_size = -1;
- INT MethodSignature_full_name_path_size = PAL_wcslen(MethodSignature) + 1;
+ INT MethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodSignature_full_name=NULL;
MethodNamespace_full_name = (CHAR*)malloc(MethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodLoadVerbose_V1(){ return TRUE;}
-extern "C" ULONG FireEtwMethodLoadVerbose_V1(
+extern "C" BOOL EventXplatEnabledMethodLoadVerbose_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodLoadVerbose_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodLoadVerbose_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodLoadVerbose_V1()){ return ERROR_SUCCESS;};
INT MethodNamespace_path_size = -1;
- INT MethodNamespace_full_name_path_size = PAL_wcslen(MethodNamespace) + 1;
+ INT MethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodNamespace_full_name=NULL;
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
INT MethodSignature_path_size = -1;
- INT MethodSignature_full_name_path_size = PAL_wcslen(MethodSignature) + 1;
+ INT MethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodSignature_full_name=NULL;
MethodNamespace_full_name = (CHAR*)malloc(MethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodLoadVerbose_V2(){ return TRUE;}
-extern "C" ULONG FireEtwMethodLoadVerbose_V2(
+extern "C" BOOL EventXplatEnabledMethodLoadVerbose_V2(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodLoadVerbose_V2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodLoadVerbose_V2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodLoadVerbose_V2()){ return ERROR_SUCCESS;};
INT MethodNamespace_path_size = -1;
- INT MethodNamespace_full_name_path_size = PAL_wcslen(MethodNamespace) + 1;
+ INT MethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodNamespace_full_name=NULL;
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
INT MethodSignature_path_size = -1;
- INT MethodSignature_full_name_path_size = PAL_wcslen(MethodSignature) + 1;
+ INT MethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodSignature_full_name=NULL;
MethodNamespace_full_name = (CHAR*)malloc(MethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodUnloadVerbose(){ return TRUE;}
-extern "C" ULONG FireEtwMethodUnloadVerbose(
+extern "C" BOOL EventXplatEnabledMethodUnloadVerbose(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodUnloadVerbose(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodUnloadVerbose()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodUnloadVerbose()){ return ERROR_SUCCESS;};
INT MethodNamespace_path_size = -1;
- INT MethodNamespace_full_name_path_size = PAL_wcslen(MethodNamespace) + 1;
+ INT MethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodNamespace_full_name=NULL;
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
INT MethodSignature_path_size = -1;
- INT MethodSignature_full_name_path_size = PAL_wcslen(MethodSignature) + 1;
+ INT MethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodSignature_full_name=NULL;
MethodNamespace_full_name = (CHAR*)malloc(MethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodUnloadVerbose_V1(){ return TRUE;}
-extern "C" ULONG FireEtwMethodUnloadVerbose_V1(
+extern "C" BOOL EventXplatEnabledMethodUnloadVerbose_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodUnloadVerbose_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodUnloadVerbose_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodUnloadVerbose_V1()){ return ERROR_SUCCESS;};
INT MethodNamespace_path_size = -1;
- INT MethodNamespace_full_name_path_size = PAL_wcslen(MethodNamespace) + 1;
+ INT MethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodNamespace_full_name=NULL;
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
INT MethodSignature_path_size = -1;
- INT MethodSignature_full_name_path_size = PAL_wcslen(MethodSignature) + 1;
+ INT MethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodSignature_full_name=NULL;
MethodNamespace_full_name = (CHAR*)malloc(MethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodUnloadVerbose_V2(){ return TRUE;}
-extern "C" ULONG FireEtwMethodUnloadVerbose_V2(
+extern "C" BOOL EventXplatEnabledMethodUnloadVerbose_V2(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodUnloadVerbose_V2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodUnloadVerbose_V2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodUnloadVerbose_V2()){ return ERROR_SUCCESS;};
INT MethodNamespace_path_size = -1;
- INT MethodNamespace_full_name_path_size = PAL_wcslen(MethodNamespace) + 1;
+ INT MethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodNamespace_full_name=NULL;
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
INT MethodSignature_path_size = -1;
- INT MethodSignature_full_name_path_size = PAL_wcslen(MethodSignature) + 1;
+ INT MethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodSignature_full_name=NULL;
MethodNamespace_full_name = (CHAR*)malloc(MethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodJittingStarted(){ return TRUE;}
-extern "C" ULONG FireEtwMethodJittingStarted(
+extern "C" BOOL EventXplatEnabledMethodJittingStarted(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodJittingStarted(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned int MethodToken,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodJittingStarted()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodJittingStarted()){ return ERROR_SUCCESS;};
INT MethodNamespace_path_size = -1;
- INT MethodNamespace_full_name_path_size = PAL_wcslen(MethodNamespace) + 1;
+ INT MethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodNamespace_full_name=NULL;
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
INT MethodSignature_path_size = -1;
- INT MethodSignature_full_name_path_size = PAL_wcslen(MethodSignature) + 1;
+ INT MethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodSignature_full_name=NULL;
MethodNamespace_full_name = (CHAR*)malloc(MethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodJittingStarted_V1(){ return TRUE;}
-extern "C" ULONG FireEtwMethodJittingStarted_V1(
+extern "C" BOOL EventXplatEnabledMethodJittingStarted_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodJittingStarted_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned int MethodToken,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodJittingStarted_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodJittingStarted_V1()){ return ERROR_SUCCESS;};
INT MethodNamespace_path_size = -1;
- INT MethodNamespace_full_name_path_size = PAL_wcslen(MethodNamespace) + 1;
+ INT MethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodNamespace_full_name=NULL;
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
INT MethodSignature_path_size = -1;
- INT MethodSignature_full_name_path_size = PAL_wcslen(MethodSignature) + 1;
+ INT MethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodSignature_full_name=NULL;
MethodNamespace_full_name = (CHAR*)malloc(MethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodJitInliningSucceeded(){ return TRUE;}
-extern "C" ULONG FireEtwMethodJitInliningSucceeded(
+extern "C" BOOL EventXplatEnabledMethodJitInliningSucceeded(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodJitInliningSucceeded(
PCWSTR MethodBeingCompiledNamespace,
PCWSTR MethodBeingCompiledName,
PCWSTR MethodBeingCompiledNameSignature,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodJitInliningSucceeded()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodJitInliningSucceeded()){ return ERROR_SUCCESS;};
INT MethodBeingCompiledNamespace_path_size = -1;
- INT MethodBeingCompiledNamespace_full_name_path_size = PAL_wcslen(MethodBeingCompiledNamespace) + 1;
+ INT MethodBeingCompiledNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodBeingCompiledNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodBeingCompiledNamespace_full_name=NULL;
INT MethodBeingCompiledName_path_size = -1;
- INT MethodBeingCompiledName_full_name_path_size = PAL_wcslen(MethodBeingCompiledName) + 1;
+ INT MethodBeingCompiledName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodBeingCompiledName, -1, NULL, 0, NULL, NULL );
CHAR* MethodBeingCompiledName_full_name=NULL;
INT MethodBeingCompiledNameSignature_path_size = -1;
- INT MethodBeingCompiledNameSignature_full_name_path_size = PAL_wcslen(MethodBeingCompiledNameSignature) + 1;
+ INT MethodBeingCompiledNameSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodBeingCompiledNameSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodBeingCompiledNameSignature_full_name=NULL;
INT InlinerNamespace_path_size = -1;
- INT InlinerNamespace_full_name_path_size = PAL_wcslen(InlinerNamespace) + 1;
+ INT InlinerNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, InlinerNamespace, -1, NULL, 0, NULL, NULL );
CHAR* InlinerNamespace_full_name=NULL;
INT InlinerName_path_size = -1;
- INT InlinerName_full_name_path_size = PAL_wcslen(InlinerName) + 1;
+ INT InlinerName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, InlinerName, -1, NULL, 0, NULL, NULL );
CHAR* InlinerName_full_name=NULL;
INT InlinerNameSignature_path_size = -1;
- INT InlinerNameSignature_full_name_path_size = PAL_wcslen(InlinerNameSignature) + 1;
+ INT InlinerNameSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, InlinerNameSignature, -1, NULL, 0, NULL, NULL );
CHAR* InlinerNameSignature_full_name=NULL;
INT InlineeNamespace_path_size = -1;
- INT InlineeNamespace_full_name_path_size = PAL_wcslen(InlineeNamespace) + 1;
+ INT InlineeNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, InlineeNamespace, -1, NULL, 0, NULL, NULL );
CHAR* InlineeNamespace_full_name=NULL;
INT InlineeName_path_size = -1;
- INT InlineeName_full_name_path_size = PAL_wcslen(InlineeName) + 1;
+ INT InlineeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, InlineeName, -1, NULL, 0, NULL, NULL );
CHAR* InlineeName_full_name=NULL;
INT InlineeNameSignature_path_size = -1;
- INT InlineeNameSignature_full_name_path_size = PAL_wcslen(InlineeNameSignature) + 1;
+ INT InlineeNameSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, InlineeNameSignature, -1, NULL, 0, NULL, NULL );
CHAR* InlineeNameSignature_full_name=NULL;
MethodBeingCompiledNamespace_full_name = (CHAR*)malloc(MethodBeingCompiledNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodJitInliningFailed(){ return TRUE;}
-extern "C" ULONG FireEtwMethodJitInliningFailed(
+extern "C" BOOL EventXplatEnabledMethodJitInliningFailed(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodJitInliningFailed(
PCWSTR MethodBeingCompiledNamespace,
PCWSTR MethodBeingCompiledName,
PCWSTR MethodBeingCompiledNameSignature,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodJitInliningFailed()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodJitInliningFailed()){ return ERROR_SUCCESS;};
INT MethodBeingCompiledNamespace_path_size = -1;
- INT MethodBeingCompiledNamespace_full_name_path_size = PAL_wcslen(MethodBeingCompiledNamespace) + 1;
+ INT MethodBeingCompiledNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodBeingCompiledNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodBeingCompiledNamespace_full_name=NULL;
INT MethodBeingCompiledName_path_size = -1;
- INT MethodBeingCompiledName_full_name_path_size = PAL_wcslen(MethodBeingCompiledName) + 1;
+ INT MethodBeingCompiledName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodBeingCompiledName, -1, NULL, 0, NULL, NULL );
CHAR* MethodBeingCompiledName_full_name=NULL;
INT MethodBeingCompiledNameSignature_path_size = -1;
- INT MethodBeingCompiledNameSignature_full_name_path_size = PAL_wcslen(MethodBeingCompiledNameSignature) + 1;
+ INT MethodBeingCompiledNameSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodBeingCompiledNameSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodBeingCompiledNameSignature_full_name=NULL;
INT InlinerNamespace_path_size = -1;
- INT InlinerNamespace_full_name_path_size = PAL_wcslen(InlinerNamespace) + 1;
+ INT InlinerNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, InlinerNamespace, -1, NULL, 0, NULL, NULL );
CHAR* InlinerNamespace_full_name=NULL;
INT InlinerName_path_size = -1;
- INT InlinerName_full_name_path_size = PAL_wcslen(InlinerName) + 1;
+ INT InlinerName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, InlinerName, -1, NULL, 0, NULL, NULL );
CHAR* InlinerName_full_name=NULL;
INT InlinerNameSignature_path_size = -1;
- INT InlinerNameSignature_full_name_path_size = PAL_wcslen(InlinerNameSignature) + 1;
+ INT InlinerNameSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, InlinerNameSignature, -1, NULL, 0, NULL, NULL );
CHAR* InlinerNameSignature_full_name=NULL;
INT InlineeNamespace_path_size = -1;
- INT InlineeNamespace_full_name_path_size = PAL_wcslen(InlineeNamespace) + 1;
+ INT InlineeNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, InlineeNamespace, -1, NULL, 0, NULL, NULL );
CHAR* InlineeNamespace_full_name=NULL;
INT InlineeName_path_size = -1;
- INT InlineeName_full_name_path_size = PAL_wcslen(InlineeName) + 1;
+ INT InlineeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, InlineeName, -1, NULL, 0, NULL, NULL );
CHAR* InlineeName_full_name=NULL;
INT InlineeNameSignature_path_size = -1;
- INT InlineeNameSignature_full_name_path_size = PAL_wcslen(InlineeNameSignature) + 1;
+ INT InlineeNameSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, InlineeNameSignature, -1, NULL, 0, NULL, NULL );
CHAR* InlineeNameSignature_full_name=NULL;
MethodBeingCompiledNamespace_full_name = (CHAR*)malloc(MethodBeingCompiledNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodJitTailCallSucceeded(){ return TRUE;}
-extern "C" ULONG FireEtwMethodJitTailCallSucceeded(
+extern "C" BOOL EventXplatEnabledMethodJitTailCallSucceeded(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodJitTailCallSucceeded(
PCWSTR MethodBeingCompiledNamespace,
PCWSTR MethodBeingCompiledName,
PCWSTR MethodBeingCompiledNameSignature,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodJitTailCallSucceeded()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodJitTailCallSucceeded()){ return ERROR_SUCCESS;};
INT MethodBeingCompiledNamespace_path_size = -1;
- INT MethodBeingCompiledNamespace_full_name_path_size = PAL_wcslen(MethodBeingCompiledNamespace) + 1;
+ INT MethodBeingCompiledNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodBeingCompiledNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodBeingCompiledNamespace_full_name=NULL;
INT MethodBeingCompiledName_path_size = -1;
- INT MethodBeingCompiledName_full_name_path_size = PAL_wcslen(MethodBeingCompiledName) + 1;
+ INT MethodBeingCompiledName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodBeingCompiledName, -1, NULL, 0, NULL, NULL );
CHAR* MethodBeingCompiledName_full_name=NULL;
INT MethodBeingCompiledNameSignature_path_size = -1;
- INT MethodBeingCompiledNameSignature_full_name_path_size = PAL_wcslen(MethodBeingCompiledNameSignature) + 1;
+ INT MethodBeingCompiledNameSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodBeingCompiledNameSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodBeingCompiledNameSignature_full_name=NULL;
INT CallerNamespace_path_size = -1;
- INT CallerNamespace_full_name_path_size = PAL_wcslen(CallerNamespace) + 1;
+ INT CallerNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, CallerNamespace, -1, NULL, 0, NULL, NULL );
CHAR* CallerNamespace_full_name=NULL;
INT CallerName_path_size = -1;
- INT CallerName_full_name_path_size = PAL_wcslen(CallerName) + 1;
+ INT CallerName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, CallerName, -1, NULL, 0, NULL, NULL );
CHAR* CallerName_full_name=NULL;
INT CallerNameSignature_path_size = -1;
- INT CallerNameSignature_full_name_path_size = PAL_wcslen(CallerNameSignature) + 1;
+ INT CallerNameSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, CallerNameSignature, -1, NULL, 0, NULL, NULL );
CHAR* CallerNameSignature_full_name=NULL;
INT CalleeNamespace_path_size = -1;
- INT CalleeNamespace_full_name_path_size = PAL_wcslen(CalleeNamespace) + 1;
+ INT CalleeNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, CalleeNamespace, -1, NULL, 0, NULL, NULL );
CHAR* CalleeNamespace_full_name=NULL;
INT CalleeName_path_size = -1;
- INT CalleeName_full_name_path_size = PAL_wcslen(CalleeName) + 1;
+ INT CalleeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, CalleeName, -1, NULL, 0, NULL, NULL );
CHAR* CalleeName_full_name=NULL;
INT CalleeNameSignature_path_size = -1;
- INT CalleeNameSignature_full_name_path_size = PAL_wcslen(CalleeNameSignature) + 1;
+ INT CalleeNameSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, CalleeNameSignature, -1, NULL, 0, NULL, NULL );
CHAR* CalleeNameSignature_full_name=NULL;
MethodBeingCompiledNamespace_full_name = (CHAR*)malloc(MethodBeingCompiledNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodJitTailCallFailed(){ return TRUE;}
-extern "C" ULONG FireEtwMethodJitTailCallFailed(
+extern "C" BOOL EventXplatEnabledMethodJitTailCallFailed(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodJitTailCallFailed(
PCWSTR MethodBeingCompiledNamespace,
PCWSTR MethodBeingCompiledName,
PCWSTR MethodBeingCompiledNameSignature,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodJitTailCallFailed()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodJitTailCallFailed()){ return ERROR_SUCCESS;};
INT MethodBeingCompiledNamespace_path_size = -1;
- INT MethodBeingCompiledNamespace_full_name_path_size = PAL_wcslen(MethodBeingCompiledNamespace) + 1;
+ INT MethodBeingCompiledNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodBeingCompiledNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodBeingCompiledNamespace_full_name=NULL;
INT MethodBeingCompiledName_path_size = -1;
- INT MethodBeingCompiledName_full_name_path_size = PAL_wcslen(MethodBeingCompiledName) + 1;
+ INT MethodBeingCompiledName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodBeingCompiledName, -1, NULL, 0, NULL, NULL );
CHAR* MethodBeingCompiledName_full_name=NULL;
INT MethodBeingCompiledNameSignature_path_size = -1;
- INT MethodBeingCompiledNameSignature_full_name_path_size = PAL_wcslen(MethodBeingCompiledNameSignature) + 1;
+ INT MethodBeingCompiledNameSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodBeingCompiledNameSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodBeingCompiledNameSignature_full_name=NULL;
INT CallerNamespace_path_size = -1;
- INT CallerNamespace_full_name_path_size = PAL_wcslen(CallerNamespace) + 1;
+ INT CallerNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, CallerNamespace, -1, NULL, 0, NULL, NULL );
CHAR* CallerNamespace_full_name=NULL;
INT CallerName_path_size = -1;
- INT CallerName_full_name_path_size = PAL_wcslen(CallerName) + 1;
+ INT CallerName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, CallerName, -1, NULL, 0, NULL, NULL );
CHAR* CallerName_full_name=NULL;
INT CallerNameSignature_path_size = -1;
- INT CallerNameSignature_full_name_path_size = PAL_wcslen(CallerNameSignature) + 1;
+ INT CallerNameSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, CallerNameSignature, -1, NULL, 0, NULL, NULL );
CHAR* CallerNameSignature_full_name=NULL;
INT CalleeNamespace_path_size = -1;
- INT CalleeNamespace_full_name_path_size = PAL_wcslen(CalleeNamespace) + 1;
+ INT CalleeNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, CalleeNamespace, -1, NULL, 0, NULL, NULL );
CHAR* CalleeNamespace_full_name=NULL;
INT CalleeName_path_size = -1;
- INT CalleeName_full_name_path_size = PAL_wcslen(CalleeName) + 1;
+ INT CalleeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, CalleeName, -1, NULL, 0, NULL, NULL );
CHAR* CalleeName_full_name=NULL;
INT CalleeNameSignature_path_size = -1;
- INT CalleeNameSignature_full_name_path_size = PAL_wcslen(CalleeNameSignature) + 1;
+ INT CalleeNameSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, CalleeNameSignature, -1, NULL, 0, NULL, NULL );
CHAR* CalleeNameSignature_full_name=NULL;
MethodBeingCompiledNamespace_full_name = (CHAR*)malloc(MethodBeingCompiledNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodILToNativeMap(){ return TRUE;}
-extern "C" ULONG FireEtwMethodILToNativeMap(
+extern "C" BOOL EventXplatEnabledMethodILToNativeMap(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodILToNativeMap(
const unsigned __int64 MethodID,
const unsigned __int64 ReJITID,
const unsigned char MethodExtent,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodILToNativeMap()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodILToNativeMap()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledModuleDCStartV2(){ return TRUE;}
-extern "C" ULONG FireEtwModuleDCStartV2(
+extern "C" BOOL EventXplatEnabledModuleDCStartV2(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleDCStartV2(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleDCStartV2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleDCStartV2()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledModuleDCEndV2(){ return TRUE;}
-extern "C" ULONG FireEtwModuleDCEndV2(
+extern "C" BOOL EventXplatEnabledModuleDCEndV2(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleDCEndV2(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleDCEndV2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleDCEndV2()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledDomainModuleLoad(){ return TRUE;}
-extern "C" ULONG FireEtwDomainModuleLoad(
+extern "C" BOOL EventXplatEnabledDomainModuleLoad(){ return TRUE;}
+extern "C" ULONG FireEtXplatDomainModuleLoad(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDomainModuleLoad()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDomainModuleLoad()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledDomainModuleLoad_V1(){ return TRUE;}
-extern "C" ULONG FireEtwDomainModuleLoad_V1(
+extern "C" BOOL EventXplatEnabledDomainModuleLoad_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatDomainModuleLoad_V1(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDomainModuleLoad_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDomainModuleLoad_V1()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledModuleLoad(){ return TRUE;}
-extern "C" ULONG FireEtwModuleLoad(
+extern "C" BOOL EventXplatEnabledModuleLoad(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleLoad(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleLoad()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleLoad()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledModuleLoad_V1(){ return TRUE;}
-extern "C" ULONG FireEtwModuleLoad_V1(
+extern "C" BOOL EventXplatEnabledModuleLoad_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleLoad_V1(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleLoad_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleLoad_V1()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledModuleLoad_V2(){ return TRUE;}
-extern "C" ULONG FireEtwModuleLoad_V2(
+extern "C" BOOL EventXplatEnabledModuleLoad_V2(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleLoad_V2(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleLoad_V2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleLoad_V2()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
INT ManagedPdbBuildPath_path_size = -1;
- INT ManagedPdbBuildPath_full_name_path_size = PAL_wcslen(ManagedPdbBuildPath) + 1;
+ INT ManagedPdbBuildPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ManagedPdbBuildPath, -1, NULL, 0, NULL, NULL );
CHAR* ManagedPdbBuildPath_full_name=NULL;
INT NativePdbBuildPath_path_size = -1;
- INT NativePdbBuildPath_full_name_path_size = PAL_wcslen(NativePdbBuildPath) + 1;
+ INT NativePdbBuildPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, NativePdbBuildPath, -1, NULL, 0, NULL, NULL );
CHAR* NativePdbBuildPath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledModuleUnload(){ return TRUE;}
-extern "C" ULONG FireEtwModuleUnload(
+extern "C" BOOL EventXplatEnabledModuleUnload(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleUnload(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleUnload()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleUnload()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledModuleUnload_V1(){ return TRUE;}
-extern "C" ULONG FireEtwModuleUnload_V1(
+extern "C" BOOL EventXplatEnabledModuleUnload_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleUnload_V1(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleUnload_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleUnload_V1()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledModuleUnload_V2(){ return TRUE;}
-extern "C" ULONG FireEtwModuleUnload_V2(
+extern "C" BOOL EventXplatEnabledModuleUnload_V2(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleUnload_V2(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleUnload_V2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleUnload_V2()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
INT ManagedPdbBuildPath_path_size = -1;
- INT ManagedPdbBuildPath_full_name_path_size = PAL_wcslen(ManagedPdbBuildPath) + 1;
+ INT ManagedPdbBuildPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ManagedPdbBuildPath, -1, NULL, 0, NULL, NULL );
CHAR* ManagedPdbBuildPath_full_name=NULL;
INT NativePdbBuildPath_path_size = -1;
- INT NativePdbBuildPath_full_name_path_size = PAL_wcslen(NativePdbBuildPath) + 1;
+ INT NativePdbBuildPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, NativePdbBuildPath, -1, NULL, 0, NULL, NULL );
CHAR* NativePdbBuildPath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAssemblyLoad(){ return TRUE;}
-extern "C" ULONG FireEtwAssemblyLoad(
+extern "C" BOOL EventXplatEnabledAssemblyLoad(){ return TRUE;}
+extern "C" ULONG FireEtXplatAssemblyLoad(
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned int AssemblyFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAssemblyLoad()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAssemblyLoad()){ return ERROR_SUCCESS;};
INT FullyQualifiedAssemblyName_path_size = -1;
- INT FullyQualifiedAssemblyName_full_name_path_size = PAL_wcslen(FullyQualifiedAssemblyName) + 1;
+ INT FullyQualifiedAssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, FullyQualifiedAssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* FullyQualifiedAssemblyName_full_name=NULL;
FullyQualifiedAssemblyName_full_name = (CHAR*)malloc(FullyQualifiedAssemblyName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAssemblyLoad_V1(){ return TRUE;}
-extern "C" ULONG FireEtwAssemblyLoad_V1(
+extern "C" BOOL EventXplatEnabledAssemblyLoad_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatAssemblyLoad_V1(
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned __int64 BindingID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAssemblyLoad_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAssemblyLoad_V1()){ return ERROR_SUCCESS;};
INT FullyQualifiedAssemblyName_path_size = -1;
- INT FullyQualifiedAssemblyName_full_name_path_size = PAL_wcslen(FullyQualifiedAssemblyName) + 1;
+ INT FullyQualifiedAssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, FullyQualifiedAssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* FullyQualifiedAssemblyName_full_name=NULL;
FullyQualifiedAssemblyName_full_name = (CHAR*)malloc(FullyQualifiedAssemblyName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAssemblyUnload(){ return TRUE;}
-extern "C" ULONG FireEtwAssemblyUnload(
+extern "C" BOOL EventXplatEnabledAssemblyUnload(){ return TRUE;}
+extern "C" ULONG FireEtXplatAssemblyUnload(
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned int AssemblyFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAssemblyUnload()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAssemblyUnload()){ return ERROR_SUCCESS;};
INT FullyQualifiedAssemblyName_path_size = -1;
- INT FullyQualifiedAssemblyName_full_name_path_size = PAL_wcslen(FullyQualifiedAssemblyName) + 1;
+ INT FullyQualifiedAssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, FullyQualifiedAssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* FullyQualifiedAssemblyName_full_name=NULL;
FullyQualifiedAssemblyName_full_name = (CHAR*)malloc(FullyQualifiedAssemblyName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAssemblyUnload_V1(){ return TRUE;}
-extern "C" ULONG FireEtwAssemblyUnload_V1(
+extern "C" BOOL EventXplatEnabledAssemblyUnload_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatAssemblyUnload_V1(
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned __int64 BindingID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAssemblyUnload_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAssemblyUnload_V1()){ return ERROR_SUCCESS;};
INT FullyQualifiedAssemblyName_path_size = -1;
- INT FullyQualifiedAssemblyName_full_name_path_size = PAL_wcslen(FullyQualifiedAssemblyName) + 1;
+ INT FullyQualifiedAssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, FullyQualifiedAssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* FullyQualifiedAssemblyName_full_name=NULL;
FullyQualifiedAssemblyName_full_name = (CHAR*)malloc(FullyQualifiedAssemblyName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAppDomainLoad(){ return TRUE;}
-extern "C" ULONG FireEtwAppDomainLoad(
+extern "C" BOOL EventXplatEnabledAppDomainLoad(){ return TRUE;}
+extern "C" ULONG FireEtXplatAppDomainLoad(
const unsigned __int64 AppDomainID,
const unsigned int AppDomainFlags,
PCWSTR AppDomainName
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAppDomainLoad()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAppDomainLoad()){ return ERROR_SUCCESS;};
INT AppDomainName_path_size = -1;
- INT AppDomainName_full_name_path_size = PAL_wcslen(AppDomainName) + 1;
+ INT AppDomainName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AppDomainName, -1, NULL, 0, NULL, NULL );
CHAR* AppDomainName_full_name=NULL;
AppDomainName_full_name = (CHAR*)malloc(AppDomainName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAppDomainLoad_V1(){ return TRUE;}
-extern "C" ULONG FireEtwAppDomainLoad_V1(
+extern "C" BOOL EventXplatEnabledAppDomainLoad_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatAppDomainLoad_V1(
const unsigned __int64 AppDomainID,
const unsigned int AppDomainFlags,
PCWSTR AppDomainName,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAppDomainLoad_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAppDomainLoad_V1()){ return ERROR_SUCCESS;};
INT AppDomainName_path_size = -1;
- INT AppDomainName_full_name_path_size = PAL_wcslen(AppDomainName) + 1;
+ INT AppDomainName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AppDomainName, -1, NULL, 0, NULL, NULL );
CHAR* AppDomainName_full_name=NULL;
AppDomainName_full_name = (CHAR*)malloc(AppDomainName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAppDomainUnload(){ return TRUE;}
-extern "C" ULONG FireEtwAppDomainUnload(
+extern "C" BOOL EventXplatEnabledAppDomainUnload(){ return TRUE;}
+extern "C" ULONG FireEtXplatAppDomainUnload(
const unsigned __int64 AppDomainID,
const unsigned int AppDomainFlags,
PCWSTR AppDomainName
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAppDomainUnload()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAppDomainUnload()){ return ERROR_SUCCESS;};
INT AppDomainName_path_size = -1;
- INT AppDomainName_full_name_path_size = PAL_wcslen(AppDomainName) + 1;
+ INT AppDomainName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AppDomainName, -1, NULL, 0, NULL, NULL );
CHAR* AppDomainName_full_name=NULL;
AppDomainName_full_name = (CHAR*)malloc(AppDomainName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAppDomainUnload_V1(){ return TRUE;}
-extern "C" ULONG FireEtwAppDomainUnload_V1(
+extern "C" BOOL EventXplatEnabledAppDomainUnload_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatAppDomainUnload_V1(
const unsigned __int64 AppDomainID,
const unsigned int AppDomainFlags,
PCWSTR AppDomainName,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAppDomainUnload_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAppDomainUnload_V1()){ return ERROR_SUCCESS;};
INT AppDomainName_path_size = -1;
- INT AppDomainName_full_name_path_size = PAL_wcslen(AppDomainName) + 1;
+ INT AppDomainName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AppDomainName, -1, NULL, 0, NULL, NULL );
CHAR* AppDomainName_full_name=NULL;
AppDomainName_full_name = (CHAR*)malloc(AppDomainName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledModuleRangeLoad(){ return TRUE;}
-extern "C" ULONG FireEtwModuleRangeLoad(
+extern "C" BOOL EventXplatEnabledModuleRangeLoad(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleRangeLoad(
const unsigned short ClrInstanceID,
const unsigned __int64 ModuleID,
const unsigned int RangeBegin,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleRangeLoad()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleRangeLoad()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledStrongNameVerificationStart(){ return TRUE;}
-extern "C" ULONG FireEtwStrongNameVerificationStart(
+extern "C" BOOL EventXplatEnabledStrongNameVerificationStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatStrongNameVerificationStart(
const unsigned int VerificationFlags,
const unsigned int ErrorCode,
PCWSTR FullyQualifiedAssemblyName
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledStrongNameVerificationStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledStrongNameVerificationStart()){ return ERROR_SUCCESS;};
INT FullyQualifiedAssemblyName_path_size = -1;
- INT FullyQualifiedAssemblyName_full_name_path_size = PAL_wcslen(FullyQualifiedAssemblyName) + 1;
+ INT FullyQualifiedAssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, FullyQualifiedAssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* FullyQualifiedAssemblyName_full_name=NULL;
FullyQualifiedAssemblyName_full_name = (CHAR*)malloc(FullyQualifiedAssemblyName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledStrongNameVerificationStart_V1(){ return TRUE;}
-extern "C" ULONG FireEtwStrongNameVerificationStart_V1(
+extern "C" BOOL EventXplatEnabledStrongNameVerificationStart_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatStrongNameVerificationStart_V1(
const unsigned int VerificationFlags,
const unsigned int ErrorCode,
PCWSTR FullyQualifiedAssemblyName,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledStrongNameVerificationStart_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledStrongNameVerificationStart_V1()){ return ERROR_SUCCESS;};
INT FullyQualifiedAssemblyName_path_size = -1;
- INT FullyQualifiedAssemblyName_full_name_path_size = PAL_wcslen(FullyQualifiedAssemblyName) + 1;
+ INT FullyQualifiedAssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, FullyQualifiedAssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* FullyQualifiedAssemblyName_full_name=NULL;
FullyQualifiedAssemblyName_full_name = (CHAR*)malloc(FullyQualifiedAssemblyName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledStrongNameVerificationStop(){ return TRUE;}
-extern "C" ULONG FireEtwStrongNameVerificationStop(
+extern "C" BOOL EventXplatEnabledStrongNameVerificationStop(){ return TRUE;}
+extern "C" ULONG FireEtXplatStrongNameVerificationStop(
const unsigned int VerificationFlags,
const unsigned int ErrorCode,
PCWSTR FullyQualifiedAssemblyName
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledStrongNameVerificationStop()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledStrongNameVerificationStop()){ return ERROR_SUCCESS;};
INT FullyQualifiedAssemblyName_path_size = -1;
- INT FullyQualifiedAssemblyName_full_name_path_size = PAL_wcslen(FullyQualifiedAssemblyName) + 1;
+ INT FullyQualifiedAssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, FullyQualifiedAssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* FullyQualifiedAssemblyName_full_name=NULL;
FullyQualifiedAssemblyName_full_name = (CHAR*)malloc(FullyQualifiedAssemblyName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledStrongNameVerificationStop_V1(){ return TRUE;}
-extern "C" ULONG FireEtwStrongNameVerificationStop_V1(
+extern "C" BOOL EventXplatEnabledStrongNameVerificationStop_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatStrongNameVerificationStop_V1(
const unsigned int VerificationFlags,
const unsigned int ErrorCode,
PCWSTR FullyQualifiedAssemblyName,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledStrongNameVerificationStop_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledStrongNameVerificationStop_V1()){ return ERROR_SUCCESS;};
INT FullyQualifiedAssemblyName_path_size = -1;
- INT FullyQualifiedAssemblyName_full_name_path_size = PAL_wcslen(FullyQualifiedAssemblyName) + 1;
+ INT FullyQualifiedAssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, FullyQualifiedAssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* FullyQualifiedAssemblyName_full_name=NULL;
FullyQualifiedAssemblyName_full_name = (CHAR*)malloc(FullyQualifiedAssemblyName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAuthenticodeVerificationStart(){ return TRUE;}
-extern "C" ULONG FireEtwAuthenticodeVerificationStart(
+extern "C" BOOL EventXplatEnabledAuthenticodeVerificationStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatAuthenticodeVerificationStart(
const unsigned int VerificationFlags,
const unsigned int ErrorCode,
PCWSTR ModulePath
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAuthenticodeVerificationStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAuthenticodeVerificationStart()){ return ERROR_SUCCESS;};
INT ModulePath_path_size = -1;
- INT ModulePath_full_name_path_size = PAL_wcslen(ModulePath) + 1;
+ INT ModulePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModulePath, -1, NULL, 0, NULL, NULL );
CHAR* ModulePath_full_name=NULL;
ModulePath_full_name = (CHAR*)malloc(ModulePath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAuthenticodeVerificationStart_V1(){ return TRUE;}
-extern "C" ULONG FireEtwAuthenticodeVerificationStart_V1(
+extern "C" BOOL EventXplatEnabledAuthenticodeVerificationStart_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatAuthenticodeVerificationStart_V1(
const unsigned int VerificationFlags,
const unsigned int ErrorCode,
PCWSTR ModulePath,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAuthenticodeVerificationStart_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAuthenticodeVerificationStart_V1()){ return ERROR_SUCCESS;};
INT ModulePath_path_size = -1;
- INT ModulePath_full_name_path_size = PAL_wcslen(ModulePath) + 1;
+ INT ModulePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModulePath, -1, NULL, 0, NULL, NULL );
CHAR* ModulePath_full_name=NULL;
ModulePath_full_name = (CHAR*)malloc(ModulePath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAuthenticodeVerificationStop(){ return TRUE;}
-extern "C" ULONG FireEtwAuthenticodeVerificationStop(
+extern "C" BOOL EventXplatEnabledAuthenticodeVerificationStop(){ return TRUE;}
+extern "C" ULONG FireEtXplatAuthenticodeVerificationStop(
const unsigned int VerificationFlags,
const unsigned int ErrorCode,
PCWSTR ModulePath
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAuthenticodeVerificationStop()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAuthenticodeVerificationStop()){ return ERROR_SUCCESS;};
INT ModulePath_path_size = -1;
- INT ModulePath_full_name_path_size = PAL_wcslen(ModulePath) + 1;
+ INT ModulePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModulePath, -1, NULL, 0, NULL, NULL );
CHAR* ModulePath_full_name=NULL;
ModulePath_full_name = (CHAR*)malloc(ModulePath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAuthenticodeVerificationStop_V1(){ return TRUE;}
-extern "C" ULONG FireEtwAuthenticodeVerificationStop_V1(
+extern "C" BOOL EventXplatEnabledAuthenticodeVerificationStop_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatAuthenticodeVerificationStop_V1(
const unsigned int VerificationFlags,
const unsigned int ErrorCode,
PCWSTR ModulePath,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAuthenticodeVerificationStop_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAuthenticodeVerificationStop_V1()){ return ERROR_SUCCESS;};
INT ModulePath_path_size = -1;
- INT ModulePath_full_name_path_size = PAL_wcslen(ModulePath) + 1;
+ INT ModulePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModulePath, -1, NULL, 0, NULL, NULL );
CHAR* ModulePath_full_name=NULL;
ModulePath_full_name = (CHAR*)malloc(ModulePath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledRuntimeInformationStart(){ return TRUE;}
-extern "C" ULONG FireEtwRuntimeInformationStart(
+extern "C" BOOL EventXplatEnabledRuntimeInformationStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatRuntimeInformationStart(
const unsigned short ClrInstanceID,
const unsigned short Sku,
const unsigned short BclMajorVersion,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledRuntimeInformationStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledRuntimeInformationStart()){ return ERROR_SUCCESS;};
INT CommandLine_path_size = -1;
- INT CommandLine_full_name_path_size = PAL_wcslen(CommandLine) + 1;
+ INT CommandLine_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, CommandLine, -1, NULL, 0, NULL, NULL );
CHAR* CommandLine_full_name=NULL;
INT RuntimeDllPath_path_size = -1;
- INT RuntimeDllPath_full_name_path_size = PAL_wcslen(RuntimeDllPath) + 1;
+ INT RuntimeDllPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, RuntimeDllPath, -1, NULL, 0, NULL, NULL );
CHAR* RuntimeDllPath_full_name=NULL;
CommandLine_full_name = (CHAR*)malloc(CommandLine_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledIncreaseMemoryPressure(){ return TRUE;}
-extern "C" ULONG FireEtwIncreaseMemoryPressure(
+extern "C" BOOL EventXplatEnabledIncreaseMemoryPressure(){ return TRUE;}
+extern "C" ULONG FireEtXplatIncreaseMemoryPressure(
const unsigned __int64 BytesAllocated,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledIncreaseMemoryPressure()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledIncreaseMemoryPressure()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledDecreaseMemoryPressure(){ return TRUE;}
-extern "C" ULONG FireEtwDecreaseMemoryPressure(
+extern "C" BOOL EventXplatEnabledDecreaseMemoryPressure(){ return TRUE;}
+extern "C" ULONG FireEtXplatDecreaseMemoryPressure(
const unsigned __int64 BytesFreed,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDecreaseMemoryPressure()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDecreaseMemoryPressure()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCMarkWithType(){ return TRUE;}
-extern "C" ULONG FireEtwGCMarkWithType(
+extern "C" BOOL EventXplatEnabledGCMarkWithType(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCMarkWithType(
const unsigned int HeapNum,
const unsigned short ClrInstanceID,
const unsigned int Type,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCMarkWithType()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCMarkWithType()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCJoin_V2(){ return TRUE;}
-extern "C" ULONG FireEtwGCJoin_V2(
+extern "C" BOOL EventXplatEnabledGCJoin_V2(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCJoin_V2(
const unsigned int Heap,
const unsigned int JoinTime,
const unsigned int JoinType,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCJoin_V2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCJoin_V2()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCPerHeapHistory_V3(){ return TRUE;}
-extern "C" ULONG FireEtwGCPerHeapHistory_V3(
+extern "C" BOOL EventXplatEnabledGCPerHeapHistory_V3(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCPerHeapHistory_V3(
const unsigned short ClrInstanceID,
const void* FreeListAllocated,
const void* FreeListRejected,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCPerHeapHistory_V3()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCPerHeapHistory_V3()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCGlobalHeapHistory_V2(){ return TRUE;}
-extern "C" ULONG FireEtwGCGlobalHeapHistory_V2(
+extern "C" BOOL EventXplatEnabledGCGlobalHeapHistory_V2(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCGlobalHeapHistory_V2(
const unsigned __int64 FinalYoungestDesired,
const signed int NumHeaps,
const unsigned int CondemnedGeneration,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCGlobalHeapHistory_V2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCGlobalHeapHistory_V2()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledDebugIPCEventStart(){ return TRUE;}
-extern "C" ULONG FireEtwDebugIPCEventStart(
+extern "C" BOOL EventXplatEnabledDebugIPCEventStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatDebugIPCEventStart(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDebugIPCEventStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDebugIPCEventStart()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledDebugIPCEventEnd(){ return TRUE;}
-extern "C" ULONG FireEtwDebugIPCEventEnd(
+extern "C" BOOL EventXplatEnabledDebugIPCEventEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatDebugIPCEventEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDebugIPCEventEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDebugIPCEventEnd()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledDebugExceptionProcessingStart(){ return TRUE;}
-extern "C" ULONG FireEtwDebugExceptionProcessingStart(
+extern "C" BOOL EventXplatEnabledDebugExceptionProcessingStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatDebugExceptionProcessingStart(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDebugExceptionProcessingStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDebugExceptionProcessingStart()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledDebugExceptionProcessingEnd(){ return TRUE;}
-extern "C" ULONG FireEtwDebugExceptionProcessingEnd(
+extern "C" BOOL EventXplatEnabledDebugExceptionProcessingEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatDebugExceptionProcessingEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDebugExceptionProcessingEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDebugExceptionProcessingEnd()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntime,
return Error;
}
-extern "C" BOOL EventEnabledCodeSymbols(){ return TRUE;}
-extern "C" ULONG FireEtwCodeSymbols(
+extern "C" BOOL EventXplatEnabledCodeSymbols(){ return TRUE;}
+extern "C" ULONG FireEtXplatCodeSymbols(
const unsigned __int64 ModuleId,
const unsigned short TotalChunks,
const unsigned short ChunkNumber,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledCodeSymbols()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledCodeSymbols()){ return ERROR_SUCCESS;};
tracepoint(
#define TRACEPOINT_DEFINE
#define TRACEPOINT_PROBE_DYNAMIC_LINKAGE
#include "lttng/tpdotnetruntimeprivate.h"
-extern "C" BOOL EventEnabledGCDecision(){ return TRUE;}
-extern "C" ULONG FireEtwGCDecision(
+extern "C" BOOL EventXplatEnabledGCDecision(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCDecision(
const BOOL DoCompact
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCDecision()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCDecision()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCDecision_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCDecision_V1(
+extern "C" BOOL EventXplatEnabledGCDecision_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCDecision_V1(
const BOOL DoCompact,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCDecision_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCDecision_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCSettings(){ return TRUE;}
-extern "C" ULONG FireEtwGCSettings(
+extern "C" BOOL EventXplatEnabledGCSettings(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCSettings(
const unsigned __int64 SegmentSize,
const unsigned __int64 LargeObjectSegmentSize,
const BOOL ServerGC
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCSettings()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCSettings()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCSettings_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCSettings_V1(
+extern "C" BOOL EventXplatEnabledGCSettings_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCSettings_V1(
const unsigned __int64 SegmentSize,
const unsigned __int64 LargeObjectSegmentSize,
const BOOL ServerGC,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCSettings_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCSettings_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCOptimized(){ return TRUE;}
-extern "C" ULONG FireEtwGCOptimized(
+extern "C" BOOL EventXplatEnabledGCOptimized(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCOptimized(
const unsigned __int64 DesiredAllocation,
const unsigned __int64 NewAllocation,
const unsigned int GenerationNumber
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCOptimized()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCOptimized()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCOptimized_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCOptimized_V1(
+extern "C" BOOL EventXplatEnabledGCOptimized_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCOptimized_V1(
const unsigned __int64 DesiredAllocation,
const unsigned __int64 NewAllocation,
const unsigned int GenerationNumber,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCOptimized_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCOptimized_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCPerHeapHistory(){ return TRUE;}
-extern "C" ULONG FireEtwGCPerHeapHistory(
+extern "C" BOOL EventXplatEnabledGCPerHeapHistory(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCPerHeapHistory(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCPerHeapHistory()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCPerHeapHistory()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCPerHeapHistory_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCPerHeapHistory_V1(
+extern "C" BOOL EventXplatEnabledGCPerHeapHistory_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCPerHeapHistory_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCPerHeapHistory_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCPerHeapHistory_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCGlobalHeapHistory(){ return TRUE;}
-extern "C" ULONG FireEtwGCGlobalHeapHistory(
+extern "C" BOOL EventXplatEnabledGCGlobalHeapHistory(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCGlobalHeapHistory(
const unsigned __int64 FinalYoungestDesired,
const signed int NumHeaps,
const unsigned int CondemnedGeneration,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCGlobalHeapHistory()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCGlobalHeapHistory()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCGlobalHeapHistory_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCGlobalHeapHistory_V1(
+extern "C" BOOL EventXplatEnabledGCGlobalHeapHistory_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCGlobalHeapHistory_V1(
const unsigned __int64 FinalYoungestDesired,
const signed int NumHeaps,
const unsigned int CondemnedGeneration,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCGlobalHeapHistory_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCGlobalHeapHistory_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCJoin(){ return TRUE;}
-extern "C" ULONG FireEtwGCJoin(
+extern "C" BOOL EventXplatEnabledGCJoin(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCJoin(
const unsigned int Heap,
const unsigned int JoinTime,
const unsigned int JoinType
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCJoin()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCJoin()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCJoin_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCJoin_V1(
+extern "C" BOOL EventXplatEnabledGCJoin_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCJoin_V1(
const unsigned int Heap,
const unsigned int JoinTime,
const unsigned int JoinType,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCJoin_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCJoin_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledPrvGCMarkStackRoots(){ return TRUE;}
-extern "C" ULONG FireEtwPrvGCMarkStackRoots(
+extern "C" BOOL EventXplatEnabledPrvGCMarkStackRoots(){ return TRUE;}
+extern "C" ULONG FireEtXplatPrvGCMarkStackRoots(
const unsigned int HeapNum
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledPrvGCMarkStackRoots()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledPrvGCMarkStackRoots()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledPrvGCMarkStackRoots_V1(){ return TRUE;}
-extern "C" ULONG FireEtwPrvGCMarkStackRoots_V1(
+extern "C" BOOL EventXplatEnabledPrvGCMarkStackRoots_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatPrvGCMarkStackRoots_V1(
const unsigned int HeapNum,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledPrvGCMarkStackRoots_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledPrvGCMarkStackRoots_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledPrvGCMarkFinalizeQueueRoots(){ return TRUE;}
-extern "C" ULONG FireEtwPrvGCMarkFinalizeQueueRoots(
+extern "C" BOOL EventXplatEnabledPrvGCMarkFinalizeQueueRoots(){ return TRUE;}
+extern "C" ULONG FireEtXplatPrvGCMarkFinalizeQueueRoots(
const unsigned int HeapNum
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledPrvGCMarkFinalizeQueueRoots()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledPrvGCMarkFinalizeQueueRoots()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledPrvGCMarkFinalizeQueueRoots_V1(){ return TRUE;}
-extern "C" ULONG FireEtwPrvGCMarkFinalizeQueueRoots_V1(
+extern "C" BOOL EventXplatEnabledPrvGCMarkFinalizeQueueRoots_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatPrvGCMarkFinalizeQueueRoots_V1(
const unsigned int HeapNum,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledPrvGCMarkFinalizeQueueRoots_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledPrvGCMarkFinalizeQueueRoots_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledPrvGCMarkHandles(){ return TRUE;}
-extern "C" ULONG FireEtwPrvGCMarkHandles(
+extern "C" BOOL EventXplatEnabledPrvGCMarkHandles(){ return TRUE;}
+extern "C" ULONG FireEtXplatPrvGCMarkHandles(
const unsigned int HeapNum
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledPrvGCMarkHandles()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledPrvGCMarkHandles()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledPrvGCMarkHandles_V1(){ return TRUE;}
-extern "C" ULONG FireEtwPrvGCMarkHandles_V1(
+extern "C" BOOL EventXplatEnabledPrvGCMarkHandles_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatPrvGCMarkHandles_V1(
const unsigned int HeapNum,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledPrvGCMarkHandles_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledPrvGCMarkHandles_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledPrvGCMarkCards(){ return TRUE;}
-extern "C" ULONG FireEtwPrvGCMarkCards(
+extern "C" BOOL EventXplatEnabledPrvGCMarkCards(){ return TRUE;}
+extern "C" ULONG FireEtXplatPrvGCMarkCards(
const unsigned int HeapNum
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledPrvGCMarkCards()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledPrvGCMarkCards()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledPrvGCMarkCards_V1(){ return TRUE;}
-extern "C" ULONG FireEtwPrvGCMarkCards_V1(
+extern "C" BOOL EventXplatEnabledPrvGCMarkCards_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatPrvGCMarkCards_V1(
const unsigned int HeapNum,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledPrvGCMarkCards_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledPrvGCMarkCards_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledBGCBegin(){ return TRUE;}
-extern "C" ULONG FireEtwBGCBegin(
+extern "C" BOOL EventXplatEnabledBGCBegin(){ return TRUE;}
+extern "C" ULONG FireEtXplatBGCBegin(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBGCBegin()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBGCBegin()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledBGC1stNonConEnd(){ return TRUE;}
-extern "C" ULONG FireEtwBGC1stNonConEnd(
+extern "C" BOOL EventXplatEnabledBGC1stNonConEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatBGC1stNonConEnd(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBGC1stNonConEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBGC1stNonConEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledBGC1stConEnd(){ return TRUE;}
-extern "C" ULONG FireEtwBGC1stConEnd(
+extern "C" BOOL EventXplatEnabledBGC1stConEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatBGC1stConEnd(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBGC1stConEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBGC1stConEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledBGC2ndNonConBegin(){ return TRUE;}
-extern "C" ULONG FireEtwBGC2ndNonConBegin(
+extern "C" BOOL EventXplatEnabledBGC2ndNonConBegin(){ return TRUE;}
+extern "C" ULONG FireEtXplatBGC2ndNonConBegin(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBGC2ndNonConBegin()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBGC2ndNonConBegin()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledBGC2ndNonConEnd(){ return TRUE;}
-extern "C" ULONG FireEtwBGC2ndNonConEnd(
+extern "C" BOOL EventXplatEnabledBGC2ndNonConEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatBGC2ndNonConEnd(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBGC2ndNonConEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBGC2ndNonConEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledBGC2ndConBegin(){ return TRUE;}
-extern "C" ULONG FireEtwBGC2ndConBegin(
+extern "C" BOOL EventXplatEnabledBGC2ndConBegin(){ return TRUE;}
+extern "C" ULONG FireEtXplatBGC2ndConBegin(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBGC2ndConBegin()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBGC2ndConBegin()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledBGC2ndConEnd(){ return TRUE;}
-extern "C" ULONG FireEtwBGC2ndConEnd(
+extern "C" BOOL EventXplatEnabledBGC2ndConEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatBGC2ndConEnd(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBGC2ndConEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBGC2ndConEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledBGCPlanEnd(){ return TRUE;}
-extern "C" ULONG FireEtwBGCPlanEnd(
+extern "C" BOOL EventXplatEnabledBGCPlanEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatBGCPlanEnd(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBGCPlanEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBGCPlanEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledBGCSweepEnd(){ return TRUE;}
-extern "C" ULONG FireEtwBGCSweepEnd(
+extern "C" BOOL EventXplatEnabledBGCSweepEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatBGCSweepEnd(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBGCSweepEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBGCSweepEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledBGCDrainMark(){ return TRUE;}
-extern "C" ULONG FireEtwBGCDrainMark(
+extern "C" BOOL EventXplatEnabledBGCDrainMark(){ return TRUE;}
+extern "C" ULONG FireEtXplatBGCDrainMark(
const unsigned __int64 Objects,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBGCDrainMark()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBGCDrainMark()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledBGCRevisit(){ return TRUE;}
-extern "C" ULONG FireEtwBGCRevisit(
+extern "C" BOOL EventXplatEnabledBGCRevisit(){ return TRUE;}
+extern "C" ULONG FireEtXplatBGCRevisit(
const unsigned __int64 Pages,
const unsigned __int64 Objects,
const unsigned int IsLarge,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBGCRevisit()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBGCRevisit()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledBGCOverflow(){ return TRUE;}
-extern "C" ULONG FireEtwBGCOverflow(
+extern "C" BOOL EventXplatEnabledBGCOverflow(){ return TRUE;}
+extern "C" ULONG FireEtXplatBGCOverflow(
const unsigned __int64 Min,
const unsigned __int64 Max,
const unsigned __int64 Objects,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBGCOverflow()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBGCOverflow()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledBGCAllocWaitBegin(){ return TRUE;}
-extern "C" ULONG FireEtwBGCAllocWaitBegin(
+extern "C" BOOL EventXplatEnabledBGCAllocWaitBegin(){ return TRUE;}
+extern "C" ULONG FireEtXplatBGCAllocWaitBegin(
const unsigned int Reason,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBGCAllocWaitBegin()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBGCAllocWaitBegin()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledBGCAllocWaitEnd(){ return TRUE;}
-extern "C" ULONG FireEtwBGCAllocWaitEnd(
+extern "C" BOOL EventXplatEnabledBGCAllocWaitEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatBGCAllocWaitEnd(
const unsigned int Reason,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBGCAllocWaitEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBGCAllocWaitEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCFullNotify(){ return TRUE;}
-extern "C" ULONG FireEtwGCFullNotify(
+extern "C" BOOL EventXplatEnabledGCFullNotify(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCFullNotify(
const unsigned int GenNumber,
const unsigned int IsAlloc
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCFullNotify()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCFullNotify()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGCFullNotify_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGCFullNotify_V1(
+extern "C" BOOL EventXplatEnabledGCFullNotify_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGCFullNotify_V1(
const unsigned int GenNumber,
const unsigned int IsAlloc,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGCFullNotify_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGCFullNotify_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledEEStartupStart(){ return TRUE;}
-extern "C" ULONG FireEtwEEStartupStart(
+extern "C" BOOL EventXplatEnabledEEStartupStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatEEStartupStart(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledEEStartupStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledEEStartupStart()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledEEStartupStart_V1(){ return TRUE;}
-extern "C" ULONG FireEtwEEStartupStart_V1(
+extern "C" BOOL EventXplatEnabledEEStartupStart_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatEEStartupStart_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledEEStartupStart_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledEEStartupStart_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledEEStartupEnd(){ return TRUE;}
-extern "C" ULONG FireEtwEEStartupEnd(
+extern "C" BOOL EventXplatEnabledEEStartupEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatEEStartupEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledEEStartupEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledEEStartupEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledEEStartupEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwEEStartupEnd_V1(
+extern "C" BOOL EventXplatEnabledEEStartupEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatEEStartupEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledEEStartupEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledEEStartupEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledEEConfigSetup(){ return TRUE;}
-extern "C" ULONG FireEtwEEConfigSetup(
+extern "C" BOOL EventXplatEnabledEEConfigSetup(){ return TRUE;}
+extern "C" ULONG FireEtXplatEEConfigSetup(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledEEConfigSetup()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledEEConfigSetup()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledEEConfigSetup_V1(){ return TRUE;}
-extern "C" ULONG FireEtwEEConfigSetup_V1(
+extern "C" BOOL EventXplatEnabledEEConfigSetup_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatEEConfigSetup_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledEEConfigSetup_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledEEConfigSetup_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledEEConfigSetupEnd(){ return TRUE;}
-extern "C" ULONG FireEtwEEConfigSetupEnd(
+extern "C" BOOL EventXplatEnabledEEConfigSetupEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatEEConfigSetupEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledEEConfigSetupEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledEEConfigSetupEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledEEConfigSetupEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwEEConfigSetupEnd_V1(
+extern "C" BOOL EventXplatEnabledEEConfigSetupEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatEEConfigSetupEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledEEConfigSetupEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledEEConfigSetupEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledLdSysBases(){ return TRUE;}
-extern "C" ULONG FireEtwLdSysBases(
+extern "C" BOOL EventXplatEnabledLdSysBases(){ return TRUE;}
+extern "C" ULONG FireEtXplatLdSysBases(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLdSysBases()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLdSysBases()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledLdSysBases_V1(){ return TRUE;}
-extern "C" ULONG FireEtwLdSysBases_V1(
+extern "C" BOOL EventXplatEnabledLdSysBases_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatLdSysBases_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLdSysBases_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLdSysBases_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledLdSysBasesEnd(){ return TRUE;}
-extern "C" ULONG FireEtwLdSysBasesEnd(
+extern "C" BOOL EventXplatEnabledLdSysBasesEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatLdSysBasesEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLdSysBasesEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLdSysBasesEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledLdSysBasesEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwLdSysBasesEnd_V1(
+extern "C" BOOL EventXplatEnabledLdSysBasesEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatLdSysBasesEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLdSysBasesEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLdSysBasesEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledExecExe(){ return TRUE;}
-extern "C" ULONG FireEtwExecExe(
+extern "C" BOOL EventXplatEnabledExecExe(){ return TRUE;}
+extern "C" ULONG FireEtXplatExecExe(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledExecExe()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledExecExe()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledExecExe_V1(){ return TRUE;}
-extern "C" ULONG FireEtwExecExe_V1(
+extern "C" BOOL EventXplatEnabledExecExe_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatExecExe_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledExecExe_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledExecExe_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledExecExeEnd(){ return TRUE;}
-extern "C" ULONG FireEtwExecExeEnd(
+extern "C" BOOL EventXplatEnabledExecExeEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatExecExeEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledExecExeEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledExecExeEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledExecExeEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwExecExeEnd_V1(
+extern "C" BOOL EventXplatEnabledExecExeEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatExecExeEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledExecExeEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledExecExeEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMain(){ return TRUE;}
-extern "C" ULONG FireEtwMain(
+extern "C" BOOL EventXplatEnabledMain(){ return TRUE;}
+extern "C" ULONG FireEtXplatMain(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMain()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMain()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMain_V1(){ return TRUE;}
-extern "C" ULONG FireEtwMain_V1(
+extern "C" BOOL EventXplatEnabledMain_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatMain_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMain_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMain_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMainEnd(){ return TRUE;}
-extern "C" ULONG FireEtwMainEnd(
+extern "C" BOOL EventXplatEnabledMainEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatMainEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMainEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMainEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMainEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwMainEnd_V1(
+extern "C" BOOL EventXplatEnabledMainEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatMainEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMainEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMainEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledApplyPolicyStart(){ return TRUE;}
-extern "C" ULONG FireEtwApplyPolicyStart(
+extern "C" BOOL EventXplatEnabledApplyPolicyStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatApplyPolicyStart(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledApplyPolicyStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledApplyPolicyStart()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledApplyPolicyStart_V1(){ return TRUE;}
-extern "C" ULONG FireEtwApplyPolicyStart_V1(
+extern "C" BOOL EventXplatEnabledApplyPolicyStart_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatApplyPolicyStart_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledApplyPolicyStart_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledApplyPolicyStart_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledApplyPolicyEnd(){ return TRUE;}
-extern "C" ULONG FireEtwApplyPolicyEnd(
+extern "C" BOOL EventXplatEnabledApplyPolicyEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatApplyPolicyEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledApplyPolicyEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledApplyPolicyEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledApplyPolicyEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwApplyPolicyEnd_V1(
+extern "C" BOOL EventXplatEnabledApplyPolicyEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatApplyPolicyEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledApplyPolicyEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledApplyPolicyEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledLdLibShFolder(){ return TRUE;}
-extern "C" ULONG FireEtwLdLibShFolder(
+extern "C" BOOL EventXplatEnabledLdLibShFolder(){ return TRUE;}
+extern "C" ULONG FireEtXplatLdLibShFolder(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLdLibShFolder()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLdLibShFolder()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledLdLibShFolder_V1(){ return TRUE;}
-extern "C" ULONG FireEtwLdLibShFolder_V1(
+extern "C" BOOL EventXplatEnabledLdLibShFolder_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatLdLibShFolder_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLdLibShFolder_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLdLibShFolder_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledLdLibShFolderEnd(){ return TRUE;}
-extern "C" ULONG FireEtwLdLibShFolderEnd(
+extern "C" BOOL EventXplatEnabledLdLibShFolderEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatLdLibShFolderEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLdLibShFolderEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLdLibShFolderEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledLdLibShFolderEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwLdLibShFolderEnd_V1(
+extern "C" BOOL EventXplatEnabledLdLibShFolderEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatLdLibShFolderEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLdLibShFolderEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLdLibShFolderEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledPrestubWorker(){ return TRUE;}
-extern "C" ULONG FireEtwPrestubWorker(
+extern "C" BOOL EventXplatEnabledPrestubWorker(){ return TRUE;}
+extern "C" ULONG FireEtXplatPrestubWorker(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledPrestubWorker()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledPrestubWorker()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledPrestubWorker_V1(){ return TRUE;}
-extern "C" ULONG FireEtwPrestubWorker_V1(
+extern "C" BOOL EventXplatEnabledPrestubWorker_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatPrestubWorker_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledPrestubWorker_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledPrestubWorker_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledPrestubWorkerEnd(){ return TRUE;}
-extern "C" ULONG FireEtwPrestubWorkerEnd(
+extern "C" BOOL EventXplatEnabledPrestubWorkerEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatPrestubWorkerEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledPrestubWorkerEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledPrestubWorkerEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledPrestubWorkerEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwPrestubWorkerEnd_V1(
+extern "C" BOOL EventXplatEnabledPrestubWorkerEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatPrestubWorkerEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledPrestubWorkerEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledPrestubWorkerEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGetInstallationStart(){ return TRUE;}
-extern "C" ULONG FireEtwGetInstallationStart(
+extern "C" BOOL EventXplatEnabledGetInstallationStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatGetInstallationStart(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGetInstallationStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGetInstallationStart()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGetInstallationStart_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGetInstallationStart_V1(
+extern "C" BOOL EventXplatEnabledGetInstallationStart_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGetInstallationStart_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGetInstallationStart_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGetInstallationStart_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGetInstallationEnd(){ return TRUE;}
-extern "C" ULONG FireEtwGetInstallationEnd(
+extern "C" BOOL EventXplatEnabledGetInstallationEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatGetInstallationEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGetInstallationEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGetInstallationEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledGetInstallationEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwGetInstallationEnd_V1(
+extern "C" BOOL EventXplatEnabledGetInstallationEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatGetInstallationEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGetInstallationEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGetInstallationEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledOpenHModule(){ return TRUE;}
-extern "C" ULONG FireEtwOpenHModule(
+extern "C" BOOL EventXplatEnabledOpenHModule(){ return TRUE;}
+extern "C" ULONG FireEtXplatOpenHModule(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledOpenHModule()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledOpenHModule()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledOpenHModule_V1(){ return TRUE;}
-extern "C" ULONG FireEtwOpenHModule_V1(
+extern "C" BOOL EventXplatEnabledOpenHModule_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatOpenHModule_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledOpenHModule_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledOpenHModule_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledOpenHModuleEnd(){ return TRUE;}
-extern "C" ULONG FireEtwOpenHModuleEnd(
+extern "C" BOOL EventXplatEnabledOpenHModuleEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatOpenHModuleEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledOpenHModuleEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledOpenHModuleEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledOpenHModuleEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwOpenHModuleEnd_V1(
+extern "C" BOOL EventXplatEnabledOpenHModuleEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatOpenHModuleEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledOpenHModuleEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledOpenHModuleEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledExplicitBindStart(){ return TRUE;}
-extern "C" ULONG FireEtwExplicitBindStart(
+extern "C" BOOL EventXplatEnabledExplicitBindStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatExplicitBindStart(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledExplicitBindStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledExplicitBindStart()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledExplicitBindStart_V1(){ return TRUE;}
-extern "C" ULONG FireEtwExplicitBindStart_V1(
+extern "C" BOOL EventXplatEnabledExplicitBindStart_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatExplicitBindStart_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledExplicitBindStart_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledExplicitBindStart_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledExplicitBindEnd(){ return TRUE;}
-extern "C" ULONG FireEtwExplicitBindEnd(
+extern "C" BOOL EventXplatEnabledExplicitBindEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatExplicitBindEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledExplicitBindEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledExplicitBindEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledExplicitBindEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwExplicitBindEnd_V1(
+extern "C" BOOL EventXplatEnabledExplicitBindEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatExplicitBindEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledExplicitBindEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledExplicitBindEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledParseXml(){ return TRUE;}
-extern "C" ULONG FireEtwParseXml(
+extern "C" BOOL EventXplatEnabledParseXml(){ return TRUE;}
+extern "C" ULONG FireEtXplatParseXml(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledParseXml()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledParseXml()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledParseXml_V1(){ return TRUE;}
-extern "C" ULONG FireEtwParseXml_V1(
+extern "C" BOOL EventXplatEnabledParseXml_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatParseXml_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledParseXml_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledParseXml_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledParseXmlEnd(){ return TRUE;}
-extern "C" ULONG FireEtwParseXmlEnd(
+extern "C" BOOL EventXplatEnabledParseXmlEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatParseXmlEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledParseXmlEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledParseXmlEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledParseXmlEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwParseXmlEnd_V1(
+extern "C" BOOL EventXplatEnabledParseXmlEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatParseXmlEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledParseXmlEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledParseXmlEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledInitDefaultDomain(){ return TRUE;}
-extern "C" ULONG FireEtwInitDefaultDomain(
+extern "C" BOOL EventXplatEnabledInitDefaultDomain(){ return TRUE;}
+extern "C" ULONG FireEtXplatInitDefaultDomain(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledInitDefaultDomain()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledInitDefaultDomain()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledInitDefaultDomain_V1(){ return TRUE;}
-extern "C" ULONG FireEtwInitDefaultDomain_V1(
+extern "C" BOOL EventXplatEnabledInitDefaultDomain_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatInitDefaultDomain_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledInitDefaultDomain_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledInitDefaultDomain_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledInitDefaultDomainEnd(){ return TRUE;}
-extern "C" ULONG FireEtwInitDefaultDomainEnd(
+extern "C" BOOL EventXplatEnabledInitDefaultDomainEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatInitDefaultDomainEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledInitDefaultDomainEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledInitDefaultDomainEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledInitDefaultDomainEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwInitDefaultDomainEnd_V1(
+extern "C" BOOL EventXplatEnabledInitDefaultDomainEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatInitDefaultDomainEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledInitDefaultDomainEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledInitDefaultDomainEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledInitSecurity(){ return TRUE;}
-extern "C" ULONG FireEtwInitSecurity(
+extern "C" BOOL EventXplatEnabledInitSecurity(){ return TRUE;}
+extern "C" ULONG FireEtXplatInitSecurity(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledInitSecurity()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledInitSecurity()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledInitSecurity_V1(){ return TRUE;}
-extern "C" ULONG FireEtwInitSecurity_V1(
+extern "C" BOOL EventXplatEnabledInitSecurity_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatInitSecurity_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledInitSecurity_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledInitSecurity_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledInitSecurityEnd(){ return TRUE;}
-extern "C" ULONG FireEtwInitSecurityEnd(
+extern "C" BOOL EventXplatEnabledInitSecurityEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatInitSecurityEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledInitSecurityEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledInitSecurityEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledInitSecurityEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwInitSecurityEnd_V1(
+extern "C" BOOL EventXplatEnabledInitSecurityEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatInitSecurityEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledInitSecurityEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledInitSecurityEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledAllowBindingRedirs(){ return TRUE;}
-extern "C" ULONG FireEtwAllowBindingRedirs(
+extern "C" BOOL EventXplatEnabledAllowBindingRedirs(){ return TRUE;}
+extern "C" ULONG FireEtXplatAllowBindingRedirs(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAllowBindingRedirs()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAllowBindingRedirs()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledAllowBindingRedirs_V1(){ return TRUE;}
-extern "C" ULONG FireEtwAllowBindingRedirs_V1(
+extern "C" BOOL EventXplatEnabledAllowBindingRedirs_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatAllowBindingRedirs_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAllowBindingRedirs_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAllowBindingRedirs_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledAllowBindingRedirsEnd(){ return TRUE;}
-extern "C" ULONG FireEtwAllowBindingRedirsEnd(
+extern "C" BOOL EventXplatEnabledAllowBindingRedirsEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatAllowBindingRedirsEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAllowBindingRedirsEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAllowBindingRedirsEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledAllowBindingRedirsEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwAllowBindingRedirsEnd_V1(
+extern "C" BOOL EventXplatEnabledAllowBindingRedirsEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatAllowBindingRedirsEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAllowBindingRedirsEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAllowBindingRedirsEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledEEConfigSync(){ return TRUE;}
-extern "C" ULONG FireEtwEEConfigSync(
+extern "C" BOOL EventXplatEnabledEEConfigSync(){ return TRUE;}
+extern "C" ULONG FireEtXplatEEConfigSync(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledEEConfigSync()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledEEConfigSync()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledEEConfigSync_V1(){ return TRUE;}
-extern "C" ULONG FireEtwEEConfigSync_V1(
+extern "C" BOOL EventXplatEnabledEEConfigSync_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatEEConfigSync_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledEEConfigSync_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledEEConfigSync_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledEEConfigSyncEnd(){ return TRUE;}
-extern "C" ULONG FireEtwEEConfigSyncEnd(
+extern "C" BOOL EventXplatEnabledEEConfigSyncEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatEEConfigSyncEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledEEConfigSyncEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledEEConfigSyncEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledEEConfigSyncEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwEEConfigSyncEnd_V1(
+extern "C" BOOL EventXplatEnabledEEConfigSyncEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatEEConfigSyncEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledEEConfigSyncEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledEEConfigSyncEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFusionBinding(){ return TRUE;}
-extern "C" ULONG FireEtwFusionBinding(
+extern "C" BOOL EventXplatEnabledFusionBinding(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusionBinding(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusionBinding()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusionBinding()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFusionBinding_V1(){ return TRUE;}
-extern "C" ULONG FireEtwFusionBinding_V1(
+extern "C" BOOL EventXplatEnabledFusionBinding_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusionBinding_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusionBinding_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusionBinding_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFusionBindingEnd(){ return TRUE;}
-extern "C" ULONG FireEtwFusionBindingEnd(
+extern "C" BOOL EventXplatEnabledFusionBindingEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusionBindingEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusionBindingEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusionBindingEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFusionBindingEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwFusionBindingEnd_V1(
+extern "C" BOOL EventXplatEnabledFusionBindingEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusionBindingEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusionBindingEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusionBindingEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledLoaderCatchCall(){ return TRUE;}
-extern "C" ULONG FireEtwLoaderCatchCall(
+extern "C" BOOL EventXplatEnabledLoaderCatchCall(){ return TRUE;}
+extern "C" ULONG FireEtXplatLoaderCatchCall(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLoaderCatchCall()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLoaderCatchCall()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledLoaderCatchCall_V1(){ return TRUE;}
-extern "C" ULONG FireEtwLoaderCatchCall_V1(
+extern "C" BOOL EventXplatEnabledLoaderCatchCall_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatLoaderCatchCall_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLoaderCatchCall_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLoaderCatchCall_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledLoaderCatchCallEnd(){ return TRUE;}
-extern "C" ULONG FireEtwLoaderCatchCallEnd(
+extern "C" BOOL EventXplatEnabledLoaderCatchCallEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatLoaderCatchCallEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLoaderCatchCallEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLoaderCatchCallEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledLoaderCatchCallEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwLoaderCatchCallEnd_V1(
+extern "C" BOOL EventXplatEnabledLoaderCatchCallEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatLoaderCatchCallEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLoaderCatchCallEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLoaderCatchCallEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFusionInit(){ return TRUE;}
-extern "C" ULONG FireEtwFusionInit(
+extern "C" BOOL EventXplatEnabledFusionInit(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusionInit(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusionInit()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusionInit()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFusionInit_V1(){ return TRUE;}
-extern "C" ULONG FireEtwFusionInit_V1(
+extern "C" BOOL EventXplatEnabledFusionInit_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusionInit_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusionInit_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusionInit_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFusionInitEnd(){ return TRUE;}
-extern "C" ULONG FireEtwFusionInitEnd(
+extern "C" BOOL EventXplatEnabledFusionInitEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusionInitEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusionInitEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusionInitEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFusionInitEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwFusionInitEnd_V1(
+extern "C" BOOL EventXplatEnabledFusionInitEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusionInitEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusionInitEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusionInitEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFusionAppCtx(){ return TRUE;}
-extern "C" ULONG FireEtwFusionAppCtx(
+extern "C" BOOL EventXplatEnabledFusionAppCtx(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusionAppCtx(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusionAppCtx()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusionAppCtx()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFusionAppCtx_V1(){ return TRUE;}
-extern "C" ULONG FireEtwFusionAppCtx_V1(
+extern "C" BOOL EventXplatEnabledFusionAppCtx_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusionAppCtx_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusionAppCtx_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusionAppCtx_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFusionAppCtxEnd(){ return TRUE;}
-extern "C" ULONG FireEtwFusionAppCtxEnd(
+extern "C" BOOL EventXplatEnabledFusionAppCtxEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusionAppCtxEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusionAppCtxEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusionAppCtxEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFusionAppCtxEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwFusionAppCtxEnd_V1(
+extern "C" BOOL EventXplatEnabledFusionAppCtxEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusionAppCtxEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusionAppCtxEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusionAppCtxEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFusion2EE(){ return TRUE;}
-extern "C" ULONG FireEtwFusion2EE(
+extern "C" BOOL EventXplatEnabledFusion2EE(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusion2EE(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusion2EE()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusion2EE()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFusion2EE_V1(){ return TRUE;}
-extern "C" ULONG FireEtwFusion2EE_V1(
+extern "C" BOOL EventXplatEnabledFusion2EE_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusion2EE_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusion2EE_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusion2EE_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFusion2EEEnd(){ return TRUE;}
-extern "C" ULONG FireEtwFusion2EEEnd(
+extern "C" BOOL EventXplatEnabledFusion2EEEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusion2EEEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusion2EEEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusion2EEEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFusion2EEEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwFusion2EEEnd_V1(
+extern "C" BOOL EventXplatEnabledFusion2EEEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusion2EEEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusion2EEEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusion2EEEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledSecurityCatchCall(){ return TRUE;}
-extern "C" ULONG FireEtwSecurityCatchCall(
+extern "C" BOOL EventXplatEnabledSecurityCatchCall(){ return TRUE;}
+extern "C" ULONG FireEtXplatSecurityCatchCall(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledSecurityCatchCall()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledSecurityCatchCall()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledSecurityCatchCall_V1(){ return TRUE;}
-extern "C" ULONG FireEtwSecurityCatchCall_V1(
+extern "C" BOOL EventXplatEnabledSecurityCatchCall_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatSecurityCatchCall_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledSecurityCatchCall_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledSecurityCatchCall_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledSecurityCatchCallEnd(){ return TRUE;}
-extern "C" ULONG FireEtwSecurityCatchCallEnd(
+extern "C" BOOL EventXplatEnabledSecurityCatchCallEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatSecurityCatchCallEnd(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledSecurityCatchCallEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledSecurityCatchCallEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledSecurityCatchCallEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwSecurityCatchCallEnd_V1(
+extern "C" BOOL EventXplatEnabledSecurityCatchCallEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatSecurityCatchCallEnd_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledSecurityCatchCallEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledSecurityCatchCallEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledCLRStackWalkPrivate(){ return TRUE;}
-extern "C" ULONG FireEtwCLRStackWalkPrivate(
+extern "C" BOOL EventXplatEnabledCLRStackWalkPrivate(){ return TRUE;}
+extern "C" ULONG FireEtXplatCLRStackWalkPrivate(
const unsigned short ClrInstanceID,
const unsigned char Reserved1,
const unsigned char Reserved2,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledCLRStackWalkPrivate()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledCLRStackWalkPrivate()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledModuleRangeLoadPrivate(){ return TRUE;}
-extern "C" ULONG FireEtwModuleRangeLoadPrivate(
+extern "C" BOOL EventXplatEnabledModuleRangeLoadPrivate(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleRangeLoadPrivate(
const unsigned short ClrInstanceID,
const unsigned __int64 ModuleID,
const unsigned int RangeBegin,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleRangeLoadPrivate()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleRangeLoadPrivate()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledBindingPolicyPhaseStart(){ return TRUE;}
-extern "C" ULONG FireEtwBindingPolicyPhaseStart(
+extern "C" BOOL EventXplatEnabledBindingPolicyPhaseStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatBindingPolicyPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBindingPolicyPhaseStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBindingPolicyPhaseStart()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledBindingPolicyPhaseEnd(){ return TRUE;}
-extern "C" ULONG FireEtwBindingPolicyPhaseEnd(
+extern "C" BOOL EventXplatEnabledBindingPolicyPhaseEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatBindingPolicyPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBindingPolicyPhaseEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBindingPolicyPhaseEnd()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledBindingNgenPhaseStart(){ return TRUE;}
-extern "C" ULONG FireEtwBindingNgenPhaseStart(
+extern "C" BOOL EventXplatEnabledBindingNgenPhaseStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatBindingNgenPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBindingNgenPhaseStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBindingNgenPhaseStart()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledBindingNgenPhaseEnd(){ return TRUE;}
-extern "C" ULONG FireEtwBindingNgenPhaseEnd(
+extern "C" BOOL EventXplatEnabledBindingNgenPhaseEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatBindingNgenPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBindingNgenPhaseEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBindingNgenPhaseEnd()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledBindingLookupAndProbingPhaseStart(){ return TRUE;}
-extern "C" ULONG FireEtwBindingLookupAndProbingPhaseStart(
+extern "C" BOOL EventXplatEnabledBindingLookupAndProbingPhaseStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatBindingLookupAndProbingPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBindingLookupAndProbingPhaseStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBindingLookupAndProbingPhaseStart()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledBindingLookupAndProbingPhaseEnd(){ return TRUE;}
-extern "C" ULONG FireEtwBindingLookupAndProbingPhaseEnd(
+extern "C" BOOL EventXplatEnabledBindingLookupAndProbingPhaseEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatBindingLookupAndProbingPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBindingLookupAndProbingPhaseEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBindingLookupAndProbingPhaseEnd()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledLoaderPhaseStart(){ return TRUE;}
-extern "C" ULONG FireEtwLoaderPhaseStart(
+extern "C" BOOL EventXplatEnabledLoaderPhaseStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatLoaderPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLoaderPhaseStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLoaderPhaseStart()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledLoaderPhaseEnd(){ return TRUE;}
-extern "C" ULONG FireEtwLoaderPhaseEnd(
+extern "C" BOOL EventXplatEnabledLoaderPhaseEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatLoaderPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLoaderPhaseEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLoaderPhaseEnd()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledBindingPhaseStart(){ return TRUE;}
-extern "C" ULONG FireEtwBindingPhaseStart(
+extern "C" BOOL EventXplatEnabledBindingPhaseStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatBindingPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBindingPhaseStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBindingPhaseStart()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledBindingPhaseEnd(){ return TRUE;}
-extern "C" ULONG FireEtwBindingPhaseEnd(
+extern "C" BOOL EventXplatEnabledBindingPhaseEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatBindingPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBindingPhaseEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBindingPhaseEnd()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledBindingDownloadPhaseStart(){ return TRUE;}
-extern "C" ULONG FireEtwBindingDownloadPhaseStart(
+extern "C" BOOL EventXplatEnabledBindingDownloadPhaseStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatBindingDownloadPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBindingDownloadPhaseStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBindingDownloadPhaseStart()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledBindingDownloadPhaseEnd(){ return TRUE;}
-extern "C" ULONG FireEtwBindingDownloadPhaseEnd(
+extern "C" BOOL EventXplatEnabledBindingDownloadPhaseEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatBindingDownloadPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBindingDownloadPhaseEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBindingDownloadPhaseEnd()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledLoaderAssemblyInitPhaseStart(){ return TRUE;}
-extern "C" ULONG FireEtwLoaderAssemblyInitPhaseStart(
+extern "C" BOOL EventXplatEnabledLoaderAssemblyInitPhaseStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatLoaderAssemblyInitPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLoaderAssemblyInitPhaseStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLoaderAssemblyInitPhaseStart()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledLoaderAssemblyInitPhaseEnd(){ return TRUE;}
-extern "C" ULONG FireEtwLoaderAssemblyInitPhaseEnd(
+extern "C" BOOL EventXplatEnabledLoaderAssemblyInitPhaseEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatLoaderAssemblyInitPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLoaderAssemblyInitPhaseEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLoaderAssemblyInitPhaseEnd()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledLoaderMappingPhaseStart(){ return TRUE;}
-extern "C" ULONG FireEtwLoaderMappingPhaseStart(
+extern "C" BOOL EventXplatEnabledLoaderMappingPhaseStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatLoaderMappingPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLoaderMappingPhaseStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLoaderMappingPhaseStart()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledLoaderMappingPhaseEnd(){ return TRUE;}
-extern "C" ULONG FireEtwLoaderMappingPhaseEnd(
+extern "C" BOOL EventXplatEnabledLoaderMappingPhaseEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatLoaderMappingPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLoaderMappingPhaseEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLoaderMappingPhaseEnd()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledLoaderDeliverEventsPhaseStart(){ return TRUE;}
-extern "C" ULONG FireEtwLoaderDeliverEventsPhaseStart(
+extern "C" BOOL EventXplatEnabledLoaderDeliverEventsPhaseStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatLoaderDeliverEventsPhaseStart(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLoaderDeliverEventsPhaseStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLoaderDeliverEventsPhaseStart()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledLoaderDeliverEventsPhaseEnd(){ return TRUE;}
-extern "C" ULONG FireEtwLoaderDeliverEventsPhaseEnd(
+extern "C" BOOL EventXplatEnabledLoaderDeliverEventsPhaseEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatLoaderDeliverEventsPhaseEnd(
const unsigned int AppDomainID,
const unsigned int LoadContextID,
const unsigned int FromLoaderCache,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledLoaderDeliverEventsPhaseEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledLoaderDeliverEventsPhaseEnd()){ return ERROR_SUCCESS;};
INT AssemblyCodebase_path_size = -1;
- INT AssemblyCodebase_full_name_path_size = PAL_wcslen(AssemblyCodebase) + 1;
+ INT AssemblyCodebase_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyCodebase, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyCodebase_full_name=NULL;
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyCodebase_full_name = (CHAR*)malloc(AssemblyCodebase_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledEvidenceGenerated(){ return TRUE;}
-extern "C" ULONG FireEtwEvidenceGenerated(
+extern "C" BOOL EventXplatEnabledEvidenceGenerated(){ return TRUE;}
+extern "C" ULONG FireEtXplatEvidenceGenerated(
const unsigned int Type,
const unsigned int AppDomain,
PCWSTR ILImage,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledEvidenceGenerated()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledEvidenceGenerated()){ return ERROR_SUCCESS;};
INT ILImage_path_size = -1;
- INT ILImage_full_name_path_size = PAL_wcslen(ILImage) + 1;
+ INT ILImage_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ILImage, -1, NULL, 0, NULL, NULL );
CHAR* ILImage_full_name=NULL;
ILImage_full_name = (CHAR*)malloc(ILImage_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledModuleTransparencyComputationStart(){ return TRUE;}
-extern "C" ULONG FireEtwModuleTransparencyComputationStart(
+extern "C" BOOL EventXplatEnabledModuleTransparencyComputationStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleTransparencyComputationStart(
PCWSTR Module,
const unsigned int AppDomainID,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleTransparencyComputationStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleTransparencyComputationStart()){ return ERROR_SUCCESS;};
INT Module_path_size = -1;
- INT Module_full_name_path_size = PAL_wcslen(Module) + 1;
+ INT Module_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Module, -1, NULL, 0, NULL, NULL );
CHAR* Module_full_name=NULL;
Module_full_name = (CHAR*)malloc(Module_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledModuleTransparencyComputationEnd(){ return TRUE;}
-extern "C" ULONG FireEtwModuleTransparencyComputationEnd(
+extern "C" BOOL EventXplatEnabledModuleTransparencyComputationEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleTransparencyComputationEnd(
PCWSTR Module,
const unsigned int AppDomainID,
const BOOL IsAllCritical,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleTransparencyComputationEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleTransparencyComputationEnd()){ return ERROR_SUCCESS;};
INT Module_path_size = -1;
- INT Module_full_name_path_size = PAL_wcslen(Module) + 1;
+ INT Module_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Module, -1, NULL, 0, NULL, NULL );
CHAR* Module_full_name=NULL;
Module_full_name = (CHAR*)malloc(Module_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledTypeTransparencyComputationStart(){ return TRUE;}
-extern "C" ULONG FireEtwTypeTransparencyComputationStart(
+extern "C" BOOL EventXplatEnabledTypeTransparencyComputationStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatTypeTransparencyComputationStart(
PCWSTR Type,
PCWSTR Module,
const unsigned int AppDomainID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledTypeTransparencyComputationStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledTypeTransparencyComputationStart()){ return ERROR_SUCCESS;};
INT Type_path_size = -1;
- INT Type_full_name_path_size = PAL_wcslen(Type) + 1;
+ INT Type_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Type, -1, NULL, 0, NULL, NULL );
CHAR* Type_full_name=NULL;
INT Module_path_size = -1;
- INT Module_full_name_path_size = PAL_wcslen(Module) + 1;
+ INT Module_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Module, -1, NULL, 0, NULL, NULL );
CHAR* Module_full_name=NULL;
Type_full_name = (CHAR*)malloc(Type_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledTypeTransparencyComputationEnd(){ return TRUE;}
-extern "C" ULONG FireEtwTypeTransparencyComputationEnd(
+extern "C" BOOL EventXplatEnabledTypeTransparencyComputationEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatTypeTransparencyComputationEnd(
PCWSTR Type,
PCWSTR Module,
const unsigned int AppDomainID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledTypeTransparencyComputationEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledTypeTransparencyComputationEnd()){ return ERROR_SUCCESS;};
INT Type_path_size = -1;
- INT Type_full_name_path_size = PAL_wcslen(Type) + 1;
+ INT Type_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Type, -1, NULL, 0, NULL, NULL );
CHAR* Type_full_name=NULL;
INT Module_path_size = -1;
- INT Module_full_name_path_size = PAL_wcslen(Module) + 1;
+ INT Module_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Module, -1, NULL, 0, NULL, NULL );
CHAR* Module_full_name=NULL;
Type_full_name = (CHAR*)malloc(Type_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodTransparencyComputationStart(){ return TRUE;}
-extern "C" ULONG FireEtwMethodTransparencyComputationStart(
+extern "C" BOOL EventXplatEnabledMethodTransparencyComputationStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodTransparencyComputationStart(
PCWSTR Method,
PCWSTR Module,
const unsigned int AppDomainID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodTransparencyComputationStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodTransparencyComputationStart()){ return ERROR_SUCCESS;};
INT Method_path_size = -1;
- INT Method_full_name_path_size = PAL_wcslen(Method) + 1;
+ INT Method_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Method, -1, NULL, 0, NULL, NULL );
CHAR* Method_full_name=NULL;
INT Module_path_size = -1;
- INT Module_full_name_path_size = PAL_wcslen(Module) + 1;
+ INT Module_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Module, -1, NULL, 0, NULL, NULL );
CHAR* Module_full_name=NULL;
Method_full_name = (CHAR*)malloc(Method_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodTransparencyComputationEnd(){ return TRUE;}
-extern "C" ULONG FireEtwMethodTransparencyComputationEnd(
+extern "C" BOOL EventXplatEnabledMethodTransparencyComputationEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodTransparencyComputationEnd(
PCWSTR Method,
PCWSTR Module,
const unsigned int AppDomainID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodTransparencyComputationEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodTransparencyComputationEnd()){ return ERROR_SUCCESS;};
INT Method_path_size = -1;
- INT Method_full_name_path_size = PAL_wcslen(Method) + 1;
+ INT Method_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Method, -1, NULL, 0, NULL, NULL );
CHAR* Method_full_name=NULL;
INT Module_path_size = -1;
- INT Module_full_name_path_size = PAL_wcslen(Module) + 1;
+ INT Module_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Module, -1, NULL, 0, NULL, NULL );
CHAR* Module_full_name=NULL;
Method_full_name = (CHAR*)malloc(Method_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledFieldTransparencyComputationStart(){ return TRUE;}
-extern "C" ULONG FireEtwFieldTransparencyComputationStart(
+extern "C" BOOL EventXplatEnabledFieldTransparencyComputationStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatFieldTransparencyComputationStart(
PCWSTR Field,
PCWSTR Module,
const unsigned int AppDomainID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFieldTransparencyComputationStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFieldTransparencyComputationStart()){ return ERROR_SUCCESS;};
INT Field_path_size = -1;
- INT Field_full_name_path_size = PAL_wcslen(Field) + 1;
+ INT Field_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Field, -1, NULL, 0, NULL, NULL );
CHAR* Field_full_name=NULL;
INT Module_path_size = -1;
- INT Module_full_name_path_size = PAL_wcslen(Module) + 1;
+ INT Module_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Module, -1, NULL, 0, NULL, NULL );
CHAR* Module_full_name=NULL;
Field_full_name = (CHAR*)malloc(Field_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledFieldTransparencyComputationEnd(){ return TRUE;}
-extern "C" ULONG FireEtwFieldTransparencyComputationEnd(
+extern "C" BOOL EventXplatEnabledFieldTransparencyComputationEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatFieldTransparencyComputationEnd(
PCWSTR Field,
PCWSTR Module,
const unsigned int AppDomainID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFieldTransparencyComputationEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFieldTransparencyComputationEnd()){ return ERROR_SUCCESS;};
INT Field_path_size = -1;
- INT Field_full_name_path_size = PAL_wcslen(Field) + 1;
+ INT Field_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Field, -1, NULL, 0, NULL, NULL );
CHAR* Field_full_name=NULL;
INT Module_path_size = -1;
- INT Module_full_name_path_size = PAL_wcslen(Module) + 1;
+ INT Module_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Module, -1, NULL, 0, NULL, NULL );
CHAR* Module_full_name=NULL;
Field_full_name = (CHAR*)malloc(Field_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledTokenTransparencyComputationStart(){ return TRUE;}
-extern "C" ULONG FireEtwTokenTransparencyComputationStart(
+extern "C" BOOL EventXplatEnabledTokenTransparencyComputationStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatTokenTransparencyComputationStart(
const unsigned int Token,
PCWSTR Module,
const unsigned int AppDomainID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledTokenTransparencyComputationStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledTokenTransparencyComputationStart()){ return ERROR_SUCCESS;};
INT Module_path_size = -1;
- INT Module_full_name_path_size = PAL_wcslen(Module) + 1;
+ INT Module_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Module, -1, NULL, 0, NULL, NULL );
CHAR* Module_full_name=NULL;
Module_full_name = (CHAR*)malloc(Module_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledTokenTransparencyComputationEnd(){ return TRUE;}
-extern "C" ULONG FireEtwTokenTransparencyComputationEnd(
+extern "C" BOOL EventXplatEnabledTokenTransparencyComputationEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatTokenTransparencyComputationEnd(
const unsigned int Token,
PCWSTR Module,
const unsigned int AppDomainID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledTokenTransparencyComputationEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledTokenTransparencyComputationEnd()){ return ERROR_SUCCESS;};
INT Module_path_size = -1;
- INT Module_full_name_path_size = PAL_wcslen(Module) + 1;
+ INT Module_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Module, -1, NULL, 0, NULL, NULL );
CHAR* Module_full_name=NULL;
Module_full_name = (CHAR*)malloc(Module_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledNgenBindEvent(){ return TRUE;}
-extern "C" ULONG FireEtwNgenBindEvent(
+extern "C" BOOL EventXplatEnabledNgenBindEvent(){ return TRUE;}
+extern "C" ULONG FireEtXplatNgenBindEvent(
const unsigned short ClrInstanceID,
const unsigned __int64 BindingID,
const unsigned int ReasonCode,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledNgenBindEvent()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledNgenBindEvent()){ return ERROR_SUCCESS;};
INT AssemblyName_path_size = -1;
- INT AssemblyName_full_name_path_size = PAL_wcslen(AssemblyName) + 1;
+ INT AssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* AssemblyName_full_name=NULL;
AssemblyName_full_name = (CHAR*)malloc(AssemblyName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledFailFast(){ return TRUE;}
-extern "C" ULONG FireEtwFailFast(
+extern "C" BOOL EventXplatEnabledFailFast(){ return TRUE;}
+extern "C" ULONG FireEtXplatFailFast(
PCWSTR FailFastUserMessage,
const void* FailedEIP,
const unsigned int OSExitCode,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFailFast()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFailFast()){ return ERROR_SUCCESS;};
INT FailFastUserMessage_path_size = -1;
- INT FailFastUserMessage_full_name_path_size = PAL_wcslen(FailFastUserMessage) + 1;
+ INT FailFastUserMessage_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, FailFastUserMessage, -1, NULL, 0, NULL, NULL );
CHAR* FailFastUserMessage_full_name=NULL;
FailFastUserMessage_full_name = (CHAR*)malloc(FailFastUserMessage_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledPrvFinalizeObject(){ return TRUE;}
-extern "C" ULONG FireEtwPrvFinalizeObject(
+extern "C" BOOL EventXplatEnabledPrvFinalizeObject(){ return TRUE;}
+extern "C" ULONG FireEtXplatPrvFinalizeObject(
const void* TypeID,
const void* ObjectID,
const unsigned short ClrInstanceID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledPrvFinalizeObject()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledPrvFinalizeObject()){ return ERROR_SUCCESS;};
INT TypeName_path_size = -1;
- INT TypeName_full_name_path_size = PAL_wcslen(TypeName) + 1;
+ INT TypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, TypeName, -1, NULL, 0, NULL, NULL );
CHAR* TypeName_full_name=NULL;
TypeName_full_name = (CHAR*)malloc(TypeName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledCCWRefCountChange(){ return TRUE;}
-extern "C" ULONG FireEtwCCWRefCountChange(
+extern "C" BOOL EventXplatEnabledCCWRefCountChange(){ return TRUE;}
+extern "C" ULONG FireEtXplatCCWRefCountChange(
const void* HandleID,
const void* ObjectID,
const void* COMInterfacePointer,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledCCWRefCountChange()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledCCWRefCountChange()){ return ERROR_SUCCESS;};
INT Operation_path_size = -1;
- INT Operation_full_name_path_size = PAL_wcslen(Operation) + 1;
+ INT Operation_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Operation, -1, NULL, 0, NULL, NULL );
CHAR* Operation_full_name=NULL;
Operation_full_name = (CHAR*)malloc(Operation_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledPrvSetGCHandle(){ return TRUE;}
-extern "C" ULONG FireEtwPrvSetGCHandle(
+extern "C" BOOL EventXplatEnabledPrvSetGCHandle(){ return TRUE;}
+extern "C" ULONG FireEtXplatPrvSetGCHandle(
const void* HandleID,
const void* ObjectID,
const unsigned int Kind,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledPrvSetGCHandle()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledPrvSetGCHandle()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledPrvDestroyGCHandle(){ return TRUE;}
-extern "C" ULONG FireEtwPrvDestroyGCHandle(
+extern "C" BOOL EventXplatEnabledPrvDestroyGCHandle(){ return TRUE;}
+extern "C" ULONG FireEtXplatPrvDestroyGCHandle(
const void* HandleID,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledPrvDestroyGCHandle()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledPrvDestroyGCHandle()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledFusionMessageEvent(){ return TRUE;}
-extern "C" ULONG FireEtwFusionMessageEvent(
+extern "C" BOOL EventXplatEnabledFusionMessageEvent(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusionMessageEvent(
const unsigned short ClrInstanceID,
const BOOL Prepend,
PCWSTR Message
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusionMessageEvent()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusionMessageEvent()){ return ERROR_SUCCESS;};
INT Message_path_size = -1;
- INT Message_full_name_path_size = PAL_wcslen(Message) + 1;
+ INT Message_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, Message, -1, NULL, 0, NULL, NULL );
CHAR* Message_full_name=NULL;
Message_full_name = (CHAR*)malloc(Message_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledFusionErrorCodeEvent(){ return TRUE;}
-extern "C" ULONG FireEtwFusionErrorCodeEvent(
+extern "C" BOOL EventXplatEnabledFusionErrorCodeEvent(){ return TRUE;}
+extern "C" ULONG FireEtXplatFusionErrorCodeEvent(
const unsigned short ClrInstanceID,
const unsigned int Category,
const unsigned int ErrorCode
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledFusionErrorCodeEvent()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledFusionErrorCodeEvent()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledPinPlugAtGCTime(){ return TRUE;}
-extern "C" ULONG FireEtwPinPlugAtGCTime(
+extern "C" BOOL EventXplatEnabledPinPlugAtGCTime(){ return TRUE;}
+extern "C" ULONG FireEtXplatPinPlugAtGCTime(
const void* PlugStart,
const void* PlugEnd,
const void* GapBeforeSize,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledPinPlugAtGCTime()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledPinPlugAtGCTime()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledAllocRequest(){ return TRUE;}
-extern "C" ULONG FireEtwAllocRequest(
+extern "C" BOOL EventXplatEnabledAllocRequest(){ return TRUE;}
+extern "C" ULONG FireEtXplatAllocRequest(
const void* LoaderHeapPtr,
const void* MemoryAddress,
const unsigned int RequestSize,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAllocRequest()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAllocRequest()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMulticoreJit(){ return TRUE;}
-extern "C" ULONG FireEtwMulticoreJit(
+extern "C" BOOL EventXplatEnabledMulticoreJit(){ return TRUE;}
+extern "C" ULONG FireEtXplatMulticoreJit(
const unsigned short ClrInstanceID,
PCWSTR String1,
PCWSTR String2,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMulticoreJit()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMulticoreJit()){ return ERROR_SUCCESS;};
INT String1_path_size = -1;
- INT String1_full_name_path_size = PAL_wcslen(String1) + 1;
+ INT String1_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, String1, -1, NULL, 0, NULL, NULL );
CHAR* String1_full_name=NULL;
INT String2_path_size = -1;
- INT String2_full_name_path_size = PAL_wcslen(String2) + 1;
+ INT String2_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, String2, -1, NULL, 0, NULL, NULL );
CHAR* String2_full_name=NULL;
String1_full_name = (CHAR*)malloc(String1_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMulticoreJitMethodCodeReturned(){ return TRUE;}
-extern "C" ULONG FireEtwMulticoreJitMethodCodeReturned(
+extern "C" BOOL EventXplatEnabledMulticoreJitMethodCodeReturned(){ return TRUE;}
+extern "C" ULONG FireEtXplatMulticoreJitMethodCodeReturned(
const unsigned short ClrInstanceID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMulticoreJitMethodCodeReturned()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMulticoreJitMethodCodeReturned()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledIInspectableRuntimeClassName(){ return TRUE;}
-extern "C" ULONG FireEtwIInspectableRuntimeClassName(
+extern "C" BOOL EventXplatEnabledIInspectableRuntimeClassName(){ return TRUE;}
+extern "C" ULONG FireEtXplatIInspectableRuntimeClassName(
PCWSTR TypeName,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledIInspectableRuntimeClassName()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledIInspectableRuntimeClassName()){ return ERROR_SUCCESS;};
INT TypeName_path_size = -1;
- INT TypeName_full_name_path_size = PAL_wcslen(TypeName) + 1;
+ INT TypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, TypeName, -1, NULL, 0, NULL, NULL );
CHAR* TypeName_full_name=NULL;
TypeName_full_name = (CHAR*)malloc(TypeName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledWinRTUnbox(){ return TRUE;}
-extern "C" ULONG FireEtwWinRTUnbox(
+extern "C" BOOL EventXplatEnabledWinRTUnbox(){ return TRUE;}
+extern "C" ULONG FireEtXplatWinRTUnbox(
PCWSTR TypeName,
PCWSTR SecondTypeName,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledWinRTUnbox()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledWinRTUnbox()){ return ERROR_SUCCESS;};
INT TypeName_path_size = -1;
- INT TypeName_full_name_path_size = PAL_wcslen(TypeName) + 1;
+ INT TypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, TypeName, -1, NULL, 0, NULL, NULL );
CHAR* TypeName_full_name=NULL;
INT SecondTypeName_path_size = -1;
- INT SecondTypeName_full_name_path_size = PAL_wcslen(SecondTypeName) + 1;
+ INT SecondTypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, SecondTypeName, -1, NULL, 0, NULL, NULL );
CHAR* SecondTypeName_full_name=NULL;
TypeName_full_name = (CHAR*)malloc(TypeName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledCreateRCW(){ return TRUE;}
-extern "C" ULONG FireEtwCreateRCW(
+extern "C" BOOL EventXplatEnabledCreateRCW(){ return TRUE;}
+extern "C" ULONG FireEtXplatCreateRCW(
PCWSTR TypeName,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledCreateRCW()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledCreateRCW()){ return ERROR_SUCCESS;};
INT TypeName_path_size = -1;
- INT TypeName_full_name_path_size = PAL_wcslen(TypeName) + 1;
+ INT TypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, TypeName, -1, NULL, 0, NULL, NULL );
CHAR* TypeName_full_name=NULL;
TypeName_full_name = (CHAR*)malloc(TypeName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledRCWVariance(){ return TRUE;}
-extern "C" ULONG FireEtwRCWVariance(
+extern "C" BOOL EventXplatEnabledRCWVariance(){ return TRUE;}
+extern "C" ULONG FireEtXplatRCWVariance(
PCWSTR TypeName,
PCWSTR InterfaceTypeName,
PCWSTR VariantInterfaceTypeName,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledRCWVariance()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledRCWVariance()){ return ERROR_SUCCESS;};
INT TypeName_path_size = -1;
- INT TypeName_full_name_path_size = PAL_wcslen(TypeName) + 1;
+ INT TypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, TypeName, -1, NULL, 0, NULL, NULL );
CHAR* TypeName_full_name=NULL;
INT InterfaceTypeName_path_size = -1;
- INT InterfaceTypeName_full_name_path_size = PAL_wcslen(InterfaceTypeName) + 1;
+ INT InterfaceTypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, InterfaceTypeName, -1, NULL, 0, NULL, NULL );
CHAR* InterfaceTypeName_full_name=NULL;
INT VariantInterfaceTypeName_path_size = -1;
- INT VariantInterfaceTypeName_full_name_path_size = PAL_wcslen(VariantInterfaceTypeName) + 1;
+ INT VariantInterfaceTypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, VariantInterfaceTypeName, -1, NULL, 0, NULL, NULL );
CHAR* VariantInterfaceTypeName_full_name=NULL;
TypeName_full_name = (CHAR*)malloc(TypeName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledRCWIEnumerableCasting(){ return TRUE;}
-extern "C" ULONG FireEtwRCWIEnumerableCasting(
+extern "C" BOOL EventXplatEnabledRCWIEnumerableCasting(){ return TRUE;}
+extern "C" ULONG FireEtXplatRCWIEnumerableCasting(
PCWSTR TypeName,
PCWSTR SecondTypeName,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledRCWIEnumerableCasting()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledRCWIEnumerableCasting()){ return ERROR_SUCCESS;};
INT TypeName_path_size = -1;
- INT TypeName_full_name_path_size = PAL_wcslen(TypeName) + 1;
+ INT TypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, TypeName, -1, NULL, 0, NULL, NULL );
CHAR* TypeName_full_name=NULL;
INT SecondTypeName_path_size = -1;
- INT SecondTypeName_full_name_path_size = PAL_wcslen(SecondTypeName) + 1;
+ INT SecondTypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, SecondTypeName, -1, NULL, 0, NULL, NULL );
CHAR* SecondTypeName_full_name=NULL;
TypeName_full_name = (CHAR*)malloc(TypeName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledCreateCCW(){ return TRUE;}
-extern "C" ULONG FireEtwCreateCCW(
+extern "C" BOOL EventXplatEnabledCreateCCW(){ return TRUE;}
+extern "C" ULONG FireEtXplatCreateCCW(
PCWSTR TypeName,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledCreateCCW()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledCreateCCW()){ return ERROR_SUCCESS;};
INT TypeName_path_size = -1;
- INT TypeName_full_name_path_size = PAL_wcslen(TypeName) + 1;
+ INT TypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, TypeName, -1, NULL, 0, NULL, NULL );
CHAR* TypeName_full_name=NULL;
TypeName_full_name = (CHAR*)malloc(TypeName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledCCWVariance(){ return TRUE;}
-extern "C" ULONG FireEtwCCWVariance(
+extern "C" BOOL EventXplatEnabledCCWVariance(){ return TRUE;}
+extern "C" ULONG FireEtXplatCCWVariance(
PCWSTR TypeName,
PCWSTR InterfaceTypeName,
PCWSTR VariantInterfaceTypeName,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledCCWVariance()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledCCWVariance()){ return ERROR_SUCCESS;};
INT TypeName_path_size = -1;
- INT TypeName_full_name_path_size = PAL_wcslen(TypeName) + 1;
+ INT TypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, TypeName, -1, NULL, 0, NULL, NULL );
CHAR* TypeName_full_name=NULL;
INT InterfaceTypeName_path_size = -1;
- INT InterfaceTypeName_full_name_path_size = PAL_wcslen(InterfaceTypeName) + 1;
+ INT InterfaceTypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, InterfaceTypeName, -1, NULL, 0, NULL, NULL );
CHAR* InterfaceTypeName_full_name=NULL;
INT VariantInterfaceTypeName_path_size = -1;
- INT VariantInterfaceTypeName_full_name_path_size = PAL_wcslen(VariantInterfaceTypeName) + 1;
+ INT VariantInterfaceTypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, VariantInterfaceTypeName, -1, NULL, 0, NULL, NULL );
CHAR* VariantInterfaceTypeName_full_name=NULL;
TypeName_full_name = (CHAR*)malloc(TypeName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledObjectVariantMarshallingToNative(){ return TRUE;}
-extern "C" ULONG FireEtwObjectVariantMarshallingToNative(
+extern "C" BOOL EventXplatEnabledObjectVariantMarshallingToNative(){ return TRUE;}
+extern "C" ULONG FireEtXplatObjectVariantMarshallingToNative(
PCWSTR TypeName,
const signed int Int1,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledObjectVariantMarshallingToNative()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledObjectVariantMarshallingToNative()){ return ERROR_SUCCESS;};
INT TypeName_path_size = -1;
- INT TypeName_full_name_path_size = PAL_wcslen(TypeName) + 1;
+ INT TypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, TypeName, -1, NULL, 0, NULL, NULL );
CHAR* TypeName_full_name=NULL;
TypeName_full_name = (CHAR*)malloc(TypeName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledGetTypeFromGUID(){ return TRUE;}
-extern "C" ULONG FireEtwGetTypeFromGUID(
+extern "C" BOOL EventXplatEnabledGetTypeFromGUID(){ return TRUE;}
+extern "C" ULONG FireEtXplatGetTypeFromGUID(
PCWSTR TypeName,
PCWSTR SecondTypeName,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGetTypeFromGUID()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGetTypeFromGUID()){ return ERROR_SUCCESS;};
INT TypeName_path_size = -1;
- INT TypeName_full_name_path_size = PAL_wcslen(TypeName) + 1;
+ INT TypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, TypeName, -1, NULL, 0, NULL, NULL );
CHAR* TypeName_full_name=NULL;
INT SecondTypeName_path_size = -1;
- INT SecondTypeName_full_name_path_size = PAL_wcslen(SecondTypeName) + 1;
+ INT SecondTypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, SecondTypeName, -1, NULL, 0, NULL, NULL );
CHAR* SecondTypeName_full_name=NULL;
TypeName_full_name = (CHAR*)malloc(TypeName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledGetTypeFromProgID(){ return TRUE;}
-extern "C" ULONG FireEtwGetTypeFromProgID(
+extern "C" BOOL EventXplatEnabledGetTypeFromProgID(){ return TRUE;}
+extern "C" ULONG FireEtXplatGetTypeFromProgID(
PCWSTR TypeName,
PCWSTR SecondTypeName,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledGetTypeFromProgID()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledGetTypeFromProgID()){ return ERROR_SUCCESS;};
INT TypeName_path_size = -1;
- INT TypeName_full_name_path_size = PAL_wcslen(TypeName) + 1;
+ INT TypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, TypeName, -1, NULL, 0, NULL, NULL );
CHAR* TypeName_full_name=NULL;
INT SecondTypeName_path_size = -1;
- INT SecondTypeName_full_name_path_size = PAL_wcslen(SecondTypeName) + 1;
+ INT SecondTypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, SecondTypeName, -1, NULL, 0, NULL, NULL );
CHAR* SecondTypeName_full_name=NULL;
TypeName_full_name = (CHAR*)malloc(TypeName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledConvertToCallbackEtw(){ return TRUE;}
-extern "C" ULONG FireEtwConvertToCallbackEtw(
+extern "C" BOOL EventXplatEnabledConvertToCallbackEtw(){ return TRUE;}
+extern "C" ULONG FireEtXplatConvertToCallbackEtw(
PCWSTR TypeName,
PCWSTR SecondTypeName,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledConvertToCallbackEtw()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledConvertToCallbackEtw()){ return ERROR_SUCCESS;};
INT TypeName_path_size = -1;
- INT TypeName_full_name_path_size = PAL_wcslen(TypeName) + 1;
+ INT TypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, TypeName, -1, NULL, 0, NULL, NULL );
CHAR* TypeName_full_name=NULL;
INT SecondTypeName_path_size = -1;
- INT SecondTypeName_full_name_path_size = PAL_wcslen(SecondTypeName) + 1;
+ INT SecondTypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, SecondTypeName, -1, NULL, 0, NULL, NULL );
CHAR* SecondTypeName_full_name=NULL;
TypeName_full_name = (CHAR*)malloc(TypeName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledBeginCreateManagedReference(){ return TRUE;}
-extern "C" ULONG FireEtwBeginCreateManagedReference(
+extern "C" BOOL EventXplatEnabledBeginCreateManagedReference(){ return TRUE;}
+extern "C" ULONG FireEtXplatBeginCreateManagedReference(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledBeginCreateManagedReference()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledBeginCreateManagedReference()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledEndCreateManagedReference(){ return TRUE;}
-extern "C" ULONG FireEtwEndCreateManagedReference(
+extern "C" BOOL EventXplatEnabledEndCreateManagedReference(){ return TRUE;}
+extern "C" ULONG FireEtXplatEndCreateManagedReference(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledEndCreateManagedReference()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledEndCreateManagedReference()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledObjectVariantMarshallingToManaged(){ return TRUE;}
-extern "C" ULONG FireEtwObjectVariantMarshallingToManaged(
+extern "C" BOOL EventXplatEnabledObjectVariantMarshallingToManaged(){ return TRUE;}
+extern "C" ULONG FireEtXplatObjectVariantMarshallingToManaged(
PCWSTR TypeName,
const signed int Int1,
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledObjectVariantMarshallingToManaged()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledObjectVariantMarshallingToManaged()){ return ERROR_SUCCESS;};
INT TypeName_path_size = -1;
- INT TypeName_full_name_path_size = PAL_wcslen(TypeName) + 1;
+ INT TypeName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, TypeName, -1, NULL, 0, NULL, NULL );
CHAR* TypeName_full_name=NULL;
TypeName_full_name = (CHAR*)malloc(TypeName_full_name_path_size*sizeof(CHAR));
#define TRACEPOINT_DEFINE
#define TRACEPOINT_PROBE_DYNAMIC_LINKAGE
#include "lttng/tpdotnetruntimerundown.h"
-extern "C" BOOL EventEnabledCLRStackWalkDCStart(){ return TRUE;}
-extern "C" ULONG FireEtwCLRStackWalkDCStart(
+extern "C" BOOL EventXplatEnabledCLRStackWalkDCStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatCLRStackWalkDCStart(
const unsigned short ClrInstanceID,
const unsigned char Reserved1,
const unsigned char Reserved2,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledCLRStackWalkDCStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledCLRStackWalkDCStart()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMethodDCStart(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCStart(
+extern "C" BOOL EventXplatEnabledMethodDCStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCStart(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCStart()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMethodDCStart_V1(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCStart_V1(
+extern "C" BOOL EventXplatEnabledMethodDCStart_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCStart_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCStart_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCStart_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMethodDCStart_V2(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCStart_V2(
+extern "C" BOOL EventXplatEnabledMethodDCStart_V2(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCStart_V2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCStart_V2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCStart_V2()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMethodDCEnd(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCEnd(
+extern "C" BOOL EventXplatEnabledMethodDCEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCEnd(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMethodDCEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCEnd_V1(
+extern "C" BOOL EventXplatEnabledMethodDCEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCEnd_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCEnd_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMethodDCEnd_V2(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCEnd_V2(
+extern "C" BOOL EventXplatEnabledMethodDCEnd_V2(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCEnd_V2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCEnd_V2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCEnd_V2()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMethodDCStartVerbose(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCStartVerbose(
+extern "C" BOOL EventXplatEnabledMethodDCStartVerbose(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCStartVerbose(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCStartVerbose()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCStartVerbose()){ return ERROR_SUCCESS;};
INT MethodNamespace_path_size = -1;
- INT MethodNamespace_full_name_path_size = PAL_wcslen(MethodNamespace) + 1;
+ INT MethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodNamespace_full_name=NULL;
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
INT MethodSignature_path_size = -1;
- INT MethodSignature_full_name_path_size = PAL_wcslen(MethodSignature) + 1;
+ INT MethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodSignature_full_name=NULL;
MethodNamespace_full_name = (CHAR*)malloc(MethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodDCStartVerbose_V1(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCStartVerbose_V1(
+extern "C" BOOL EventXplatEnabledMethodDCStartVerbose_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCStartVerbose_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCStartVerbose_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCStartVerbose_V1()){ return ERROR_SUCCESS;};
INT MethodNamespace_path_size = -1;
- INT MethodNamespace_full_name_path_size = PAL_wcslen(MethodNamespace) + 1;
+ INT MethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodNamespace_full_name=NULL;
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
INT MethodSignature_path_size = -1;
- INT MethodSignature_full_name_path_size = PAL_wcslen(MethodSignature) + 1;
+ INT MethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodSignature_full_name=NULL;
MethodNamespace_full_name = (CHAR*)malloc(MethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodDCStartVerbose_V2(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCStartVerbose_V2(
+extern "C" BOOL EventXplatEnabledMethodDCStartVerbose_V2(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCStartVerbose_V2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCStartVerbose_V2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCStartVerbose_V2()){ return ERROR_SUCCESS;};
INT MethodNamespace_path_size = -1;
- INT MethodNamespace_full_name_path_size = PAL_wcslen(MethodNamespace) + 1;
+ INT MethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodNamespace_full_name=NULL;
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
INT MethodSignature_path_size = -1;
- INT MethodSignature_full_name_path_size = PAL_wcslen(MethodSignature) + 1;
+ INT MethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodSignature_full_name=NULL;
MethodNamespace_full_name = (CHAR*)malloc(MethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodDCEndVerbose(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCEndVerbose(
+extern "C" BOOL EventXplatEnabledMethodDCEndVerbose(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCEndVerbose(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCEndVerbose()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCEndVerbose()){ return ERROR_SUCCESS;};
INT MethodNamespace_path_size = -1;
- INT MethodNamespace_full_name_path_size = PAL_wcslen(MethodNamespace) + 1;
+ INT MethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodNamespace_full_name=NULL;
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
INT MethodSignature_path_size = -1;
- INT MethodSignature_full_name_path_size = PAL_wcslen(MethodSignature) + 1;
+ INT MethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodSignature_full_name=NULL;
MethodNamespace_full_name = (CHAR*)malloc(MethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodDCEndVerbose_V1(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCEndVerbose_V1(
+extern "C" BOOL EventXplatEnabledMethodDCEndVerbose_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCEndVerbose_V1(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCEndVerbose_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCEndVerbose_V1()){ return ERROR_SUCCESS;};
INT MethodNamespace_path_size = -1;
- INT MethodNamespace_full_name_path_size = PAL_wcslen(MethodNamespace) + 1;
+ INT MethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodNamespace_full_name=NULL;
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
INT MethodSignature_path_size = -1;
- INT MethodSignature_full_name_path_size = PAL_wcslen(MethodSignature) + 1;
+ INT MethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodSignature_full_name=NULL;
MethodNamespace_full_name = (CHAR*)malloc(MethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledMethodDCEndVerbose_V2(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCEndVerbose_V2(
+extern "C" BOOL EventXplatEnabledMethodDCEndVerbose_V2(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCEndVerbose_V2(
const unsigned __int64 MethodID,
const unsigned __int64 ModuleID,
const unsigned __int64 MethodStartAddress,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCEndVerbose_V2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCEndVerbose_V2()){ return ERROR_SUCCESS;};
INT MethodNamespace_path_size = -1;
- INT MethodNamespace_full_name_path_size = PAL_wcslen(MethodNamespace) + 1;
+ INT MethodNamespace_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodNamespace, -1, NULL, 0, NULL, NULL );
CHAR* MethodNamespace_full_name=NULL;
INT MethodName_path_size = -1;
- INT MethodName_full_name_path_size = PAL_wcslen(MethodName) + 1;
+ INT MethodName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodName, -1, NULL, 0, NULL, NULL );
CHAR* MethodName_full_name=NULL;
INT MethodSignature_path_size = -1;
- INT MethodSignature_full_name_path_size = PAL_wcslen(MethodSignature) + 1;
+ INT MethodSignature_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, MethodSignature, -1, NULL, 0, NULL, NULL );
CHAR* MethodSignature_full_name=NULL;
MethodNamespace_full_name = (CHAR*)malloc(MethodNamespace_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledDCStartComplete(){ return TRUE;}
-extern "C" ULONG FireEtwDCStartComplete(
+extern "C" BOOL EventXplatEnabledDCStartComplete(){ return TRUE;}
+extern "C" ULONG FireEtXplatDCStartComplete(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDCStartComplete()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDCStartComplete()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntimeRundown,
return Error;
}
-extern "C" BOOL EventEnabledDCStartComplete_V1(){ return TRUE;}
-extern "C" ULONG FireEtwDCStartComplete_V1(
+extern "C" BOOL EventXplatEnabledDCStartComplete_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatDCStartComplete_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDCStartComplete_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDCStartComplete_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledDCEndComplete(){ return TRUE;}
-extern "C" ULONG FireEtwDCEndComplete(
+extern "C" BOOL EventXplatEnabledDCEndComplete(){ return TRUE;}
+extern "C" ULONG FireEtXplatDCEndComplete(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDCEndComplete()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDCEndComplete()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntimeRundown,
return Error;
}
-extern "C" BOOL EventEnabledDCEndComplete_V1(){ return TRUE;}
-extern "C" ULONG FireEtwDCEndComplete_V1(
+extern "C" BOOL EventXplatEnabledDCEndComplete_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatDCEndComplete_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDCEndComplete_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDCEndComplete_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledDCStartInit(){ return TRUE;}
-extern "C" ULONG FireEtwDCStartInit(
+extern "C" BOOL EventXplatEnabledDCStartInit(){ return TRUE;}
+extern "C" ULONG FireEtXplatDCStartInit(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDCStartInit()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDCStartInit()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntimeRundown,
return Error;
}
-extern "C" BOOL EventEnabledDCStartInit_V1(){ return TRUE;}
-extern "C" ULONG FireEtwDCStartInit_V1(
+extern "C" BOOL EventXplatEnabledDCStartInit_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatDCStartInit_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDCStartInit_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDCStartInit_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledDCEndInit(){ return TRUE;}
-extern "C" ULONG FireEtwDCEndInit(
+extern "C" BOOL EventXplatEnabledDCEndInit(){ return TRUE;}
+extern "C" ULONG FireEtXplatDCEndInit(
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDCEndInit()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDCEndInit()){ return ERROR_SUCCESS;};
tracepoint(
DotNETRuntimeRundown,
return Error;
}
-extern "C" BOOL EventEnabledDCEndInit_V1(){ return TRUE;}
-extern "C" ULONG FireEtwDCEndInit_V1(
+extern "C" BOOL EventXplatEnabledDCEndInit_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatDCEndInit_V1(
const unsigned short ClrInstanceID
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDCEndInit_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDCEndInit_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMethodDCStartILToNativeMap(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCStartILToNativeMap(
+extern "C" BOOL EventXplatEnabledMethodDCStartILToNativeMap(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCStartILToNativeMap(
const unsigned __int64 MethodID,
const unsigned __int64 ReJITID,
const unsigned char MethodExtent,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCStartILToNativeMap()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCStartILToNativeMap()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledMethodDCEndILToNativeMap(){ return TRUE;}
-extern "C" ULONG FireEtwMethodDCEndILToNativeMap(
+extern "C" BOOL EventXplatEnabledMethodDCEndILToNativeMap(){ return TRUE;}
+extern "C" ULONG FireEtXplatMethodDCEndILToNativeMap(
const unsigned __int64 MethodID,
const unsigned __int64 ReJITID,
const unsigned char MethodExtent,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledMethodDCEndILToNativeMap()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledMethodDCEndILToNativeMap()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledDomainModuleDCStart(){ return TRUE;}
-extern "C" ULONG FireEtwDomainModuleDCStart(
+extern "C" BOOL EventXplatEnabledDomainModuleDCStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatDomainModuleDCStart(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDomainModuleDCStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDomainModuleDCStart()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledDomainModuleDCStart_V1(){ return TRUE;}
-extern "C" ULONG FireEtwDomainModuleDCStart_V1(
+extern "C" BOOL EventXplatEnabledDomainModuleDCStart_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatDomainModuleDCStart_V1(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDomainModuleDCStart_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDomainModuleDCStart_V1()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledDomainModuleDCEnd(){ return TRUE;}
-extern "C" ULONG FireEtwDomainModuleDCEnd(
+extern "C" BOOL EventXplatEnabledDomainModuleDCEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatDomainModuleDCEnd(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDomainModuleDCEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDomainModuleDCEnd()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledDomainModuleDCEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwDomainModuleDCEnd_V1(
+extern "C" BOOL EventXplatEnabledDomainModuleDCEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatDomainModuleDCEnd_V1(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledDomainModuleDCEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledDomainModuleDCEnd_V1()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledModuleDCStart(){ return TRUE;}
-extern "C" ULONG FireEtwModuleDCStart(
+extern "C" BOOL EventXplatEnabledModuleDCStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleDCStart(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleDCStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleDCStart()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledModuleDCStart_V1(){ return TRUE;}
-extern "C" ULONG FireEtwModuleDCStart_V1(
+extern "C" BOOL EventXplatEnabledModuleDCStart_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleDCStart_V1(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleDCStart_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleDCStart_V1()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledModuleDCStart_V2(){ return TRUE;}
-extern "C" ULONG FireEtwModuleDCStart_V2(
+extern "C" BOOL EventXplatEnabledModuleDCStart_V2(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleDCStart_V2(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleDCStart_V2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleDCStart_V2()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
INT ManagedPdbBuildPath_path_size = -1;
- INT ManagedPdbBuildPath_full_name_path_size = PAL_wcslen(ManagedPdbBuildPath) + 1;
+ INT ManagedPdbBuildPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ManagedPdbBuildPath, -1, NULL, 0, NULL, NULL );
CHAR* ManagedPdbBuildPath_full_name=NULL;
INT NativePdbBuildPath_path_size = -1;
- INT NativePdbBuildPath_full_name_path_size = PAL_wcslen(NativePdbBuildPath) + 1;
+ INT NativePdbBuildPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, NativePdbBuildPath, -1, NULL, 0, NULL, NULL );
CHAR* NativePdbBuildPath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledModuleDCEnd(){ return TRUE;}
-extern "C" ULONG FireEtwModuleDCEnd(
+extern "C" BOOL EventXplatEnabledModuleDCEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleDCEnd(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleDCEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleDCEnd()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledModuleDCEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwModuleDCEnd_V1(
+extern "C" BOOL EventXplatEnabledModuleDCEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleDCEnd_V1(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleDCEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleDCEnd_V1()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledModuleDCEnd_V2(){ return TRUE;}
-extern "C" ULONG FireEtwModuleDCEnd_V2(
+extern "C" BOOL EventXplatEnabledModuleDCEnd_V2(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleDCEnd_V2(
const unsigned __int64 ModuleID,
const unsigned __int64 AssemblyID,
const unsigned int ModuleFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleDCEnd_V2()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleDCEnd_V2()){ return ERROR_SUCCESS;};
INT ModuleILPath_path_size = -1;
- INT ModuleILPath_full_name_path_size = PAL_wcslen(ModuleILPath) + 1;
+ INT ModuleILPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleILPath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleILPath_full_name=NULL;
INT ModuleNativePath_path_size = -1;
- INT ModuleNativePath_full_name_path_size = PAL_wcslen(ModuleNativePath) + 1;
+ INT ModuleNativePath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ModuleNativePath, -1, NULL, 0, NULL, NULL );
CHAR* ModuleNativePath_full_name=NULL;
INT ManagedPdbBuildPath_path_size = -1;
- INT ManagedPdbBuildPath_full_name_path_size = PAL_wcslen(ManagedPdbBuildPath) + 1;
+ INT ManagedPdbBuildPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, ManagedPdbBuildPath, -1, NULL, 0, NULL, NULL );
CHAR* ManagedPdbBuildPath_full_name=NULL;
INT NativePdbBuildPath_path_size = -1;
- INT NativePdbBuildPath_full_name_path_size = PAL_wcslen(NativePdbBuildPath) + 1;
+ INT NativePdbBuildPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, NativePdbBuildPath, -1, NULL, 0, NULL, NULL );
CHAR* NativePdbBuildPath_full_name=NULL;
ModuleILPath_full_name = (CHAR*)malloc(ModuleILPath_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAssemblyDCStart(){ return TRUE;}
-extern "C" ULONG FireEtwAssemblyDCStart(
+extern "C" BOOL EventXplatEnabledAssemblyDCStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatAssemblyDCStart(
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned int AssemblyFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAssemblyDCStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAssemblyDCStart()){ return ERROR_SUCCESS;};
INT FullyQualifiedAssemblyName_path_size = -1;
- INT FullyQualifiedAssemblyName_full_name_path_size = PAL_wcslen(FullyQualifiedAssemblyName) + 1;
+ INT FullyQualifiedAssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, FullyQualifiedAssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* FullyQualifiedAssemblyName_full_name=NULL;
FullyQualifiedAssemblyName_full_name = (CHAR*)malloc(FullyQualifiedAssemblyName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAssemblyDCStart_V1(){ return TRUE;}
-extern "C" ULONG FireEtwAssemblyDCStart_V1(
+extern "C" BOOL EventXplatEnabledAssemblyDCStart_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatAssemblyDCStart_V1(
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned __int64 BindingID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAssemblyDCStart_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAssemblyDCStart_V1()){ return ERROR_SUCCESS;};
INT FullyQualifiedAssemblyName_path_size = -1;
- INT FullyQualifiedAssemblyName_full_name_path_size = PAL_wcslen(FullyQualifiedAssemblyName) + 1;
+ INT FullyQualifiedAssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, FullyQualifiedAssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* FullyQualifiedAssemblyName_full_name=NULL;
FullyQualifiedAssemblyName_full_name = (CHAR*)malloc(FullyQualifiedAssemblyName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAssemblyDCEnd(){ return TRUE;}
-extern "C" ULONG FireEtwAssemblyDCEnd(
+extern "C" BOOL EventXplatEnabledAssemblyDCEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatAssemblyDCEnd(
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned int AssemblyFlags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAssemblyDCEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAssemblyDCEnd()){ return ERROR_SUCCESS;};
INT FullyQualifiedAssemblyName_path_size = -1;
- INT FullyQualifiedAssemblyName_full_name_path_size = PAL_wcslen(FullyQualifiedAssemblyName) + 1;
+ INT FullyQualifiedAssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, FullyQualifiedAssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* FullyQualifiedAssemblyName_full_name=NULL;
FullyQualifiedAssemblyName_full_name = (CHAR*)malloc(FullyQualifiedAssemblyName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAssemblyDCEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwAssemblyDCEnd_V1(
+extern "C" BOOL EventXplatEnabledAssemblyDCEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatAssemblyDCEnd_V1(
const unsigned __int64 AssemblyID,
const unsigned __int64 AppDomainID,
const unsigned __int64 BindingID,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAssemblyDCEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAssemblyDCEnd_V1()){ return ERROR_SUCCESS;};
INT FullyQualifiedAssemblyName_path_size = -1;
- INT FullyQualifiedAssemblyName_full_name_path_size = PAL_wcslen(FullyQualifiedAssemblyName) + 1;
+ INT FullyQualifiedAssemblyName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, FullyQualifiedAssemblyName, -1, NULL, 0, NULL, NULL );
CHAR* FullyQualifiedAssemblyName_full_name=NULL;
FullyQualifiedAssemblyName_full_name = (CHAR*)malloc(FullyQualifiedAssemblyName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAppDomainDCStart(){ return TRUE;}
-extern "C" ULONG FireEtwAppDomainDCStart(
+extern "C" BOOL EventXplatEnabledAppDomainDCStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatAppDomainDCStart(
const unsigned __int64 AppDomainID,
const unsigned int AppDomainFlags,
PCWSTR AppDomainName
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAppDomainDCStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAppDomainDCStart()){ return ERROR_SUCCESS;};
INT AppDomainName_path_size = -1;
- INT AppDomainName_full_name_path_size = PAL_wcslen(AppDomainName) + 1;
+ INT AppDomainName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AppDomainName, -1, NULL, 0, NULL, NULL );
CHAR* AppDomainName_full_name=NULL;
AppDomainName_full_name = (CHAR*)malloc(AppDomainName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAppDomainDCStart_V1(){ return TRUE;}
-extern "C" ULONG FireEtwAppDomainDCStart_V1(
+extern "C" BOOL EventXplatEnabledAppDomainDCStart_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatAppDomainDCStart_V1(
const unsigned __int64 AppDomainID,
const unsigned int AppDomainFlags,
PCWSTR AppDomainName,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAppDomainDCStart_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAppDomainDCStart_V1()){ return ERROR_SUCCESS;};
INT AppDomainName_path_size = -1;
- INT AppDomainName_full_name_path_size = PAL_wcslen(AppDomainName) + 1;
+ INT AppDomainName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AppDomainName, -1, NULL, 0, NULL, NULL );
CHAR* AppDomainName_full_name=NULL;
AppDomainName_full_name = (CHAR*)malloc(AppDomainName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAppDomainDCEnd(){ return TRUE;}
-extern "C" ULONG FireEtwAppDomainDCEnd(
+extern "C" BOOL EventXplatEnabledAppDomainDCEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatAppDomainDCEnd(
const unsigned __int64 AppDomainID,
const unsigned int AppDomainFlags,
PCWSTR AppDomainName
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAppDomainDCEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAppDomainDCEnd()){ return ERROR_SUCCESS;};
INT AppDomainName_path_size = -1;
- INT AppDomainName_full_name_path_size = PAL_wcslen(AppDomainName) + 1;
+ INT AppDomainName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AppDomainName, -1, NULL, 0, NULL, NULL );
CHAR* AppDomainName_full_name=NULL;
AppDomainName_full_name = (CHAR*)malloc(AppDomainName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledAppDomainDCEnd_V1(){ return TRUE;}
-extern "C" ULONG FireEtwAppDomainDCEnd_V1(
+extern "C" BOOL EventXplatEnabledAppDomainDCEnd_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatAppDomainDCEnd_V1(
const unsigned __int64 AppDomainID,
const unsigned int AppDomainFlags,
PCWSTR AppDomainName,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledAppDomainDCEnd_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledAppDomainDCEnd_V1()){ return ERROR_SUCCESS;};
INT AppDomainName_path_size = -1;
- INT AppDomainName_full_name_path_size = PAL_wcslen(AppDomainName) + 1;
+ INT AppDomainName_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, AppDomainName, -1, NULL, 0, NULL, NULL );
CHAR* AppDomainName_full_name=NULL;
AppDomainName_full_name = (CHAR*)malloc(AppDomainName_full_name_path_size*sizeof(CHAR));
return Error;
}
-extern "C" BOOL EventEnabledThreadDC(){ return TRUE;}
-extern "C" ULONG FireEtwThreadDC(
+extern "C" BOOL EventXplatEnabledThreadDC(){ return TRUE;}
+extern "C" ULONG FireEtXplatThreadDC(
const unsigned __int64 ManagedThreadID,
const unsigned __int64 AppDomainID,
const unsigned int Flags,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledThreadDC()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledThreadDC()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledModuleRangeDCStart(){ return TRUE;}
-extern "C" ULONG FireEtwModuleRangeDCStart(
+extern "C" BOOL EventXplatEnabledModuleRangeDCStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleRangeDCStart(
const unsigned short ClrInstanceID,
const unsigned __int64 ModuleID,
const unsigned int RangeBegin,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleRangeDCStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleRangeDCStart()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledModuleRangeDCEnd(){ return TRUE;}
-extern "C" ULONG FireEtwModuleRangeDCEnd(
+extern "C" BOOL EventXplatEnabledModuleRangeDCEnd(){ return TRUE;}
+extern "C" ULONG FireEtXplatModuleRangeDCEnd(
const unsigned short ClrInstanceID,
const unsigned __int64 ModuleID,
const unsigned int RangeBegin,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledModuleRangeDCEnd()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledModuleRangeDCEnd()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledRuntimeInformationDCStart(){ return TRUE;}
-extern "C" ULONG FireEtwRuntimeInformationDCStart(
+extern "C" BOOL EventXplatEnabledRuntimeInformationDCStart(){ return TRUE;}
+extern "C" ULONG FireEtXplatRuntimeInformationDCStart(
const unsigned short ClrInstanceID,
const unsigned short Sku,
const unsigned short BclMajorVersion,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledRuntimeInformationDCStart()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledRuntimeInformationDCStart()){ return ERROR_SUCCESS;};
INT CommandLine_path_size = -1;
- INT CommandLine_full_name_path_size = PAL_wcslen(CommandLine) + 1;
+ INT CommandLine_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, CommandLine, -1, NULL, 0, NULL, NULL );
CHAR* CommandLine_full_name=NULL;
INT RuntimeDllPath_path_size = -1;
- INT RuntimeDllPath_full_name_path_size = PAL_wcslen(RuntimeDllPath) + 1;
+ INT RuntimeDllPath_full_name_path_size = WideCharToMultiByte( CP_ACP, 0, RuntimeDllPath, -1, NULL, 0, NULL, NULL );
CHAR* RuntimeDllPath_full_name=NULL;
CommandLine_full_name = (CHAR*)malloc(CommandLine_full_name_path_size*sizeof(CHAR));
#define TRACEPOINT_DEFINE
#define TRACEPOINT_PROBE_DYNAMIC_LINKAGE
#include "lttng/tpdotnetruntimestress.h"
-extern "C" BOOL EventEnabledStressLogEvent(){ return TRUE;}
-extern "C" ULONG FireEtwStressLogEvent(
+extern "C" BOOL EventXplatEnabledStressLogEvent(){ return TRUE;}
+extern "C" ULONG FireEtXplatStressLogEvent(
const unsigned int Facility,
const unsigned char LogLevel,
LPCSTR Message
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledStressLogEvent()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledStressLogEvent()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledStressLogEvent_V1(){ return TRUE;}
-extern "C" ULONG FireEtwStressLogEvent_V1(
+extern "C" BOOL EventXplatEnabledStressLogEvent_V1(){ return TRUE;}
+extern "C" ULONG FireEtXplatStressLogEvent_V1(
const unsigned int Facility,
const unsigned char LogLevel,
LPCSTR Message,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledStressLogEvent_V1()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledStressLogEvent_V1()){ return ERROR_SUCCESS;};
tracepoint(
return Error;
}
-extern "C" BOOL EventEnabledCLRStackWalkStress(){ return TRUE;}
-extern "C" ULONG FireEtwCLRStackWalkStress(
+extern "C" BOOL EventXplatEnabledCLRStackWalkStress(){ return TRUE;}
+extern "C" ULONG FireEtXplatCLRStackWalkStress(
const unsigned short ClrInstanceID,
const unsigned char Reserved1,
const unsigned char Reserved2,
)
{
ULONG Error = ERROR_WRITE_FAULT;
- if (!EventEnabledCLRStackWalkStress()){ return ERROR_SUCCESS;};
+ if (!EventXplatEnabledCLRStackWalkStress()){ return ERROR_SUCCESS;};
tracepoint(
**
**===================================================================*/
#include <palsuite.h>
-#include <clrallevents.h>
+#include <clrxplatevents.h>
typedef struct _Struct1 {
ULONG Data1;
#if defined(FEATURE_EVENT_TRACE)
Trace("\n Starting functional eventing APIs tests \n");
- EventEnabledGCStart();
-Error |= FireEtwGCStart(
+ EventXplatEnabledGCStart();
+Error |= FireEtXplatGCStart(
2,
win_UInt32
);
- EventEnabledGCStart_V1();
-Error |= FireEtwGCStart_V1(
+ EventXplatEnabledGCStart_V1();
+Error |= FireEtXplatGCStart_V1(
2,
win_UInt32,
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledGCStart_V2();
-Error |= FireEtwGCStart_V2(
+ EventXplatEnabledGCStart_V2();
+Error |= FireEtXplatGCStart_V2(
2,
win_UInt32,
win_UInt32,
win_UInt16,
win_UInt64
);
- EventEnabledGCEnd();
-Error |= FireEtwGCEnd(
+ EventXplatEnabledGCEnd();
+Error |= FireEtXplatGCEnd(
2,
win_UInt16
);
- EventEnabledGCEnd_V1();
-Error |= FireEtwGCEnd_V1(
+ EventXplatEnabledGCEnd_V1();
+Error |= FireEtXplatGCEnd_V1(
2,
win_UInt32,
win_UInt16
);
- EventEnabledGCRestartEEEnd();
-Error |= FireEtwGCRestartEEEnd(
+ EventXplatEnabledGCRestartEEEnd();
+Error |= FireEtXplatGCRestartEEEnd(
);
- EventEnabledGCRestartEEEnd_V1();
-Error |= FireEtwGCRestartEEEnd_V1(
+ EventXplatEnabledGCRestartEEEnd_V1();
+Error |= FireEtXplatGCRestartEEEnd_V1(
win_UInt16
);
- EventEnabledGCHeapStats();
-Error |= FireEtwGCHeapStats(
+ EventXplatEnabledGCHeapStats();
+Error |= FireEtXplatGCHeapStats(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt32
);
- EventEnabledGCHeapStats_V1();
-Error |= FireEtwGCHeapStats_V1(
+ EventXplatEnabledGCHeapStats_V1();
+Error |= FireEtXplatGCHeapStats_V1(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt16
);
- EventEnabledGCCreateSegment();
-Error |= FireEtwGCCreateSegment(
+ EventXplatEnabledGCCreateSegment();
+Error |= FireEtXplatGCCreateSegment(
win_UInt64,
win_UInt64,
win_UInt32
);
- EventEnabledGCCreateSegment_V1();
-Error |= FireEtwGCCreateSegment_V1(
+ EventXplatEnabledGCCreateSegment_V1();
+Error |= FireEtXplatGCCreateSegment_V1(
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt16
);
- EventEnabledGCFreeSegment();
-Error |= FireEtwGCFreeSegment(
+ EventXplatEnabledGCFreeSegment();
+Error |= FireEtXplatGCFreeSegment(
win_UInt64
);
- EventEnabledGCFreeSegment_V1();
-Error |= FireEtwGCFreeSegment_V1(
+ EventXplatEnabledGCFreeSegment_V1();
+Error |= FireEtXplatGCFreeSegment_V1(
win_UInt64,
win_UInt16
);
- EventEnabledGCRestartEEBegin();
-Error |= FireEtwGCRestartEEBegin(
+ EventXplatEnabledGCRestartEEBegin();
+Error |= FireEtXplatGCRestartEEBegin(
);
- EventEnabledGCRestartEEBegin_V1();
-Error |= FireEtwGCRestartEEBegin_V1(
+ EventXplatEnabledGCRestartEEBegin_V1();
+Error |= FireEtXplatGCRestartEEBegin_V1(
win_UInt16
);
- EventEnabledGCSuspendEEEnd();
-Error |= FireEtwGCSuspendEEEnd(
+ EventXplatEnabledGCSuspendEEEnd();
+Error |= FireEtXplatGCSuspendEEEnd(
);
- EventEnabledGCSuspendEEEnd_V1();
-Error |= FireEtwGCSuspendEEEnd_V1(
+ EventXplatEnabledGCSuspendEEEnd_V1();
+Error |= FireEtXplatGCSuspendEEEnd_V1(
win_UInt16
);
- EventEnabledGCSuspendEEBegin();
-Error |= FireEtwGCSuspendEEBegin(
+ EventXplatEnabledGCSuspendEEBegin();
+Error |= FireEtXplatGCSuspendEEBegin(
win_UInt16
);
- EventEnabledGCSuspendEEBegin_V1();
-Error |= FireEtwGCSuspendEEBegin_V1(
+ EventXplatEnabledGCSuspendEEBegin_V1();
+Error |= FireEtXplatGCSuspendEEBegin_V1(
win_UInt32,
2,
win_UInt16
);
- EventEnabledGCAllocationTick();
-Error |= FireEtwGCAllocationTick(
+ EventXplatEnabledGCAllocationTick();
+Error |= FireEtXplatGCAllocationTick(
win_UInt32,
win_UInt32
);
- EventEnabledGCAllocationTick_V1();
-Error |= FireEtwGCAllocationTick_V1(
+ EventXplatEnabledGCAllocationTick_V1();
+Error |= FireEtXplatGCAllocationTick_V1(
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledGCAllocationTick_V2();
-Error |= FireEtwGCAllocationTick_V2(
+ EventXplatEnabledGCAllocationTick_V2();
+Error |= FireEtXplatGCAllocationTick_V2(
win_UInt32,
win_UInt32,
win_UInt16,
W(" Testing UnicodeString "),
win_UInt32
);
- EventEnabledGCAllocationTick_V3();
-Error |= FireEtwGCAllocationTick_V3(
+ EventXplatEnabledGCAllocationTick_V3();
+Error |= FireEtXplatGCAllocationTick_V3(
win_UInt32,
win_UInt32,
win_UInt16,
win_UInt32,
(const void*)var11
);
- EventEnabledGCCreateConcurrentThread();
-Error |= FireEtwGCCreateConcurrentThread(
+ EventXplatEnabledGCCreateConcurrentThread();
+Error |= FireEtXplatGCCreateConcurrentThread(
);
- EventEnabledGCCreateConcurrentThread_V1();
-Error |= FireEtwGCCreateConcurrentThread_V1(
+ EventXplatEnabledGCCreateConcurrentThread_V1();
+Error |= FireEtXplatGCCreateConcurrentThread_V1(
win_UInt16
);
- EventEnabledGCTerminateConcurrentThread();
-Error |= FireEtwGCTerminateConcurrentThread(
+ EventXplatEnabledGCTerminateConcurrentThread();
+Error |= FireEtXplatGCTerminateConcurrentThread(
);
- EventEnabledGCTerminateConcurrentThread_V1();
-Error |= FireEtwGCTerminateConcurrentThread_V1(
+ EventXplatEnabledGCTerminateConcurrentThread_V1();
+Error |= FireEtXplatGCTerminateConcurrentThread_V1(
win_UInt16
);
- EventEnabledGCFinalizersEnd();
-Error |= FireEtwGCFinalizersEnd(
+ EventXplatEnabledGCFinalizersEnd();
+Error |= FireEtXplatGCFinalizersEnd(
2
);
- EventEnabledGCFinalizersEnd_V1();
-Error |= FireEtwGCFinalizersEnd_V1(
+ EventXplatEnabledGCFinalizersEnd_V1();
+Error |= FireEtXplatGCFinalizersEnd_V1(
2,
win_UInt16
);
- EventEnabledGCFinalizersBegin();
-Error |= FireEtwGCFinalizersBegin(
+ EventXplatEnabledGCFinalizersBegin();
+Error |= FireEtXplatGCFinalizersBegin(
);
- EventEnabledGCFinalizersBegin_V1();
-Error |= FireEtwGCFinalizersBegin_V1(
+ EventXplatEnabledGCFinalizersBegin_V1();
+Error |= FireEtXplatGCFinalizersBegin_V1(
win_UInt16
);
- EventEnabledBulkType();
-Error |= FireEtwBulkType(
+ EventXplatEnabledBulkType();
+Error |= FireEtXplatBulkType(
2,
win_UInt16,
win_ULong,
&win_Struct
);
- EventEnabledGCBulkRootEdge();
-Error |= FireEtwGCBulkRootEdge(
+ EventXplatEnabledGCBulkRootEdge();
+Error |= FireEtXplatGCBulkRootEdge(
win_UInt32,
2,
win_UInt16,
win_ULong,
&win_Struct
);
- EventEnabledGCBulkRootConditionalWeakTableElementEdge();
-Error |= FireEtwGCBulkRootConditionalWeakTableElementEdge(
+ EventXplatEnabledGCBulkRootConditionalWeakTableElementEdge();
+Error |= FireEtXplatGCBulkRootConditionalWeakTableElementEdge(
win_UInt32,
2,
win_UInt16,
win_ULong,
&win_Struct
);
- EventEnabledGCBulkNode();
-Error |= FireEtwGCBulkNode(
+ EventXplatEnabledGCBulkNode();
+Error |= FireEtXplatGCBulkNode(
win_UInt32,
2,
win_UInt16,
win_ULong,
&win_Struct
);
- EventEnabledGCBulkEdge();
-Error |= FireEtwGCBulkEdge(
+ EventXplatEnabledGCBulkEdge();
+Error |= FireEtXplatGCBulkEdge(
win_UInt32,
2,
win_UInt16,
win_ULong,
&win_Struct
);
- EventEnabledGCSampledObjectAllocationHigh();
-Error |= FireEtwGCSampledObjectAllocationHigh(
+ EventXplatEnabledGCSampledObjectAllocationHigh();
+Error |= FireEtXplatGCSampledObjectAllocationHigh(
(const void*)var11,
(const void*)var11,
win_UInt32,
win_UInt64,
win_UInt16
);
- EventEnabledGCBulkSurvivingObjectRanges();
-Error |= FireEtwGCBulkSurvivingObjectRanges(
+ EventXplatEnabledGCBulkSurvivingObjectRanges();
+Error |= FireEtXplatGCBulkSurvivingObjectRanges(
win_UInt32,
2,
win_UInt16,
win_ULong,
&win_Struct
);
- EventEnabledGCBulkMovedObjectRanges();
-Error |= FireEtwGCBulkMovedObjectRanges(
+ EventXplatEnabledGCBulkMovedObjectRanges();
+Error |= FireEtXplatGCBulkMovedObjectRanges(
win_UInt32,
2,
win_UInt16,
win_ULong,
&win_Struct
);
- EventEnabledGCGenerationRange();
-Error |= FireEtwGCGenerationRange(
+ EventXplatEnabledGCGenerationRange();
+Error |= FireEtXplatGCGenerationRange(
win_UInt8,
(const void*)var11,
win_UInt64,
win_UInt64,
win_UInt16
);
- EventEnabledGCMarkStackRoots();
-Error |= FireEtwGCMarkStackRoots(
+ EventXplatEnabledGCMarkStackRoots();
+Error |= FireEtXplatGCMarkStackRoots(
win_UInt32,
win_UInt16
);
- EventEnabledGCMarkFinalizeQueueRoots();
-Error |= FireEtwGCMarkFinalizeQueueRoots(
+ EventXplatEnabledGCMarkFinalizeQueueRoots();
+Error |= FireEtXplatGCMarkFinalizeQueueRoots(
win_UInt32,
win_UInt16
);
- EventEnabledGCMarkHandles();
-Error |= FireEtwGCMarkHandles(
+ EventXplatEnabledGCMarkHandles();
+Error |= FireEtXplatGCMarkHandles(
win_UInt32,
win_UInt16
);
- EventEnabledGCMarkOlderGenerationRoots();
-Error |= FireEtwGCMarkOlderGenerationRoots(
+ EventXplatEnabledGCMarkOlderGenerationRoots();
+Error |= FireEtXplatGCMarkOlderGenerationRoots(
win_UInt32,
win_UInt16
);
- EventEnabledFinalizeObject();
-Error |= FireEtwFinalizeObject(
+ EventXplatEnabledFinalizeObject();
+Error |= FireEtXplatFinalizeObject(
(const void*)var11,
(const void*)var11,
win_UInt16
);
- EventEnabledSetGCHandle();
-Error |= FireEtwSetGCHandle(
+ EventXplatEnabledSetGCHandle();
+Error |= FireEtXplatSetGCHandle(
(const void*)var11,
(const void*)var11,
win_UInt32,
win_UInt64,
win_UInt16
);
- EventEnabledDestroyGCHandle();
-Error |= FireEtwDestroyGCHandle(
+ EventXplatEnabledDestroyGCHandle();
+Error |= FireEtXplatDestroyGCHandle(
(const void*)var11,
win_UInt16
);
- EventEnabledGCSampledObjectAllocationLow();
-Error |= FireEtwGCSampledObjectAllocationLow(
+ EventXplatEnabledGCSampledObjectAllocationLow();
+Error |= FireEtXplatGCSampledObjectAllocationLow(
(const void*)var11,
(const void*)var11,
win_UInt32,
win_UInt64,
win_UInt16
);
- EventEnabledPinObjectAtGCTime();
-Error |= FireEtwPinObjectAtGCTime(
+ EventXplatEnabledPinObjectAtGCTime();
+Error |= FireEtXplatPinObjectAtGCTime(
(const void*)var11,
(const void*)var11,
win_UInt64,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledGCTriggered();
-Error |= FireEtwGCTriggered(
+ EventXplatEnabledGCTriggered();
+Error |= FireEtXplatGCTriggered(
win_UInt32,
win_UInt16
);
- EventEnabledGCBulkRootCCW();
-Error |= FireEtwGCBulkRootCCW(
+ EventXplatEnabledGCBulkRootCCW();
+Error |= FireEtXplatGCBulkRootCCW(
2,
win_UInt16,
win_ULong,
&win_Struct
);
- EventEnabledGCBulkRCW();
-Error |= FireEtwGCBulkRCW(
+ EventXplatEnabledGCBulkRCW();
+Error |= FireEtXplatGCBulkRCW(
2,
win_UInt16,
win_ULong,
&win_Struct
);
- EventEnabledGCBulkRootStaticVar();
-Error |= FireEtwGCBulkRootStaticVar(
+ EventXplatEnabledGCBulkRootStaticVar();
+Error |= FireEtXplatGCBulkRootStaticVar(
2,
win_UInt64,
win_UInt16,
win_ULong,
&win_Struct
);
- EventEnabledWorkerThreadCreate();
-Error |= FireEtwWorkerThreadCreate(
+ EventXplatEnabledWorkerThreadCreate();
+Error |= FireEtXplatWorkerThreadCreate(
win_UInt32,
win_UInt32
);
- EventEnabledWorkerThreadTerminate();
-Error |= FireEtwWorkerThreadTerminate(
+ EventXplatEnabledWorkerThreadTerminate();
+Error |= FireEtXplatWorkerThreadTerminate(
win_UInt32,
win_UInt32
);
- EventEnabledWorkerThreadRetire();
-Error |= FireEtwWorkerThreadRetire(
+ EventXplatEnabledWorkerThreadRetire();
+Error |= FireEtXplatWorkerThreadRetire(
win_UInt32,
win_UInt32
);
- EventEnabledWorkerThreadUnretire();
-Error |= FireEtwWorkerThreadUnretire(
+ EventXplatEnabledWorkerThreadUnretire();
+Error |= FireEtXplatWorkerThreadUnretire(
win_UInt32,
win_UInt32
);
- EventEnabledIOThreadCreate();
-Error |= FireEtwIOThreadCreate(
+ EventXplatEnabledIOThreadCreate();
+Error |= FireEtXplatIOThreadCreate(
win_UInt32,
win_UInt32
);
- EventEnabledIOThreadCreate_V1();
-Error |= FireEtwIOThreadCreate_V1(
+ EventXplatEnabledIOThreadCreate_V1();
+Error |= FireEtXplatIOThreadCreate_V1(
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledIOThreadTerminate();
-Error |= FireEtwIOThreadTerminate(
+ EventXplatEnabledIOThreadTerminate();
+Error |= FireEtXplatIOThreadTerminate(
win_UInt32,
win_UInt32
);
- EventEnabledIOThreadTerminate_V1();
-Error |= FireEtwIOThreadTerminate_V1(
+ EventXplatEnabledIOThreadTerminate_V1();
+Error |= FireEtXplatIOThreadTerminate_V1(
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledIOThreadRetire();
-Error |= FireEtwIOThreadRetire(
+ EventXplatEnabledIOThreadRetire();
+Error |= FireEtXplatIOThreadRetire(
win_UInt32,
win_UInt32
);
- EventEnabledIOThreadRetire_V1();
-Error |= FireEtwIOThreadRetire_V1(
+ EventXplatEnabledIOThreadRetire_V1();
+Error |= FireEtXplatIOThreadRetire_V1(
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledIOThreadUnretire();
-Error |= FireEtwIOThreadUnretire(
+ EventXplatEnabledIOThreadUnretire();
+Error |= FireEtXplatIOThreadUnretire(
win_UInt32,
win_UInt32
);
- EventEnabledIOThreadUnretire_V1();
-Error |= FireEtwIOThreadUnretire_V1(
+ EventXplatEnabledIOThreadUnretire_V1();
+Error |= FireEtXplatIOThreadUnretire_V1(
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledThreadpoolSuspensionSuspendThread();
-Error |= FireEtwThreadpoolSuspensionSuspendThread(
+ EventXplatEnabledThreadpoolSuspensionSuspendThread();
+Error |= FireEtXplatThreadpoolSuspensionSuspendThread(
win_UInt32,
win_UInt32
);
- EventEnabledThreadpoolSuspensionResumeThread();
-Error |= FireEtwThreadpoolSuspensionResumeThread(
+ EventXplatEnabledThreadpoolSuspensionResumeThread();
+Error |= FireEtXplatThreadpoolSuspensionResumeThread(
win_UInt32,
win_UInt32
);
- EventEnabledThreadPoolWorkerThreadStart();
-Error |= FireEtwThreadPoolWorkerThreadStart(
+ EventXplatEnabledThreadPoolWorkerThreadStart();
+Error |= FireEtXplatThreadPoolWorkerThreadStart(
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledThreadPoolWorkerThreadStop();
-Error |= FireEtwThreadPoolWorkerThreadStop(
+ EventXplatEnabledThreadPoolWorkerThreadStop();
+Error |= FireEtXplatThreadPoolWorkerThreadStop(
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledThreadPoolWorkerThreadRetirementStart();
-Error |= FireEtwThreadPoolWorkerThreadRetirementStart(
+ EventXplatEnabledThreadPoolWorkerThreadRetirementStart();
+Error |= FireEtXplatThreadPoolWorkerThreadRetirementStart(
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledThreadPoolWorkerThreadRetirementStop();
-Error |= FireEtwThreadPoolWorkerThreadRetirementStop(
+ EventXplatEnabledThreadPoolWorkerThreadRetirementStop();
+Error |= FireEtXplatThreadPoolWorkerThreadRetirementStop(
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledThreadPoolWorkerThreadAdjustmentSample();
-Error |= FireEtwThreadPoolWorkerThreadAdjustmentSample(
+ EventXplatEnabledThreadPoolWorkerThreadAdjustmentSample();
+Error |= FireEtXplatThreadPoolWorkerThreadAdjustmentSample(
win_Double,
win_UInt16
);
- EventEnabledThreadPoolWorkerThreadAdjustmentAdjustment();
-Error |= FireEtwThreadPoolWorkerThreadAdjustmentAdjustment(
+ EventXplatEnabledThreadPoolWorkerThreadAdjustmentAdjustment();
+Error |= FireEtXplatThreadPoolWorkerThreadAdjustmentAdjustment(
win_Double,
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledThreadPoolWorkerThreadAdjustmentStats();
-Error |= FireEtwThreadPoolWorkerThreadAdjustmentStats(
+ EventXplatEnabledThreadPoolWorkerThreadAdjustmentStats();
+Error |= FireEtXplatThreadPoolWorkerThreadAdjustmentStats(
win_Double,
win_Double,
win_Double,
win_UInt16,
win_UInt16
);
- EventEnabledThreadPoolWorkerThreadWait();
-Error |= FireEtwThreadPoolWorkerThreadWait(
+ EventXplatEnabledThreadPoolWorkerThreadWait();
+Error |= FireEtXplatThreadPoolWorkerThreadWait(
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledThreadPoolWorkingThreadCount();
-Error |= FireEtwThreadPoolWorkingThreadCount(
+ EventXplatEnabledThreadPoolWorkingThreadCount();
+Error |= FireEtXplatThreadPoolWorkingThreadCount(
2,
win_UInt16
);
- EventEnabledThreadPoolEnqueue();
-Error |= FireEtwThreadPoolEnqueue(
+ EventXplatEnabledThreadPoolEnqueue();
+Error |= FireEtXplatThreadPoolEnqueue(
(const void*)var11,
win_UInt16
);
- EventEnabledThreadPoolDequeue();
-Error |= FireEtwThreadPoolDequeue(
+ EventXplatEnabledThreadPoolDequeue();
+Error |= FireEtXplatThreadPoolDequeue(
(const void*)var11,
win_UInt16
);
- EventEnabledThreadPoolIOEnqueue();
-Error |= FireEtwThreadPoolIOEnqueue(
+ EventXplatEnabledThreadPoolIOEnqueue();
+Error |= FireEtXplatThreadPoolIOEnqueue(
(const void*)var11,
(const void*)var11,
win_Boolean,
win_UInt16
);
- EventEnabledThreadPoolIODequeue();
-Error |= FireEtwThreadPoolIODequeue(
+ EventXplatEnabledThreadPoolIODequeue();
+Error |= FireEtXplatThreadPoolIODequeue(
(const void*)var11,
(const void*)var11,
win_UInt16
);
- EventEnabledThreadPoolIOPack();
-Error |= FireEtwThreadPoolIOPack(
+ EventXplatEnabledThreadPoolIOPack();
+Error |= FireEtXplatThreadPoolIOPack(
(const void*)var11,
(const void*)var11,
win_UInt16
);
- EventEnabledThreadCreating();
-Error |= FireEtwThreadCreating(
+ EventXplatEnabledThreadCreating();
+Error |= FireEtXplatThreadCreating(
(const void*)var11,
win_UInt16
);
- EventEnabledThreadRunning();
-Error |= FireEtwThreadRunning(
+ EventXplatEnabledThreadRunning();
+Error |= FireEtXplatThreadRunning(
(const void*)var11,
win_UInt16
);
- EventEnabledExceptionThrown();
-Error |= FireEtwExceptionThrown(
+ EventXplatEnabledExceptionThrown();
+Error |= FireEtXplatExceptionThrown(
);
- EventEnabledExceptionThrown_V1();
-Error |= FireEtwExceptionThrown_V1(
+ EventXplatEnabledExceptionThrown_V1();
+Error |= FireEtXplatExceptionThrown_V1(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
(const void*)var11,
win_UInt16,
win_UInt16
);
- EventEnabledExceptionCatchStart();
-Error |= FireEtwExceptionCatchStart(
+ EventXplatEnabledExceptionCatchStart();
+Error |= FireEtXplatExceptionCatchStart(
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledExceptionCatchStop();
-Error |= FireEtwExceptionCatchStop(
+ EventXplatEnabledExceptionCatchStop();
+Error |= FireEtXplatExceptionCatchStop(
);
- EventEnabledExceptionFinallyStart();
-Error |= FireEtwExceptionFinallyStart(
+ EventXplatEnabledExceptionFinallyStart();
+Error |= FireEtXplatExceptionFinallyStart(
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledExceptionFinallyStop();
-Error |= FireEtwExceptionFinallyStop(
+ EventXplatEnabledExceptionFinallyStop();
+Error |= FireEtXplatExceptionFinallyStop(
);
- EventEnabledExceptionFilterStart();
-Error |= FireEtwExceptionFilterStart(
+ EventXplatEnabledExceptionFilterStart();
+Error |= FireEtXplatExceptionFilterStart(
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledExceptionFilterStop();
-Error |= FireEtwExceptionFilterStop(
+ EventXplatEnabledExceptionFilterStop();
+Error |= FireEtXplatExceptionFilterStop(
);
- EventEnabledExceptionThrownStop();
-Error |= FireEtwExceptionThrownStop(
+ EventXplatEnabledExceptionThrownStop();
+Error |= FireEtXplatExceptionThrownStop(
);
- EventEnabledContention();
-Error |= FireEtwContention(
+ EventXplatEnabledContention();
+Error |= FireEtXplatContention(
);
- EventEnabledContentionStart_V1();
-Error |= FireEtwContentionStart_V1(
+ EventXplatEnabledContentionStart_V1();
+Error |= FireEtXplatContentionStart_V1(
win_UInt8,
win_UInt16
);
- EventEnabledContentionStop();
-Error |= FireEtwContentionStop(
+ EventXplatEnabledContentionStop();
+Error |= FireEtXplatContentionStop(
win_UInt8,
win_UInt16
);
- EventEnabledCLRStackWalk();
-Error |= FireEtwCLRStackWalk(
+ EventXplatEnabledCLRStackWalk();
+Error |= FireEtXplatCLRStackWalk(
win_UInt16,
win_UInt8,
win_UInt8,
win_UInt32,
(const void**)&var11
);
- EventEnabledAppDomainMemAllocated();
-Error |= FireEtwAppDomainMemAllocated(
+ EventXplatEnabledAppDomainMemAllocated();
+Error |= FireEtXplatAppDomainMemAllocated(
win_UInt64,
win_UInt64,
win_UInt16
);
- EventEnabledAppDomainMemSurvived();
-Error |= FireEtwAppDomainMemSurvived(
+ EventXplatEnabledAppDomainMemSurvived();
+Error |= FireEtXplatAppDomainMemSurvived(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt16
);
- EventEnabledThreadCreated();
-Error |= FireEtwThreadCreated(
+ EventXplatEnabledThreadCreated();
+Error |= FireEtXplatThreadCreated(
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledThreadTerminated();
-Error |= FireEtwThreadTerminated(
+ EventXplatEnabledThreadTerminated();
+Error |= FireEtXplatThreadTerminated(
win_UInt64,
win_UInt64,
win_UInt16
);
- EventEnabledThreadDomainEnter();
-Error |= FireEtwThreadDomainEnter(
+ EventXplatEnabledThreadDomainEnter();
+Error |= FireEtXplatThreadDomainEnter(
win_UInt64,
win_UInt64,
win_UInt16
);
- EventEnabledILStubGenerated();
-Error |= FireEtwILStubGenerated(
+ EventXplatEnabledILStubGenerated();
+Error |= FireEtXplatILStubGenerated(
win_UInt16,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledILStubCacheHit();
-Error |= FireEtwILStubCacheHit(
+ EventXplatEnabledILStubCacheHit();
+Error |= FireEtXplatILStubCacheHit(
win_UInt16,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledDCStartCompleteV2();
-Error |= FireEtwDCStartCompleteV2(
+ EventXplatEnabledDCStartCompleteV2();
+Error |= FireEtXplatDCStartCompleteV2(
);
- EventEnabledDCEndCompleteV2();
-Error |= FireEtwDCEndCompleteV2(
+ EventXplatEnabledDCEndCompleteV2();
+Error |= FireEtXplatDCEndCompleteV2(
);
- EventEnabledMethodDCStartV2();
-Error |= FireEtwMethodDCStartV2(
+ EventXplatEnabledMethodDCStartV2();
+Error |= FireEtXplatMethodDCStartV2(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt32
);
- EventEnabledMethodDCEndV2();
-Error |= FireEtwMethodDCEndV2(
+ EventXplatEnabledMethodDCEndV2();
+Error |= FireEtXplatMethodDCEndV2(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt32
);
- EventEnabledMethodDCStartVerboseV2();
-Error |= FireEtwMethodDCStartVerboseV2(
+ EventXplatEnabledMethodDCStartVerboseV2();
+Error |= FireEtXplatMethodDCStartVerboseV2(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledMethodDCEndVerboseV2();
-Error |= FireEtwMethodDCEndVerboseV2(
+ EventXplatEnabledMethodDCEndVerboseV2();
+Error |= FireEtXplatMethodDCEndVerboseV2(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledMethodLoad();
-Error |= FireEtwMethodLoad(
+ EventXplatEnabledMethodLoad();
+Error |= FireEtXplatMethodLoad(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt32
);
- EventEnabledMethodLoad_V1();
-Error |= FireEtwMethodLoad_V1(
+ EventXplatEnabledMethodLoad_V1();
+Error |= FireEtXplatMethodLoad_V1(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt16
);
- EventEnabledMethodLoad_V2();
-Error |= FireEtwMethodLoad_V2(
+ EventXplatEnabledMethodLoad_V2();
+Error |= FireEtXplatMethodLoad_V2(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt16,
win_UInt64
);
- EventEnabledMethodUnload();
-Error |= FireEtwMethodUnload(
+ EventXplatEnabledMethodUnload();
+Error |= FireEtXplatMethodUnload(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt32
);
- EventEnabledMethodUnload_V1();
-Error |= FireEtwMethodUnload_V1(
+ EventXplatEnabledMethodUnload_V1();
+Error |= FireEtXplatMethodUnload_V1(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt16
);
- EventEnabledMethodUnload_V2();
-Error |= FireEtwMethodUnload_V2(
+ EventXplatEnabledMethodUnload_V2();
+Error |= FireEtXplatMethodUnload_V2(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt16,
win_UInt64
);
- EventEnabledMethodLoadVerbose();
-Error |= FireEtwMethodLoadVerbose(
+ EventXplatEnabledMethodLoadVerbose();
+Error |= FireEtXplatMethodLoadVerbose(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledMethodLoadVerbose_V1();
-Error |= FireEtwMethodLoadVerbose_V1(
+ EventXplatEnabledMethodLoadVerbose_V1();
+Error |= FireEtXplatMethodLoadVerbose_V1(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledMethodLoadVerbose_V2();
-Error |= FireEtwMethodLoadVerbose_V2(
+ EventXplatEnabledMethodLoadVerbose_V2();
+Error |= FireEtXplatMethodLoadVerbose_V2(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt16,
win_UInt64
);
- EventEnabledMethodUnloadVerbose();
-Error |= FireEtwMethodUnloadVerbose(
+ EventXplatEnabledMethodUnloadVerbose();
+Error |= FireEtXplatMethodUnloadVerbose(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledMethodUnloadVerbose_V1();
-Error |= FireEtwMethodUnloadVerbose_V1(
+ EventXplatEnabledMethodUnloadVerbose_V1();
+Error |= FireEtXplatMethodUnloadVerbose_V1(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledMethodUnloadVerbose_V2();
-Error |= FireEtwMethodUnloadVerbose_V2(
+ EventXplatEnabledMethodUnloadVerbose_V2();
+Error |= FireEtXplatMethodUnloadVerbose_V2(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt16,
win_UInt64
);
- EventEnabledMethodJittingStarted();
-Error |= FireEtwMethodJittingStarted(
+ EventXplatEnabledMethodJittingStarted();
+Error |= FireEtXplatMethodJittingStarted(
win_UInt64,
win_UInt64,
win_UInt32,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledMethodJittingStarted_V1();
-Error |= FireEtwMethodJittingStarted_V1(
+ EventXplatEnabledMethodJittingStarted_V1();
+Error |= FireEtXplatMethodJittingStarted_V1(
win_UInt64,
win_UInt64,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledMethodJitInliningSucceeded();
-Error |= FireEtwMethodJitInliningSucceeded(
+ EventXplatEnabledMethodJitInliningSucceeded();
+Error |= FireEtXplatMethodJitInliningSucceeded(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledMethodJitInliningFailed();
-Error |= FireEtwMethodJitInliningFailed(
+ EventXplatEnabledMethodJitInliningFailed();
+Error |= FireEtXplatMethodJitInliningFailed(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
" Testing AniString ",
win_UInt16
);
- EventEnabledMethodJitTailCallSucceeded();
-Error |= FireEtwMethodJitTailCallSucceeded(
+ EventXplatEnabledMethodJitTailCallSucceeded();
+Error |= FireEtXplatMethodJitTailCallSucceeded(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
win_UInt32,
win_UInt16
);
- EventEnabledMethodJitTailCallFailed();
-Error |= FireEtwMethodJitTailCallFailed(
+ EventXplatEnabledMethodJitTailCallFailed();
+Error |= FireEtXplatMethodJitTailCallFailed(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
" Testing AniString ",
win_UInt16
);
- EventEnabledMethodILToNativeMap();
-Error |= FireEtwMethodILToNativeMap(
+ EventXplatEnabledMethodILToNativeMap();
+Error |= FireEtXplatMethodILToNativeMap(
win_UInt64,
win_UInt64,
win_UInt8,
&win_UInt32,
win_UInt16
);
- EventEnabledModuleDCStartV2();
-Error |= FireEtwModuleDCStartV2(
+ EventXplatEnabledModuleDCStartV2();
+Error |= FireEtXplatModuleDCStartV2(
win_UInt64,
win_UInt64,
win_UInt32,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledModuleDCEndV2();
-Error |= FireEtwModuleDCEndV2(
+ EventXplatEnabledModuleDCEndV2();
+Error |= FireEtXplatModuleDCEndV2(
win_UInt64,
win_UInt64,
win_UInt32,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledDomainModuleLoad();
-Error |= FireEtwDomainModuleLoad(
+ EventXplatEnabledDomainModuleLoad();
+Error |= FireEtXplatDomainModuleLoad(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledDomainModuleLoad_V1();
-Error |= FireEtwDomainModuleLoad_V1(
+ EventXplatEnabledDomainModuleLoad_V1();
+Error |= FireEtXplatDomainModuleLoad_V1(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledModuleLoad();
-Error |= FireEtwModuleLoad(
+ EventXplatEnabledModuleLoad();
+Error |= FireEtXplatModuleLoad(
win_UInt64,
win_UInt64,
win_UInt32,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledModuleLoad_V1();
-Error |= FireEtwModuleLoad_V1(
+ EventXplatEnabledModuleLoad_V1();
+Error |= FireEtXplatModuleLoad_V1(
win_UInt64,
win_UInt64,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledModuleLoad_V2();
-Error |= FireEtwModuleLoad_V2(
+ EventXplatEnabledModuleLoad_V2();
+Error |= FireEtXplatModuleLoad_V2(
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString ")
);
- EventEnabledModuleUnload();
-Error |= FireEtwModuleUnload(
+ EventXplatEnabledModuleUnload();
+Error |= FireEtXplatModuleUnload(
win_UInt64,
win_UInt64,
win_UInt32,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledModuleUnload_V1();
-Error |= FireEtwModuleUnload_V1(
+ EventXplatEnabledModuleUnload_V1();
+Error |= FireEtXplatModuleUnload_V1(
win_UInt64,
win_UInt64,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledModuleUnload_V2();
-Error |= FireEtwModuleUnload_V2(
+ EventXplatEnabledModuleUnload_V2();
+Error |= FireEtXplatModuleUnload_V2(
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString ")
);
- EventEnabledAssemblyLoad();
-Error |= FireEtwAssemblyLoad(
+ EventXplatEnabledAssemblyLoad();
+Error |= FireEtXplatAssemblyLoad(
win_UInt64,
win_UInt64,
win_UInt32,
W(" Testing UnicodeString ")
);
- EventEnabledAssemblyLoad_V1();
-Error |= FireEtwAssemblyLoad_V1(
+ EventXplatEnabledAssemblyLoad_V1();
+Error |= FireEtXplatAssemblyLoad_V1(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledAssemblyUnload();
-Error |= FireEtwAssemblyUnload(
+ EventXplatEnabledAssemblyUnload();
+Error |= FireEtXplatAssemblyUnload(
win_UInt64,
win_UInt64,
win_UInt32,
W(" Testing UnicodeString ")
);
- EventEnabledAssemblyUnload_V1();
-Error |= FireEtwAssemblyUnload_V1(
+ EventXplatEnabledAssemblyUnload_V1();
+Error |= FireEtXplatAssemblyUnload_V1(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledAppDomainLoad();
-Error |= FireEtwAppDomainLoad(
+ EventXplatEnabledAppDomainLoad();
+Error |= FireEtXplatAppDomainLoad(
win_UInt64,
win_UInt32,
W(" Testing UnicodeString ")
);
- EventEnabledAppDomainLoad_V1();
-Error |= FireEtwAppDomainLoad_V1(
+ EventXplatEnabledAppDomainLoad_V1();
+Error |= FireEtXplatAppDomainLoad_V1(
win_UInt64,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt32,
win_UInt16
);
- EventEnabledAppDomainUnload();
-Error |= FireEtwAppDomainUnload(
+ EventXplatEnabledAppDomainUnload();
+Error |= FireEtXplatAppDomainUnload(
win_UInt64,
win_UInt32,
W(" Testing UnicodeString ")
);
- EventEnabledAppDomainUnload_V1();
-Error |= FireEtwAppDomainUnload_V1(
+ EventXplatEnabledAppDomainUnload_V1();
+Error |= FireEtXplatAppDomainUnload_V1(
win_UInt64,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt32,
win_UInt16
);
- EventEnabledModuleRangeLoad();
-Error |= FireEtwModuleRangeLoad(
+ EventXplatEnabledModuleRangeLoad();
+Error |= FireEtXplatModuleRangeLoad(
win_UInt16,
win_UInt64,
win_UInt32,
win_UInt32,
win_UInt8
);
- EventEnabledStrongNameVerificationStart();
-Error |= FireEtwStrongNameVerificationStart(
+ EventXplatEnabledStrongNameVerificationStart();
+Error |= FireEtXplatStrongNameVerificationStart(
win_UInt32,
win_UInt32,
W(" Testing UnicodeString ")
);
- EventEnabledStrongNameVerificationStart_V1();
-Error |= FireEtwStrongNameVerificationStart_V1(
+ EventXplatEnabledStrongNameVerificationStart_V1();
+Error |= FireEtXplatStrongNameVerificationStart_V1(
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledStrongNameVerificationStop();
-Error |= FireEtwStrongNameVerificationStop(
+ EventXplatEnabledStrongNameVerificationStop();
+Error |= FireEtXplatStrongNameVerificationStop(
win_UInt32,
win_UInt32,
W(" Testing UnicodeString ")
);
- EventEnabledStrongNameVerificationStop_V1();
-Error |= FireEtwStrongNameVerificationStop_V1(
+ EventXplatEnabledStrongNameVerificationStop_V1();
+Error |= FireEtXplatStrongNameVerificationStop_V1(
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledAuthenticodeVerificationStart();
-Error |= FireEtwAuthenticodeVerificationStart(
+ EventXplatEnabledAuthenticodeVerificationStart();
+Error |= FireEtXplatAuthenticodeVerificationStart(
win_UInt32,
win_UInt32,
W(" Testing UnicodeString ")
);
- EventEnabledAuthenticodeVerificationStart_V1();
-Error |= FireEtwAuthenticodeVerificationStart_V1(
+ EventXplatEnabledAuthenticodeVerificationStart_V1();
+Error |= FireEtXplatAuthenticodeVerificationStart_V1(
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledAuthenticodeVerificationStop();
-Error |= FireEtwAuthenticodeVerificationStop(
+ EventXplatEnabledAuthenticodeVerificationStop();
+Error |= FireEtXplatAuthenticodeVerificationStop(
win_UInt32,
win_UInt32,
W(" Testing UnicodeString ")
);
- EventEnabledAuthenticodeVerificationStop_V1();
-Error |= FireEtwAuthenticodeVerificationStop_V1(
+ EventXplatEnabledAuthenticodeVerificationStop_V1();
+Error |= FireEtXplatAuthenticodeVerificationStop_V1(
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledRuntimeInformationStart();
-Error |= FireEtwRuntimeInformationStart(
+ EventXplatEnabledRuntimeInformationStart();
+Error |= FireEtXplatRuntimeInformationStart(
win_UInt16,
win_UInt16,
win_UInt16,
&myGuid,
W(" Testing UnicodeString ")
);
- EventEnabledIncreaseMemoryPressure();
-Error |= FireEtwIncreaseMemoryPressure(
+ EventXplatEnabledIncreaseMemoryPressure();
+Error |= FireEtXplatIncreaseMemoryPressure(
win_UInt64,
win_UInt16
);
- EventEnabledDecreaseMemoryPressure();
-Error |= FireEtwDecreaseMemoryPressure(
+ EventXplatEnabledDecreaseMemoryPressure();
+Error |= FireEtXplatDecreaseMemoryPressure(
win_UInt64,
win_UInt16
);
- EventEnabledGCMarkWithType();
-Error |= FireEtwGCMarkWithType(
+ EventXplatEnabledGCMarkWithType();
+Error |= FireEtXplatGCMarkWithType(
win_UInt32,
win_UInt16,
win_UInt32,
win_UInt64
);
- EventEnabledGCJoin_V2();
-Error |= FireEtwGCJoin_V2(
+ EventXplatEnabledGCJoin_V2();
+Error |= FireEtXplatGCJoin_V2(
win_UInt32,
win_UInt32,
win_UInt32,
win_UInt16,
win_UInt32
);
- EventEnabledGCPerHeapHistory_V3();
-Error |= FireEtwGCPerHeapHistory_V3(
+ EventXplatEnabledGCPerHeapHistory_V3();
+Error |= FireEtXplatGCPerHeapHistory_V3(
win_UInt16,
(const void*)var11,
(const void*)var11,
win_ULong,
&win_Struct
);
- EventEnabledGCGlobalHeapHistory_V2();
-Error |= FireEtwGCGlobalHeapHistory_V2(
+ EventXplatEnabledGCGlobalHeapHistory_V2();
+Error |= FireEtXplatGCGlobalHeapHistory_V2(
win_UInt64,
win_Int32,
win_UInt32,
win_UInt32,
win_UInt32
);
- EventEnabledDebugIPCEventStart();
-Error |= FireEtwDebugIPCEventStart(
+ EventXplatEnabledDebugIPCEventStart();
+Error |= FireEtXplatDebugIPCEventStart(
);
- EventEnabledDebugIPCEventEnd();
-Error |= FireEtwDebugIPCEventEnd(
+ EventXplatEnabledDebugIPCEventEnd();
+Error |= FireEtXplatDebugIPCEventEnd(
);
- EventEnabledDebugExceptionProcessingStart();
-Error |= FireEtwDebugExceptionProcessingStart(
+ EventXplatEnabledDebugExceptionProcessingStart();
+Error |= FireEtXplatDebugExceptionProcessingStart(
);
- EventEnabledDebugExceptionProcessingEnd();
-Error |= FireEtwDebugExceptionProcessingEnd(
+ EventXplatEnabledDebugExceptionProcessingEnd();
+Error |= FireEtXplatDebugExceptionProcessingEnd(
);
- EventEnabledCodeSymbols();
-Error |= FireEtwCodeSymbols(
+ EventXplatEnabledCodeSymbols();
+Error |= FireEtXplatCodeSymbols(
win_UInt64,
win_UInt16,
win_UInt16,
win_Binary,
win_UInt16
);
- EventEnabledCLRStackWalkDCStart();
-Error |= FireEtwCLRStackWalkDCStart(
+ EventXplatEnabledCLRStackWalkDCStart();
+Error |= FireEtXplatCLRStackWalkDCStart(
win_UInt16,
win_UInt8,
win_UInt8,
win_UInt32,
(const void**)&var11
);
- EventEnabledMethodDCStart();
-Error |= FireEtwMethodDCStart(
+ EventXplatEnabledMethodDCStart();
+Error |= FireEtXplatMethodDCStart(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt32
);
- EventEnabledMethodDCStart_V1();
-Error |= FireEtwMethodDCStart_V1(
+ EventXplatEnabledMethodDCStart_V1();
+Error |= FireEtXplatMethodDCStart_V1(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt16
);
- EventEnabledMethodDCStart_V2();
-Error |= FireEtwMethodDCStart_V2(
+ EventXplatEnabledMethodDCStart_V2();
+Error |= FireEtXplatMethodDCStart_V2(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt16,
win_UInt64
);
- EventEnabledMethodDCEnd();
-Error |= FireEtwMethodDCEnd(
+ EventXplatEnabledMethodDCEnd();
+Error |= FireEtXplatMethodDCEnd(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt32
);
- EventEnabledMethodDCEnd_V1();
-Error |= FireEtwMethodDCEnd_V1(
+ EventXplatEnabledMethodDCEnd_V1();
+Error |= FireEtXplatMethodDCEnd_V1(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt16
);
- EventEnabledMethodDCEnd_V2();
-Error |= FireEtwMethodDCEnd_V2(
+ EventXplatEnabledMethodDCEnd_V2();
+Error |= FireEtXplatMethodDCEnd_V2(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt16,
win_UInt64
);
- EventEnabledMethodDCStartVerbose();
-Error |= FireEtwMethodDCStartVerbose(
+ EventXplatEnabledMethodDCStartVerbose();
+Error |= FireEtXplatMethodDCStartVerbose(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledMethodDCStartVerbose_V1();
-Error |= FireEtwMethodDCStartVerbose_V1(
+ EventXplatEnabledMethodDCStartVerbose_V1();
+Error |= FireEtXplatMethodDCStartVerbose_V1(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledMethodDCStartVerbose_V2();
-Error |= FireEtwMethodDCStartVerbose_V2(
+ EventXplatEnabledMethodDCStartVerbose_V2();
+Error |= FireEtXplatMethodDCStartVerbose_V2(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt16,
win_UInt64
);
- EventEnabledMethodDCEndVerbose();
-Error |= FireEtwMethodDCEndVerbose(
+ EventXplatEnabledMethodDCEndVerbose();
+Error |= FireEtXplatMethodDCEndVerbose(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledMethodDCEndVerbose_V1();
-Error |= FireEtwMethodDCEndVerbose_V1(
+ EventXplatEnabledMethodDCEndVerbose_V1();
+Error |= FireEtXplatMethodDCEndVerbose_V1(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledMethodDCEndVerbose_V2();
-Error |= FireEtwMethodDCEndVerbose_V2(
+ EventXplatEnabledMethodDCEndVerbose_V2();
+Error |= FireEtXplatMethodDCEndVerbose_V2(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt16,
win_UInt64
);
- EventEnabledDCStartComplete();
-Error |= FireEtwDCStartComplete(
+ EventXplatEnabledDCStartComplete();
+Error |= FireEtXplatDCStartComplete(
);
- EventEnabledDCStartComplete_V1();
-Error |= FireEtwDCStartComplete_V1(
+ EventXplatEnabledDCStartComplete_V1();
+Error |= FireEtXplatDCStartComplete_V1(
win_UInt16
);
- EventEnabledDCEndComplete();
-Error |= FireEtwDCEndComplete(
+ EventXplatEnabledDCEndComplete();
+Error |= FireEtXplatDCEndComplete(
);
- EventEnabledDCEndComplete_V1();
-Error |= FireEtwDCEndComplete_V1(
+ EventXplatEnabledDCEndComplete_V1();
+Error |= FireEtXplatDCEndComplete_V1(
win_UInt16
);
- EventEnabledDCStartInit();
-Error |= FireEtwDCStartInit(
+ EventXplatEnabledDCStartInit();
+Error |= FireEtXplatDCStartInit(
);
- EventEnabledDCStartInit_V1();
-Error |= FireEtwDCStartInit_V1(
+ EventXplatEnabledDCStartInit_V1();
+Error |= FireEtXplatDCStartInit_V1(
win_UInt16
);
- EventEnabledDCEndInit();
-Error |= FireEtwDCEndInit(
+ EventXplatEnabledDCEndInit();
+Error |= FireEtXplatDCEndInit(
);
- EventEnabledDCEndInit_V1();
-Error |= FireEtwDCEndInit_V1(
+ EventXplatEnabledDCEndInit_V1();
+Error |= FireEtXplatDCEndInit_V1(
win_UInt16
);
- EventEnabledMethodDCStartILToNativeMap();
-Error |= FireEtwMethodDCStartILToNativeMap(
+ EventXplatEnabledMethodDCStartILToNativeMap();
+Error |= FireEtXplatMethodDCStartILToNativeMap(
win_UInt64,
win_UInt64,
win_UInt8,
&win_UInt32,
win_UInt16
);
- EventEnabledMethodDCEndILToNativeMap();
-Error |= FireEtwMethodDCEndILToNativeMap(
+ EventXplatEnabledMethodDCEndILToNativeMap();
+Error |= FireEtXplatMethodDCEndILToNativeMap(
win_UInt64,
win_UInt64,
win_UInt8,
&win_UInt32,
win_UInt16
);
- EventEnabledDomainModuleDCStart();
-Error |= FireEtwDomainModuleDCStart(
+ EventXplatEnabledDomainModuleDCStart();
+Error |= FireEtXplatDomainModuleDCStart(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledDomainModuleDCStart_V1();
-Error |= FireEtwDomainModuleDCStart_V1(
+ EventXplatEnabledDomainModuleDCStart_V1();
+Error |= FireEtXplatDomainModuleDCStart_V1(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledDomainModuleDCEnd();
-Error |= FireEtwDomainModuleDCEnd(
+ EventXplatEnabledDomainModuleDCEnd();
+Error |= FireEtXplatDomainModuleDCEnd(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledDomainModuleDCEnd_V1();
-Error |= FireEtwDomainModuleDCEnd_V1(
+ EventXplatEnabledDomainModuleDCEnd_V1();
+Error |= FireEtXplatDomainModuleDCEnd_V1(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledModuleDCStart();
-Error |= FireEtwModuleDCStart(
+ EventXplatEnabledModuleDCStart();
+Error |= FireEtXplatModuleDCStart(
win_UInt64,
win_UInt64,
win_UInt32,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledModuleDCStart_V1();
-Error |= FireEtwModuleDCStart_V1(
+ EventXplatEnabledModuleDCStart_V1();
+Error |= FireEtXplatModuleDCStart_V1(
win_UInt64,
win_UInt64,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledModuleDCStart_V2();
-Error |= FireEtwModuleDCStart_V2(
+ EventXplatEnabledModuleDCStart_V2();
+Error |= FireEtXplatModuleDCStart_V2(
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString ")
);
- EventEnabledModuleDCEnd();
-Error |= FireEtwModuleDCEnd(
+ EventXplatEnabledModuleDCEnd();
+Error |= FireEtXplatModuleDCEnd(
win_UInt64,
win_UInt64,
win_UInt32,
W(" Testing UnicodeString "),
W(" Testing UnicodeString ")
);
- EventEnabledModuleDCEnd_V1();
-Error |= FireEtwModuleDCEnd_V1(
+ EventXplatEnabledModuleDCEnd_V1();
+Error |= FireEtXplatModuleDCEnd_V1(
win_UInt64,
win_UInt64,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledModuleDCEnd_V2();
-Error |= FireEtwModuleDCEnd_V2(
+ EventXplatEnabledModuleDCEnd_V2();
+Error |= FireEtXplatModuleDCEnd_V2(
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString ")
);
- EventEnabledAssemblyDCStart();
-Error |= FireEtwAssemblyDCStart(
+ EventXplatEnabledAssemblyDCStart();
+Error |= FireEtXplatAssemblyDCStart(
win_UInt64,
win_UInt64,
win_UInt32,
W(" Testing UnicodeString ")
);
- EventEnabledAssemblyDCStart_V1();
-Error |= FireEtwAssemblyDCStart_V1(
+ EventXplatEnabledAssemblyDCStart_V1();
+Error |= FireEtXplatAssemblyDCStart_V1(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledAssemblyDCEnd();
-Error |= FireEtwAssemblyDCEnd(
+ EventXplatEnabledAssemblyDCEnd();
+Error |= FireEtXplatAssemblyDCEnd(
win_UInt64,
win_UInt64,
win_UInt32,
W(" Testing UnicodeString ")
);
- EventEnabledAssemblyDCEnd_V1();
-Error |= FireEtwAssemblyDCEnd_V1(
+ EventXplatEnabledAssemblyDCEnd_V1();
+Error |= FireEtXplatAssemblyDCEnd_V1(
win_UInt64,
win_UInt64,
win_UInt64,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledAppDomainDCStart();
-Error |= FireEtwAppDomainDCStart(
+ EventXplatEnabledAppDomainDCStart();
+Error |= FireEtXplatAppDomainDCStart(
win_UInt64,
win_UInt32,
W(" Testing UnicodeString ")
);
- EventEnabledAppDomainDCStart_V1();
-Error |= FireEtwAppDomainDCStart_V1(
+ EventXplatEnabledAppDomainDCStart_V1();
+Error |= FireEtXplatAppDomainDCStart_V1(
win_UInt64,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt32,
win_UInt16
);
- EventEnabledAppDomainDCEnd();
-Error |= FireEtwAppDomainDCEnd(
+ EventXplatEnabledAppDomainDCEnd();
+Error |= FireEtXplatAppDomainDCEnd(
win_UInt64,
win_UInt32,
W(" Testing UnicodeString ")
);
- EventEnabledAppDomainDCEnd_V1();
-Error |= FireEtwAppDomainDCEnd_V1(
+ EventXplatEnabledAppDomainDCEnd_V1();
+Error |= FireEtXplatAppDomainDCEnd_V1(
win_UInt64,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt32,
win_UInt16
);
- EventEnabledThreadDC();
-Error |= FireEtwThreadDC(
+ EventXplatEnabledThreadDC();
+Error |= FireEtXplatThreadDC(
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledModuleRangeDCStart();
-Error |= FireEtwModuleRangeDCStart(
+ EventXplatEnabledModuleRangeDCStart();
+Error |= FireEtXplatModuleRangeDCStart(
win_UInt16,
win_UInt64,
win_UInt32,
win_UInt32,
win_UInt8
);
- EventEnabledModuleRangeDCEnd();
-Error |= FireEtwModuleRangeDCEnd(
+ EventXplatEnabledModuleRangeDCEnd();
+Error |= FireEtXplatModuleRangeDCEnd(
win_UInt16,
win_UInt64,
win_UInt32,
win_UInt32,
win_UInt8
);
- EventEnabledRuntimeInformationDCStart();
-Error |= FireEtwRuntimeInformationDCStart(
+ EventXplatEnabledRuntimeInformationDCStart();
+Error |= FireEtXplatRuntimeInformationDCStart(
win_UInt16,
win_UInt16,
win_UInt16,
&myGuid,
W(" Testing UnicodeString ")
);
- EventEnabledStressLogEvent();
-Error |= FireEtwStressLogEvent(
+ EventXplatEnabledStressLogEvent();
+Error |= FireEtXplatStressLogEvent(
win_UInt32,
win_UInt8,
" Testing AniString "
);
- EventEnabledStressLogEvent_V1();
-Error |= FireEtwStressLogEvent_V1(
+ EventXplatEnabledStressLogEvent_V1();
+Error |= FireEtXplatStressLogEvent_V1(
win_UInt32,
win_UInt8,
" Testing AniString ",
win_UInt16
);
- EventEnabledCLRStackWalkStress();
-Error |= FireEtwCLRStackWalkStress(
+ EventXplatEnabledCLRStackWalkStress();
+Error |= FireEtXplatCLRStackWalkStress(
win_UInt16,
win_UInt8,
win_UInt8,
win_UInt32,
(const void**)&var11
);
- EventEnabledGCDecision();
-Error |= FireEtwGCDecision(
+ EventXplatEnabledGCDecision();
+Error |= FireEtXplatGCDecision(
win_Boolean
);
- EventEnabledGCDecision_V1();
-Error |= FireEtwGCDecision_V1(
+ EventXplatEnabledGCDecision_V1();
+Error |= FireEtXplatGCDecision_V1(
win_Boolean,
win_UInt16
);
- EventEnabledGCSettings();
-Error |= FireEtwGCSettings(
+ EventXplatEnabledGCSettings();
+Error |= FireEtXplatGCSettings(
win_UInt64,
win_UInt64,
win_Boolean
);
- EventEnabledGCSettings_V1();
-Error |= FireEtwGCSettings_V1(
+ EventXplatEnabledGCSettings_V1();
+Error |= FireEtXplatGCSettings_V1(
win_UInt64,
win_UInt64,
win_Boolean,
win_UInt16
);
- EventEnabledGCOptimized();
-Error |= FireEtwGCOptimized(
+ EventXplatEnabledGCOptimized();
+Error |= FireEtXplatGCOptimized(
win_UInt64,
win_UInt64,
win_UInt32
);
- EventEnabledGCOptimized_V1();
-Error |= FireEtwGCOptimized_V1(
+ EventXplatEnabledGCOptimized_V1();
+Error |= FireEtXplatGCOptimized_V1(
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt16
);
- EventEnabledGCPerHeapHistory();
-Error |= FireEtwGCPerHeapHistory(
+ EventXplatEnabledGCPerHeapHistory();
+Error |= FireEtXplatGCPerHeapHistory(
);
- EventEnabledGCPerHeapHistory_V1();
-Error |= FireEtwGCPerHeapHistory_V1(
+ EventXplatEnabledGCPerHeapHistory_V1();
+Error |= FireEtXplatGCPerHeapHistory_V1(
win_UInt16
);
- EventEnabledGCGlobalHeapHistory();
-Error |= FireEtwGCGlobalHeapHistory(
+ EventXplatEnabledGCGlobalHeapHistory();
+Error |= FireEtXplatGCGlobalHeapHistory(
win_UInt64,
win_Int32,
win_UInt32,
win_UInt32,
win_UInt32
);
- EventEnabledGCGlobalHeapHistory_V1();
-Error |= FireEtwGCGlobalHeapHistory_V1(
+ EventXplatEnabledGCGlobalHeapHistory_V1();
+Error |= FireEtXplatGCGlobalHeapHistory_V1(
win_UInt64,
win_Int32,
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledGCJoin();
-Error |= FireEtwGCJoin(
+ EventXplatEnabledGCJoin();
+Error |= FireEtXplatGCJoin(
win_UInt32,
win_UInt32,
win_UInt32
);
- EventEnabledGCJoin_V1();
-Error |= FireEtwGCJoin_V1(
+ EventXplatEnabledGCJoin_V1();
+Error |= FireEtXplatGCJoin_V1(
win_UInt32,
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledPrvGCMarkStackRoots();
-Error |= FireEtwPrvGCMarkStackRoots(
+ EventXplatEnabledPrvGCMarkStackRoots();
+Error |= FireEtXplatPrvGCMarkStackRoots(
win_UInt32
);
- EventEnabledPrvGCMarkStackRoots_V1();
-Error |= FireEtwPrvGCMarkStackRoots_V1(
+ EventXplatEnabledPrvGCMarkStackRoots_V1();
+Error |= FireEtXplatPrvGCMarkStackRoots_V1(
win_UInt32,
win_UInt16
);
- EventEnabledPrvGCMarkFinalizeQueueRoots();
-Error |= FireEtwPrvGCMarkFinalizeQueueRoots(
+ EventXplatEnabledPrvGCMarkFinalizeQueueRoots();
+Error |= FireEtXplatPrvGCMarkFinalizeQueueRoots(
win_UInt32
);
- EventEnabledPrvGCMarkFinalizeQueueRoots_V1();
-Error |= FireEtwPrvGCMarkFinalizeQueueRoots_V1(
+ EventXplatEnabledPrvGCMarkFinalizeQueueRoots_V1();
+Error |= FireEtXplatPrvGCMarkFinalizeQueueRoots_V1(
win_UInt32,
win_UInt16
);
- EventEnabledPrvGCMarkHandles();
-Error |= FireEtwPrvGCMarkHandles(
+ EventXplatEnabledPrvGCMarkHandles();
+Error |= FireEtXplatPrvGCMarkHandles(
win_UInt32
);
- EventEnabledPrvGCMarkHandles_V1();
-Error |= FireEtwPrvGCMarkHandles_V1(
+ EventXplatEnabledPrvGCMarkHandles_V1();
+Error |= FireEtXplatPrvGCMarkHandles_V1(
win_UInt32,
win_UInt16
);
- EventEnabledPrvGCMarkCards();
-Error |= FireEtwPrvGCMarkCards(
+ EventXplatEnabledPrvGCMarkCards();
+Error |= FireEtXplatPrvGCMarkCards(
win_UInt32
);
- EventEnabledPrvGCMarkCards_V1();
-Error |= FireEtwPrvGCMarkCards_V1(
+ EventXplatEnabledPrvGCMarkCards_V1();
+Error |= FireEtXplatPrvGCMarkCards_V1(
win_UInt32,
win_UInt16
);
- EventEnabledBGCBegin();
-Error |= FireEtwBGCBegin(
+ EventXplatEnabledBGCBegin();
+Error |= FireEtXplatBGCBegin(
win_UInt16
);
- EventEnabledBGC1stNonConEnd();
-Error |= FireEtwBGC1stNonConEnd(
+ EventXplatEnabledBGC1stNonConEnd();
+Error |= FireEtXplatBGC1stNonConEnd(
win_UInt16
);
- EventEnabledBGC1stConEnd();
-Error |= FireEtwBGC1stConEnd(
+ EventXplatEnabledBGC1stConEnd();
+Error |= FireEtXplatBGC1stConEnd(
win_UInt16
);
- EventEnabledBGC2ndNonConBegin();
-Error |= FireEtwBGC2ndNonConBegin(
+ EventXplatEnabledBGC2ndNonConBegin();
+Error |= FireEtXplatBGC2ndNonConBegin(
win_UInt16
);
- EventEnabledBGC2ndNonConEnd();
-Error |= FireEtwBGC2ndNonConEnd(
+ EventXplatEnabledBGC2ndNonConEnd();
+Error |= FireEtXplatBGC2ndNonConEnd(
win_UInt16
);
- EventEnabledBGC2ndConBegin();
-Error |= FireEtwBGC2ndConBegin(
+ EventXplatEnabledBGC2ndConBegin();
+Error |= FireEtXplatBGC2ndConBegin(
win_UInt16
);
- EventEnabledBGC2ndConEnd();
-Error |= FireEtwBGC2ndConEnd(
+ EventXplatEnabledBGC2ndConEnd();
+Error |= FireEtXplatBGC2ndConEnd(
win_UInt16
);
- EventEnabledBGCPlanEnd();
-Error |= FireEtwBGCPlanEnd(
+ EventXplatEnabledBGCPlanEnd();
+Error |= FireEtXplatBGCPlanEnd(
win_UInt16
);
- EventEnabledBGCSweepEnd();
-Error |= FireEtwBGCSweepEnd(
+ EventXplatEnabledBGCSweepEnd();
+Error |= FireEtXplatBGCSweepEnd(
win_UInt16
);
- EventEnabledBGCDrainMark();
-Error |= FireEtwBGCDrainMark(
+ EventXplatEnabledBGCDrainMark();
+Error |= FireEtXplatBGCDrainMark(
win_UInt64,
win_UInt16
);
- EventEnabledBGCRevisit();
-Error |= FireEtwBGCRevisit(
+ EventXplatEnabledBGCRevisit();
+Error |= FireEtXplatBGCRevisit(
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt16
);
- EventEnabledBGCOverflow();
-Error |= FireEtwBGCOverflow(
+ EventXplatEnabledBGCOverflow();
+Error |= FireEtXplatBGCOverflow(
win_UInt64,
win_UInt64,
win_UInt64,
win_UInt32,
win_UInt16
);
- EventEnabledBGCAllocWaitBegin();
-Error |= FireEtwBGCAllocWaitBegin(
+ EventXplatEnabledBGCAllocWaitBegin();
+Error |= FireEtXplatBGCAllocWaitBegin(
win_UInt32,
win_UInt16
);
- EventEnabledBGCAllocWaitEnd();
-Error |= FireEtwBGCAllocWaitEnd(
+ EventXplatEnabledBGCAllocWaitEnd();
+Error |= FireEtXplatBGCAllocWaitEnd(
win_UInt32,
win_UInt16
);
- EventEnabledGCFullNotify();
-Error |= FireEtwGCFullNotify(
+ EventXplatEnabledGCFullNotify();
+Error |= FireEtXplatGCFullNotify(
win_UInt32,
win_UInt32
);
- EventEnabledGCFullNotify_V1();
-Error |= FireEtwGCFullNotify_V1(
+ EventXplatEnabledGCFullNotify_V1();
+Error |= FireEtXplatGCFullNotify_V1(
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledEEStartupStart();
-Error |= FireEtwEEStartupStart(
+ EventXplatEnabledEEStartupStart();
+Error |= FireEtXplatEEStartupStart(
);
- EventEnabledEEStartupStart_V1();
-Error |= FireEtwEEStartupStart_V1(
+ EventXplatEnabledEEStartupStart_V1();
+Error |= FireEtXplatEEStartupStart_V1(
win_UInt16
);
- EventEnabledEEStartupEnd();
-Error |= FireEtwEEStartupEnd(
+ EventXplatEnabledEEStartupEnd();
+Error |= FireEtXplatEEStartupEnd(
);
- EventEnabledEEStartupEnd_V1();
-Error |= FireEtwEEStartupEnd_V1(
+ EventXplatEnabledEEStartupEnd_V1();
+Error |= FireEtXplatEEStartupEnd_V1(
win_UInt16
);
- EventEnabledEEConfigSetup();
-Error |= FireEtwEEConfigSetup(
+ EventXplatEnabledEEConfigSetup();
+Error |= FireEtXplatEEConfigSetup(
);
- EventEnabledEEConfigSetup_V1();
-Error |= FireEtwEEConfigSetup_V1(
+ EventXplatEnabledEEConfigSetup_V1();
+Error |= FireEtXplatEEConfigSetup_V1(
win_UInt16
);
- EventEnabledEEConfigSetupEnd();
-Error |= FireEtwEEConfigSetupEnd(
+ EventXplatEnabledEEConfigSetupEnd();
+Error |= FireEtXplatEEConfigSetupEnd(
);
- EventEnabledEEConfigSetupEnd_V1();
-Error |= FireEtwEEConfigSetupEnd_V1(
+ EventXplatEnabledEEConfigSetupEnd_V1();
+Error |= FireEtXplatEEConfigSetupEnd_V1(
win_UInt16
);
- EventEnabledLdSysBases();
-Error |= FireEtwLdSysBases(
+ EventXplatEnabledLdSysBases();
+Error |= FireEtXplatLdSysBases(
);
- EventEnabledLdSysBases_V1();
-Error |= FireEtwLdSysBases_V1(
+ EventXplatEnabledLdSysBases_V1();
+Error |= FireEtXplatLdSysBases_V1(
win_UInt16
);
- EventEnabledLdSysBasesEnd();
-Error |= FireEtwLdSysBasesEnd(
+ EventXplatEnabledLdSysBasesEnd();
+Error |= FireEtXplatLdSysBasesEnd(
);
- EventEnabledLdSysBasesEnd_V1();
-Error |= FireEtwLdSysBasesEnd_V1(
+ EventXplatEnabledLdSysBasesEnd_V1();
+Error |= FireEtXplatLdSysBasesEnd_V1(
win_UInt16
);
- EventEnabledExecExe();
-Error |= FireEtwExecExe(
+ EventXplatEnabledExecExe();
+Error |= FireEtXplatExecExe(
);
- EventEnabledExecExe_V1();
-Error |= FireEtwExecExe_V1(
+ EventXplatEnabledExecExe_V1();
+Error |= FireEtXplatExecExe_V1(
win_UInt16
);
- EventEnabledExecExeEnd();
-Error |= FireEtwExecExeEnd(
+ EventXplatEnabledExecExeEnd();
+Error |= FireEtXplatExecExeEnd(
);
- EventEnabledExecExeEnd_V1();
-Error |= FireEtwExecExeEnd_V1(
+ EventXplatEnabledExecExeEnd_V1();
+Error |= FireEtXplatExecExeEnd_V1(
win_UInt16
);
- EventEnabledMain();
-Error |= FireEtwMain(
+ EventXplatEnabledMain();
+Error |= FireEtXplatMain(
);
- EventEnabledMain_V1();
-Error |= FireEtwMain_V1(
+ EventXplatEnabledMain_V1();
+Error |= FireEtXplatMain_V1(
win_UInt16
);
- EventEnabledMainEnd();
-Error |= FireEtwMainEnd(
+ EventXplatEnabledMainEnd();
+Error |= FireEtXplatMainEnd(
);
- EventEnabledMainEnd_V1();
-Error |= FireEtwMainEnd_V1(
+ EventXplatEnabledMainEnd_V1();
+Error |= FireEtXplatMainEnd_V1(
win_UInt16
);
- EventEnabledApplyPolicyStart();
-Error |= FireEtwApplyPolicyStart(
+ EventXplatEnabledApplyPolicyStart();
+Error |= FireEtXplatApplyPolicyStart(
);
- EventEnabledApplyPolicyStart_V1();
-Error |= FireEtwApplyPolicyStart_V1(
+ EventXplatEnabledApplyPolicyStart_V1();
+Error |= FireEtXplatApplyPolicyStart_V1(
win_UInt16
);
- EventEnabledApplyPolicyEnd();
-Error |= FireEtwApplyPolicyEnd(
+ EventXplatEnabledApplyPolicyEnd();
+Error |= FireEtXplatApplyPolicyEnd(
);
- EventEnabledApplyPolicyEnd_V1();
-Error |= FireEtwApplyPolicyEnd_V1(
+ EventXplatEnabledApplyPolicyEnd_V1();
+Error |= FireEtXplatApplyPolicyEnd_V1(
win_UInt16
);
- EventEnabledLdLibShFolder();
-Error |= FireEtwLdLibShFolder(
+ EventXplatEnabledLdLibShFolder();
+Error |= FireEtXplatLdLibShFolder(
);
- EventEnabledLdLibShFolder_V1();
-Error |= FireEtwLdLibShFolder_V1(
+ EventXplatEnabledLdLibShFolder_V1();
+Error |= FireEtXplatLdLibShFolder_V1(
win_UInt16
);
- EventEnabledLdLibShFolderEnd();
-Error |= FireEtwLdLibShFolderEnd(
+ EventXplatEnabledLdLibShFolderEnd();
+Error |= FireEtXplatLdLibShFolderEnd(
);
- EventEnabledLdLibShFolderEnd_V1();
-Error |= FireEtwLdLibShFolderEnd_V1(
+ EventXplatEnabledLdLibShFolderEnd_V1();
+Error |= FireEtXplatLdLibShFolderEnd_V1(
win_UInt16
);
- EventEnabledPrestubWorker();
-Error |= FireEtwPrestubWorker(
+ EventXplatEnabledPrestubWorker();
+Error |= FireEtXplatPrestubWorker(
);
- EventEnabledPrestubWorker_V1();
-Error |= FireEtwPrestubWorker_V1(
+ EventXplatEnabledPrestubWorker_V1();
+Error |= FireEtXplatPrestubWorker_V1(
win_UInt16
);
- EventEnabledPrestubWorkerEnd();
-Error |= FireEtwPrestubWorkerEnd(
+ EventXplatEnabledPrestubWorkerEnd();
+Error |= FireEtXplatPrestubWorkerEnd(
);
- EventEnabledPrestubWorkerEnd_V1();
-Error |= FireEtwPrestubWorkerEnd_V1(
+ EventXplatEnabledPrestubWorkerEnd_V1();
+Error |= FireEtXplatPrestubWorkerEnd_V1(
win_UInt16
);
- EventEnabledGetInstallationStart();
-Error |= FireEtwGetInstallationStart(
+ EventXplatEnabledGetInstallationStart();
+Error |= FireEtXplatGetInstallationStart(
);
- EventEnabledGetInstallationStart_V1();
-Error |= FireEtwGetInstallationStart_V1(
+ EventXplatEnabledGetInstallationStart_V1();
+Error |= FireEtXplatGetInstallationStart_V1(
win_UInt16
);
- EventEnabledGetInstallationEnd();
-Error |= FireEtwGetInstallationEnd(
+ EventXplatEnabledGetInstallationEnd();
+Error |= FireEtXplatGetInstallationEnd(
);
- EventEnabledGetInstallationEnd_V1();
-Error |= FireEtwGetInstallationEnd_V1(
+ EventXplatEnabledGetInstallationEnd_V1();
+Error |= FireEtXplatGetInstallationEnd_V1(
win_UInt16
);
- EventEnabledOpenHModule();
-Error |= FireEtwOpenHModule(
+ EventXplatEnabledOpenHModule();
+Error |= FireEtXplatOpenHModule(
);
- EventEnabledOpenHModule_V1();
-Error |= FireEtwOpenHModule_V1(
+ EventXplatEnabledOpenHModule_V1();
+Error |= FireEtXplatOpenHModule_V1(
win_UInt16
);
- EventEnabledOpenHModuleEnd();
-Error |= FireEtwOpenHModuleEnd(
+ EventXplatEnabledOpenHModuleEnd();
+Error |= FireEtXplatOpenHModuleEnd(
);
- EventEnabledOpenHModuleEnd_V1();
-Error |= FireEtwOpenHModuleEnd_V1(
+ EventXplatEnabledOpenHModuleEnd_V1();
+Error |= FireEtXplatOpenHModuleEnd_V1(
win_UInt16
);
- EventEnabledExplicitBindStart();
-Error |= FireEtwExplicitBindStart(
+ EventXplatEnabledExplicitBindStart();
+Error |= FireEtXplatExplicitBindStart(
);
- EventEnabledExplicitBindStart_V1();
-Error |= FireEtwExplicitBindStart_V1(
+ EventXplatEnabledExplicitBindStart_V1();
+Error |= FireEtXplatExplicitBindStart_V1(
win_UInt16
);
- EventEnabledExplicitBindEnd();
-Error |= FireEtwExplicitBindEnd(
+ EventXplatEnabledExplicitBindEnd();
+Error |= FireEtXplatExplicitBindEnd(
);
- EventEnabledExplicitBindEnd_V1();
-Error |= FireEtwExplicitBindEnd_V1(
+ EventXplatEnabledExplicitBindEnd_V1();
+Error |= FireEtXplatExplicitBindEnd_V1(
win_UInt16
);
- EventEnabledParseXml();
-Error |= FireEtwParseXml(
+ EventXplatEnabledParseXml();
+Error |= FireEtXplatParseXml(
);
- EventEnabledParseXml_V1();
-Error |= FireEtwParseXml_V1(
+ EventXplatEnabledParseXml_V1();
+Error |= FireEtXplatParseXml_V1(
win_UInt16
);
- EventEnabledParseXmlEnd();
-Error |= FireEtwParseXmlEnd(
+ EventXplatEnabledParseXmlEnd();
+Error |= FireEtXplatParseXmlEnd(
);
- EventEnabledParseXmlEnd_V1();
-Error |= FireEtwParseXmlEnd_V1(
+ EventXplatEnabledParseXmlEnd_V1();
+Error |= FireEtXplatParseXmlEnd_V1(
win_UInt16
);
- EventEnabledInitDefaultDomain();
-Error |= FireEtwInitDefaultDomain(
+ EventXplatEnabledInitDefaultDomain();
+Error |= FireEtXplatInitDefaultDomain(
);
- EventEnabledInitDefaultDomain_V1();
-Error |= FireEtwInitDefaultDomain_V1(
+ EventXplatEnabledInitDefaultDomain_V1();
+Error |= FireEtXplatInitDefaultDomain_V1(
win_UInt16
);
- EventEnabledInitDefaultDomainEnd();
-Error |= FireEtwInitDefaultDomainEnd(
+ EventXplatEnabledInitDefaultDomainEnd();
+Error |= FireEtXplatInitDefaultDomainEnd(
);
- EventEnabledInitDefaultDomainEnd_V1();
-Error |= FireEtwInitDefaultDomainEnd_V1(
+ EventXplatEnabledInitDefaultDomainEnd_V1();
+Error |= FireEtXplatInitDefaultDomainEnd_V1(
win_UInt16
);
- EventEnabledInitSecurity();
-Error |= FireEtwInitSecurity(
+ EventXplatEnabledInitSecurity();
+Error |= FireEtXplatInitSecurity(
);
- EventEnabledInitSecurity_V1();
-Error |= FireEtwInitSecurity_V1(
+ EventXplatEnabledInitSecurity_V1();
+Error |= FireEtXplatInitSecurity_V1(
win_UInt16
);
- EventEnabledInitSecurityEnd();
-Error |= FireEtwInitSecurityEnd(
+ EventXplatEnabledInitSecurityEnd();
+Error |= FireEtXplatInitSecurityEnd(
);
- EventEnabledInitSecurityEnd_V1();
-Error |= FireEtwInitSecurityEnd_V1(
+ EventXplatEnabledInitSecurityEnd_V1();
+Error |= FireEtXplatInitSecurityEnd_V1(
win_UInt16
);
- EventEnabledAllowBindingRedirs();
-Error |= FireEtwAllowBindingRedirs(
+ EventXplatEnabledAllowBindingRedirs();
+Error |= FireEtXplatAllowBindingRedirs(
);
- EventEnabledAllowBindingRedirs_V1();
-Error |= FireEtwAllowBindingRedirs_V1(
+ EventXplatEnabledAllowBindingRedirs_V1();
+Error |= FireEtXplatAllowBindingRedirs_V1(
win_UInt16
);
- EventEnabledAllowBindingRedirsEnd();
-Error |= FireEtwAllowBindingRedirsEnd(
+ EventXplatEnabledAllowBindingRedirsEnd();
+Error |= FireEtXplatAllowBindingRedirsEnd(
);
- EventEnabledAllowBindingRedirsEnd_V1();
-Error |= FireEtwAllowBindingRedirsEnd_V1(
+ EventXplatEnabledAllowBindingRedirsEnd_V1();
+Error |= FireEtXplatAllowBindingRedirsEnd_V1(
win_UInt16
);
- EventEnabledEEConfigSync();
-Error |= FireEtwEEConfigSync(
+ EventXplatEnabledEEConfigSync();
+Error |= FireEtXplatEEConfigSync(
);
- EventEnabledEEConfigSync_V1();
-Error |= FireEtwEEConfigSync_V1(
+ EventXplatEnabledEEConfigSync_V1();
+Error |= FireEtXplatEEConfigSync_V1(
win_UInt16
);
- EventEnabledEEConfigSyncEnd();
-Error |= FireEtwEEConfigSyncEnd(
+ EventXplatEnabledEEConfigSyncEnd();
+Error |= FireEtXplatEEConfigSyncEnd(
);
- EventEnabledEEConfigSyncEnd_V1();
-Error |= FireEtwEEConfigSyncEnd_V1(
+ EventXplatEnabledEEConfigSyncEnd_V1();
+Error |= FireEtXplatEEConfigSyncEnd_V1(
win_UInt16
);
- EventEnabledFusionBinding();
-Error |= FireEtwFusionBinding(
+ EventXplatEnabledFusionBinding();
+Error |= FireEtXplatFusionBinding(
);
- EventEnabledFusionBinding_V1();
-Error |= FireEtwFusionBinding_V1(
+ EventXplatEnabledFusionBinding_V1();
+Error |= FireEtXplatFusionBinding_V1(
win_UInt16
);
- EventEnabledFusionBindingEnd();
-Error |= FireEtwFusionBindingEnd(
+ EventXplatEnabledFusionBindingEnd();
+Error |= FireEtXplatFusionBindingEnd(
);
- EventEnabledFusionBindingEnd_V1();
-Error |= FireEtwFusionBindingEnd_V1(
+ EventXplatEnabledFusionBindingEnd_V1();
+Error |= FireEtXplatFusionBindingEnd_V1(
win_UInt16
);
- EventEnabledLoaderCatchCall();
-Error |= FireEtwLoaderCatchCall(
+ EventXplatEnabledLoaderCatchCall();
+Error |= FireEtXplatLoaderCatchCall(
);
- EventEnabledLoaderCatchCall_V1();
-Error |= FireEtwLoaderCatchCall_V1(
+ EventXplatEnabledLoaderCatchCall_V1();
+Error |= FireEtXplatLoaderCatchCall_V1(
win_UInt16
);
- EventEnabledLoaderCatchCallEnd();
-Error |= FireEtwLoaderCatchCallEnd(
+ EventXplatEnabledLoaderCatchCallEnd();
+Error |= FireEtXplatLoaderCatchCallEnd(
);
- EventEnabledLoaderCatchCallEnd_V1();
-Error |= FireEtwLoaderCatchCallEnd_V1(
+ EventXplatEnabledLoaderCatchCallEnd_V1();
+Error |= FireEtXplatLoaderCatchCallEnd_V1(
win_UInt16
);
- EventEnabledFusionInit();
-Error |= FireEtwFusionInit(
+ EventXplatEnabledFusionInit();
+Error |= FireEtXplatFusionInit(
);
- EventEnabledFusionInit_V1();
-Error |= FireEtwFusionInit_V1(
+ EventXplatEnabledFusionInit_V1();
+Error |= FireEtXplatFusionInit_V1(
win_UInt16
);
- EventEnabledFusionInitEnd();
-Error |= FireEtwFusionInitEnd(
+ EventXplatEnabledFusionInitEnd();
+Error |= FireEtXplatFusionInitEnd(
);
- EventEnabledFusionInitEnd_V1();
-Error |= FireEtwFusionInitEnd_V1(
+ EventXplatEnabledFusionInitEnd_V1();
+Error |= FireEtXplatFusionInitEnd_V1(
win_UInt16
);
- EventEnabledFusionAppCtx();
-Error |= FireEtwFusionAppCtx(
+ EventXplatEnabledFusionAppCtx();
+Error |= FireEtXplatFusionAppCtx(
);
- EventEnabledFusionAppCtx_V1();
-Error |= FireEtwFusionAppCtx_V1(
+ EventXplatEnabledFusionAppCtx_V1();
+Error |= FireEtXplatFusionAppCtx_V1(
win_UInt16
);
- EventEnabledFusionAppCtxEnd();
-Error |= FireEtwFusionAppCtxEnd(
+ EventXplatEnabledFusionAppCtxEnd();
+Error |= FireEtXplatFusionAppCtxEnd(
);
- EventEnabledFusionAppCtxEnd_V1();
-Error |= FireEtwFusionAppCtxEnd_V1(
+ EventXplatEnabledFusionAppCtxEnd_V1();
+Error |= FireEtXplatFusionAppCtxEnd_V1(
win_UInt16
);
- EventEnabledFusion2EE();
-Error |= FireEtwFusion2EE(
+ EventXplatEnabledFusion2EE();
+Error |= FireEtXplatFusion2EE(
);
- EventEnabledFusion2EE_V1();
-Error |= FireEtwFusion2EE_V1(
+ EventXplatEnabledFusion2EE_V1();
+Error |= FireEtXplatFusion2EE_V1(
win_UInt16
);
- EventEnabledFusion2EEEnd();
-Error |= FireEtwFusion2EEEnd(
+ EventXplatEnabledFusion2EEEnd();
+Error |= FireEtXplatFusion2EEEnd(
);
- EventEnabledFusion2EEEnd_V1();
-Error |= FireEtwFusion2EEEnd_V1(
+ EventXplatEnabledFusion2EEEnd_V1();
+Error |= FireEtXplatFusion2EEEnd_V1(
win_UInt16
);
- EventEnabledSecurityCatchCall();
-Error |= FireEtwSecurityCatchCall(
+ EventXplatEnabledSecurityCatchCall();
+Error |= FireEtXplatSecurityCatchCall(
);
- EventEnabledSecurityCatchCall_V1();
-Error |= FireEtwSecurityCatchCall_V1(
+ EventXplatEnabledSecurityCatchCall_V1();
+Error |= FireEtXplatSecurityCatchCall_V1(
win_UInt16
);
- EventEnabledSecurityCatchCallEnd();
-Error |= FireEtwSecurityCatchCallEnd(
+ EventXplatEnabledSecurityCatchCallEnd();
+Error |= FireEtXplatSecurityCatchCallEnd(
);
- EventEnabledSecurityCatchCallEnd_V1();
-Error |= FireEtwSecurityCatchCallEnd_V1(
+ EventXplatEnabledSecurityCatchCallEnd_V1();
+Error |= FireEtXplatSecurityCatchCallEnd_V1(
win_UInt16
);
- EventEnabledCLRStackWalkPrivate();
-Error |= FireEtwCLRStackWalkPrivate(
+ EventXplatEnabledCLRStackWalkPrivate();
+Error |= FireEtXplatCLRStackWalkPrivate(
win_UInt16,
win_UInt8,
win_UInt8,
win_UInt32,
(const void**)&var11
);
- EventEnabledModuleRangeLoadPrivate();
-Error |= FireEtwModuleRangeLoadPrivate(
+ EventXplatEnabledModuleRangeLoadPrivate();
+Error |= FireEtXplatModuleRangeLoadPrivate(
win_UInt16,
win_UInt64,
win_UInt32,
win_UInt8,
win_UInt16
);
- EventEnabledBindingPolicyPhaseStart();
-Error |= FireEtwBindingPolicyPhaseStart(
+ EventXplatEnabledBindingPolicyPhaseStart();
+Error |= FireEtXplatBindingPolicyPhaseStart(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledBindingPolicyPhaseEnd();
-Error |= FireEtwBindingPolicyPhaseEnd(
+ EventXplatEnabledBindingPolicyPhaseEnd();
+Error |= FireEtXplatBindingPolicyPhaseEnd(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledBindingNgenPhaseStart();
-Error |= FireEtwBindingNgenPhaseStart(
+ EventXplatEnabledBindingNgenPhaseStart();
+Error |= FireEtXplatBindingNgenPhaseStart(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledBindingNgenPhaseEnd();
-Error |= FireEtwBindingNgenPhaseEnd(
+ EventXplatEnabledBindingNgenPhaseEnd();
+Error |= FireEtXplatBindingNgenPhaseEnd(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledBindingLookupAndProbingPhaseStart();
-Error |= FireEtwBindingLookupAndProbingPhaseStart(
+ EventXplatEnabledBindingLookupAndProbingPhaseStart();
+Error |= FireEtXplatBindingLookupAndProbingPhaseStart(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledBindingLookupAndProbingPhaseEnd();
-Error |= FireEtwBindingLookupAndProbingPhaseEnd(
+ EventXplatEnabledBindingLookupAndProbingPhaseEnd();
+Error |= FireEtXplatBindingLookupAndProbingPhaseEnd(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledLoaderPhaseStart();
-Error |= FireEtwLoaderPhaseStart(
+ EventXplatEnabledLoaderPhaseStart();
+Error |= FireEtXplatLoaderPhaseStart(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledLoaderPhaseEnd();
-Error |= FireEtwLoaderPhaseEnd(
+ EventXplatEnabledLoaderPhaseEnd();
+Error |= FireEtXplatLoaderPhaseEnd(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledBindingPhaseStart();
-Error |= FireEtwBindingPhaseStart(
+ EventXplatEnabledBindingPhaseStart();
+Error |= FireEtXplatBindingPhaseStart(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledBindingPhaseEnd();
-Error |= FireEtwBindingPhaseEnd(
+ EventXplatEnabledBindingPhaseEnd();
+Error |= FireEtXplatBindingPhaseEnd(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledBindingDownloadPhaseStart();
-Error |= FireEtwBindingDownloadPhaseStart(
+ EventXplatEnabledBindingDownloadPhaseStart();
+Error |= FireEtXplatBindingDownloadPhaseStart(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledBindingDownloadPhaseEnd();
-Error |= FireEtwBindingDownloadPhaseEnd(
+ EventXplatEnabledBindingDownloadPhaseEnd();
+Error |= FireEtXplatBindingDownloadPhaseEnd(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledLoaderAssemblyInitPhaseStart();
-Error |= FireEtwLoaderAssemblyInitPhaseStart(
+ EventXplatEnabledLoaderAssemblyInitPhaseStart();
+Error |= FireEtXplatLoaderAssemblyInitPhaseStart(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledLoaderAssemblyInitPhaseEnd();
-Error |= FireEtwLoaderAssemblyInitPhaseEnd(
+ EventXplatEnabledLoaderAssemblyInitPhaseEnd();
+Error |= FireEtXplatLoaderAssemblyInitPhaseEnd(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledLoaderMappingPhaseStart();
-Error |= FireEtwLoaderMappingPhaseStart(
+ EventXplatEnabledLoaderMappingPhaseStart();
+Error |= FireEtXplatLoaderMappingPhaseStart(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledLoaderMappingPhaseEnd();
-Error |= FireEtwLoaderMappingPhaseEnd(
+ EventXplatEnabledLoaderMappingPhaseEnd();
+Error |= FireEtXplatLoaderMappingPhaseEnd(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledLoaderDeliverEventsPhaseStart();
-Error |= FireEtwLoaderDeliverEventsPhaseStart(
+ EventXplatEnabledLoaderDeliverEventsPhaseStart();
+Error |= FireEtXplatLoaderDeliverEventsPhaseStart(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledLoaderDeliverEventsPhaseEnd();
-Error |= FireEtwLoaderDeliverEventsPhaseEnd(
+ EventXplatEnabledLoaderDeliverEventsPhaseEnd();
+Error |= FireEtXplatLoaderDeliverEventsPhaseEnd(
win_UInt32,
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledEvidenceGenerated();
-Error |= FireEtwEvidenceGenerated(
+ EventXplatEnabledEvidenceGenerated();
+Error |= FireEtXplatEvidenceGenerated(
win_UInt32,
win_UInt32,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledModuleTransparencyComputationStart();
-Error |= FireEtwModuleTransparencyComputationStart(
+ EventXplatEnabledModuleTransparencyComputationStart();
+Error |= FireEtXplatModuleTransparencyComputationStart(
W(" Testing UnicodeString "),
win_UInt32,
win_UInt16
);
- EventEnabledModuleTransparencyComputationEnd();
-Error |= FireEtwModuleTransparencyComputationEnd(
+ EventXplatEnabledModuleTransparencyComputationEnd();
+Error |= FireEtXplatModuleTransparencyComputationEnd(
W(" Testing UnicodeString "),
win_UInt32,
win_Boolean,
win_UInt32,
win_UInt16
);
- EventEnabledTypeTransparencyComputationStart();
-Error |= FireEtwTypeTransparencyComputationStart(
+ EventXplatEnabledTypeTransparencyComputationStart();
+Error |= FireEtXplatTypeTransparencyComputationStart(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
win_UInt32,
win_UInt16
);
- EventEnabledTypeTransparencyComputationEnd();
-Error |= FireEtwTypeTransparencyComputationEnd(
+ EventXplatEnabledTypeTransparencyComputationEnd();
+Error |= FireEtXplatTypeTransparencyComputationEnd(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
win_UInt32,
win_Boolean,
win_UInt16
);
- EventEnabledMethodTransparencyComputationStart();
-Error |= FireEtwMethodTransparencyComputationStart(
+ EventXplatEnabledMethodTransparencyComputationStart();
+Error |= FireEtXplatMethodTransparencyComputationStart(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
win_UInt32,
win_UInt16
);
- EventEnabledMethodTransparencyComputationEnd();
-Error |= FireEtwMethodTransparencyComputationEnd(
+ EventXplatEnabledMethodTransparencyComputationEnd();
+Error |= FireEtXplatMethodTransparencyComputationEnd(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
win_UInt32,
win_Boolean,
win_UInt16
);
- EventEnabledFieldTransparencyComputationStart();
-Error |= FireEtwFieldTransparencyComputationStart(
+ EventXplatEnabledFieldTransparencyComputationStart();
+Error |= FireEtXplatFieldTransparencyComputationStart(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
win_UInt32,
win_UInt16
);
- EventEnabledFieldTransparencyComputationEnd();
-Error |= FireEtwFieldTransparencyComputationEnd(
+ EventXplatEnabledFieldTransparencyComputationEnd();
+Error |= FireEtXplatFieldTransparencyComputationEnd(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
win_UInt32,
win_Boolean,
win_UInt16
);
- EventEnabledTokenTransparencyComputationStart();
-Error |= FireEtwTokenTransparencyComputationStart(
+ EventXplatEnabledTokenTransparencyComputationStart();
+Error |= FireEtXplatTokenTransparencyComputationStart(
win_UInt32,
W(" Testing UnicodeString "),
win_UInt32,
win_UInt16
);
- EventEnabledTokenTransparencyComputationEnd();
-Error |= FireEtwTokenTransparencyComputationEnd(
+ EventXplatEnabledTokenTransparencyComputationEnd();
+Error |= FireEtXplatTokenTransparencyComputationEnd(
win_UInt32,
W(" Testing UnicodeString "),
win_UInt32,
win_Boolean,
win_UInt16
);
- EventEnabledNgenBindEvent();
-Error |= FireEtwNgenBindEvent(
+ EventXplatEnabledNgenBindEvent();
+Error |= FireEtXplatNgenBindEvent(
win_UInt16,
win_UInt64,
win_UInt32,
W(" Testing UnicodeString ")
);
- EventEnabledFailFast();
-Error |= FireEtwFailFast(
+ EventXplatEnabledFailFast();
+Error |= FireEtXplatFailFast(
W(" Testing UnicodeString "),
(const void*)var11,
win_UInt32,
win_UInt32,
win_UInt16
);
- EventEnabledPrvFinalizeObject();
-Error |= FireEtwPrvFinalizeObject(
+ EventXplatEnabledPrvFinalizeObject();
+Error |= FireEtXplatPrvFinalizeObject(
(const void*)var11,
(const void*)var11,
win_UInt16,
W(" Testing UnicodeString ")
);
- EventEnabledCCWRefCountChange();
-Error |= FireEtwCCWRefCountChange(
+ EventXplatEnabledCCWRefCountChange();
+Error |= FireEtXplatCCWRefCountChange(
(const void*)var11,
(const void*)var11,
(const void*)var11,
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledPrvSetGCHandle();
-Error |= FireEtwPrvSetGCHandle(
+ EventXplatEnabledPrvSetGCHandle();
+Error |= FireEtXplatPrvSetGCHandle(
(const void*)var11,
(const void*)var11,
win_UInt32,
win_UInt64,
win_UInt16
);
- EventEnabledPrvDestroyGCHandle();
-Error |= FireEtwPrvDestroyGCHandle(
+ EventXplatEnabledPrvDestroyGCHandle();
+Error |= FireEtXplatPrvDestroyGCHandle(
(const void*)var11,
win_UInt16
);
- EventEnabledFusionMessageEvent();
-Error |= FireEtwFusionMessageEvent(
+ EventXplatEnabledFusionMessageEvent();
+Error |= FireEtXplatFusionMessageEvent(
win_UInt16,
win_Boolean,
W(" Testing UnicodeString ")
);
- EventEnabledFusionErrorCodeEvent();
-Error |= FireEtwFusionErrorCodeEvent(
+ EventXplatEnabledFusionErrorCodeEvent();
+Error |= FireEtXplatFusionErrorCodeEvent(
win_UInt16,
win_UInt32,
win_UInt32
);
- EventEnabledPinPlugAtGCTime();
-Error |= FireEtwPinPlugAtGCTime(
+ EventXplatEnabledPinPlugAtGCTime();
+Error |= FireEtXplatPinPlugAtGCTime(
(const void*)var11,
(const void*)var11,
(const void*)var11,
win_UInt16
);
- EventEnabledAllocRequest();
-Error |= FireEtwAllocRequest(
+ EventXplatEnabledAllocRequest();
+Error |= FireEtXplatAllocRequest(
(const void*)var11,
(const void*)var11,
win_UInt32,
win_UInt64,
win_UInt16
);
- EventEnabledMulticoreJit();
-Error |= FireEtwMulticoreJit(
+ EventXplatEnabledMulticoreJit();
+Error |= FireEtXplatMulticoreJit(
win_UInt16,
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
win_Int32,
win_Int32
);
- EventEnabledMulticoreJitMethodCodeReturned();
-Error |= FireEtwMulticoreJitMethodCodeReturned(
+ EventXplatEnabledMulticoreJitMethodCodeReturned();
+Error |= FireEtXplatMulticoreJitMethodCodeReturned(
win_UInt16,
win_UInt64,
win_UInt64
);
- EventEnabledIInspectableRuntimeClassName();
-Error |= FireEtwIInspectableRuntimeClassName(
+ EventXplatEnabledIInspectableRuntimeClassName();
+Error |= FireEtXplatIInspectableRuntimeClassName(
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledWinRTUnbox();
-Error |= FireEtwWinRTUnbox(
+ EventXplatEnabledWinRTUnbox();
+Error |= FireEtXplatWinRTUnbox(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledCreateRCW();
-Error |= FireEtwCreateRCW(
+ EventXplatEnabledCreateRCW();
+Error |= FireEtXplatCreateRCW(
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledRCWVariance();
-Error |= FireEtwRCWVariance(
+ EventXplatEnabledRCWVariance();
+Error |= FireEtXplatRCWVariance(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledRCWIEnumerableCasting();
-Error |= FireEtwRCWIEnumerableCasting(
+ EventXplatEnabledRCWIEnumerableCasting();
+Error |= FireEtXplatRCWIEnumerableCasting(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledCreateCCW();
-Error |= FireEtwCreateCCW(
+ EventXplatEnabledCreateCCW();
+Error |= FireEtXplatCreateCCW(
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledCCWVariance();
-Error |= FireEtwCCWVariance(
+ EventXplatEnabledCCWVariance();
+Error |= FireEtXplatCCWVariance(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledObjectVariantMarshallingToNative();
-Error |= FireEtwObjectVariantMarshallingToNative(
+ EventXplatEnabledObjectVariantMarshallingToNative();
+Error |= FireEtXplatObjectVariantMarshallingToNative(
W(" Testing UnicodeString "),
win_Int32,
win_UInt16
);
- EventEnabledGetTypeFromGUID();
-Error |= FireEtwGetTypeFromGUID(
+ EventXplatEnabledGetTypeFromGUID();
+Error |= FireEtXplatGetTypeFromGUID(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledGetTypeFromProgID();
-Error |= FireEtwGetTypeFromProgID(
+ EventXplatEnabledGetTypeFromProgID();
+Error |= FireEtXplatGetTypeFromProgID(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledConvertToCallbackEtw();
-Error |= FireEtwConvertToCallbackEtw(
+ EventXplatEnabledConvertToCallbackEtw();
+Error |= FireEtXplatConvertToCallbackEtw(
W(" Testing UnicodeString "),
W(" Testing UnicodeString "),
win_UInt16
);
- EventEnabledBeginCreateManagedReference();
-Error |= FireEtwBeginCreateManagedReference(
+ EventXplatEnabledBeginCreateManagedReference();
+Error |= FireEtXplatBeginCreateManagedReference(
win_UInt16
);
- EventEnabledEndCreateManagedReference();
-Error |= FireEtwEndCreateManagedReference(
+ EventXplatEnabledEndCreateManagedReference();
+Error |= FireEtXplatEndCreateManagedReference(
win_UInt16
);
- EventEnabledObjectVariantMarshallingToManaged();
-Error |= FireEtwObjectVariantMarshallingToManaged(
+ EventXplatEnabledObjectVariantMarshallingToManaged();
+Error |= FireEtXplatObjectVariantMarshallingToManaged(
W(" Testing UnicodeString "),
win_Int32,
win_UInt16
echo ' --runFailingTestsOnly : Run only the tests that are disabled on this platform due to unexpected failures.'
echo ' Failing tests are listed in coreclr/tests/failingTestsOutsideWindows.txt, one per'
echo ' line, as paths to .sh files relative to the directory specified by --testRootDir.'
+ echo ' --disableEventLogging : Disable the events logged by both VM and Managed Code'
echo ' --sequential : Run tests sequentially (default is to run in parallel).'
echo ' -v, --verbose : Show output from each test.'
echo ' -h|--help : Show usage information.'
mscorlibDir=
coreFxBinDir=
coreFxNativeBinDir=
+((disableEventLogging = 0))
# Handle arguments
verbose=0
--runFailingTestsOnly)
((runFailingTestsOnly = 1))
;;
+ --disableEventLogging)
+ ((disableEventLogging = 1))
+ ;;
--sequential)
((maxProcesses = 1))
;;
esac
done
+if (( disableEventLogging == 0)); then
+ export COMPlus_EnableEventLog=1
+fi
+
if [ -z "$testRootDir" ]; then
echo "--testRootDir is required."
print_usage