I need to get the CLR events whenever there is an GC allocation or clean up.
I got the provider's GUID and the events' codes from the link below
https://msdn.microsoft.com/en-us/library/ff357718(v=vs.110).aspx
But in the above msdn's link , another tool ( "xperf" ) is used to consume the events and read from the etl file.
In my case , I need to get "Callbacks" to my callback function whenever a CLR event is triggered. So that i will process the required data from it.
I need some clue/reference on how to do that , how to set the event trace properties to get call backs to my C++ function.