event-trace-kit icon indicating copy to clipboard operation
event-trace-kit copied to clipboard

Ability to display events from remote devices

Open galli-leo opened this issue 6 years ago • 1 comments

Hi I am developing a Hololens application and using the UWP APIs to log messages to EWT:

_channel = new LoggingChannel(name, null, new Guid("4bd2826e-54a1-4ba9-bf63-92b73ea1ac4a"));
_channel.LogMessage(msg, level);

This works great when I run this locally on my machine. However, as soon as I run it on an actual device, the logs do not appear in your extension.

Is it possible to capture EWT events from remote devices with your extension? If not, could you add that as a feature?

galli-leo avatar Jun 07 '19 08:06 galli-leo

ETW sessions are local only. There's no built-in way to open a remote session. Which means there's no quick and easy solution to this that I'm aware of.

Similar to how remote debugging is enabled in Visual Studio by running a small server process on the remote machine, a trace session could be started and the events sent over the network. But it's quite a bit of work.

gix avatar Jun 20 '19 17:06 gix