I'd like finer grained scopes than full functions, and from poking around in the ETW documentation it's looking like the intended pattern for this is to emit ETW events and associate them into the trace. Would it be possible to support ETW events in the trace, so that code can emit context that's presented in the trace?
afaict I need the ability to attach my own user providers here:
|
user_providers.append(&mut super::coreclr::coreclr_xperf_args(props)); |
Maybe there's another better way to do this too, I'm just looking for any approach that would allow me to attach events generated at runtime to see in the trace when I've just got a big timeslice in one function
I'd like finer grained scopes than full functions, and from poking around in the ETW documentation it's looking like the intended pattern for this is to emit ETW events and associate them into the trace. Would it be possible to support ETW events in the trace, so that code can emit context that's presented in the trace?
afaict I need the ability to attach my own user providers here:
samply/samply/src/windows/xperf.rs
Line 70 in 382a2f9
Maybe there's another better way to do this too, I'm just looking for any approach that would allow me to attach events generated at runtime to see in the trace when I've just got a big timeslice in one function