Enable Portable ThreadPool events to be written using NativeRuntimeEventSource (#47829)
* match up the GUID
* why is this returning nothing
* Make ThreadPool emit events via NativeRuntimeEventSource
* found error...
* hack around having duplicate events generated
* make portable threadpool fire events through nativeruntimeeventsource
* make the initializer live in correct namespace
* EventListener tests are passing now
* make native QCall endpoints that sink into LTTng
* send events through XplatEventLogger sink
* Fix merge error
* double registration
* fix callback not getting handled when lttng is enabled
* cleanup 1
* rename file
* remove stale comments
* remove stale comment
* undo useless change
* fix broken EventListener
* apply code review feedback
* fix windows build
* fix incorrect qcall
* fix up ifdefs for Windows builds
* fix ifdef
* put back removed code
* tests pass now
* Fix NativeRuntimeEventSource not getting enabled for lttng
* Add some more comments
* Add comment in generated code
* fix mono build
* PR feedback
* fix typo
* code review feedback
15 files changed: