Given that DevTools already has this logging, is shareable, and most importantly, is cross-platform, what would be the benefit/value in logging via ETW?
>
> Hayden.
>
> --
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev
On Aug 8, 2014 12:03 AM, "Hayden Livingston" <halivi...@gmail.com> wrote:
>
> There is additional logging done by Windows and their components in ETW. For example, I wanted to see why Chrome was taking longer to route to our website, when on similar class machines, IE seemed unaffected. The ability to capture data from Windows and have it in that context is invaluable at times. In this case, I was able to narrow it down to the DNS resolver IE was using was different than Chrome. Only possible because I was able to follow the causality from IE to its DNS and see that Chrome was doing something else.
>
> Sawbuck has some limited logging, but it's not that great.
>
Right, this is part of why I was asking.
> I do get the cross-platform goodness of Chrome DevTools, but this is one of those things that the platform tooling goes a long way.
>
> How easy is it to get stuff like this in Chromium? I suppose there's always a case to demonstrate, but how does one show you guys the value.
Well, usually the good starting point is to compare with the existing implementation and identify what's missing.
Usually "another tool is easier" isn't a great case, but "this awesome thing isn't possible" is better.
I'm assuming you also looked at chrome://tracing, which is cross-platform and equally closer to some of those particular aspects of ETW? There's also work to surface additional data (from the network layer) up.
Usually, the questions relate to how much complexity is involved, how will it work on other platforms, are there better solutions to the problem, and is the technical debt worth the perceived rewards.
It's also important to keep perspective - when the code we ship goes to hundreds of millions of users, does this benefit them all (like, say, a new web platform feature)? Does it benefit a particular community (like DevTools does Web Developers)? Or is this a niche feature?
One signal used for that is stars on a bug, so if you still feel its useful, filing a bug and evangelizing it can help. If you're a developer looking to implement it, usually writing up a design doc, figuring out what would need to change, and sending it either to the OWNERS of the code affected by the design or, if broadly impacting, to chromium-dev (or one of the appropriate sub-team lists like net, media, GPU, etc), will help gauge receptiveness to the feature.
The bad path would be skipping all these and going straight to coding, which usually wastes your time and that of reviewers, who end up wanting to have that design discussion anyways :)
Sorry to be late, I was on vacation.The ETW support is implemented into Chrome a year ago and events are sent to the JSon files. As this is a 20% (more a 5% project), up-to now only the scheduling events are exported.The intern fdoray@ completed the missing work two weeks ago to parse the events into chrome-tracing project.I think a roll-deps of chrome-tracing project is still needed (see with nduca@).You need to run chrome as an administrator to have the rights to get system events.Elevation was planned for a future version. Decoding more types of events is also part of a future version.
--Etienne BergeronSyzygy team, Chrome
* Fixing fdoray email.On Wed, Aug 20, 2014 at 2:20 PM, Etienne Bergeron <etie...@google.com> wrote:
+fdorayfdoray@ wrote a CL* a year ago to get tracing events (chrome events) to ETW and use them for external analysis.
This is not hard to implement. But, the chrome tracing team doesn't see the advantage of exporting chrome events to ETW.
[*] https://codereview.chromium.org/23934003/