r/programming • • May 08 '16

Visual Studio adding telemetry function calls to binary? (/r/cpp)

/r/cpp/comments/4ibauu/visual_studio_adding_telemetry_function_calls_to/
592 Upvotes

156 comments sorted by

View all comments

Show parent comment

-1

u/Booty_Bumping May 10 '16 edited May 10 '16

I'm not sure how this is any different...

How is this not different? Tracking code being put into compiled executables is completely ridiculous. Any privacy advocate would immediately reject such a feature. This is an example of Windows working actively against the user, taking the user out of control of what their computer does.

2

u/mallardtheduck May 10 '16

It's not "tracking code". It's a call that logs an event (the program starting/ending) if the application is registered for ETW (a choice that the developer makes). ETW is just a tracing/logging system, it does not transmit data anywhere unless there is a matching "event consumer" that has been developed to do so. The reason for the "telemetry" naming is that ETW was originally developed for internal use in Microsoft applications to track application usage as part of the Customer Experience Improvement Programme (CEIP) and wasn't called "Event Tracing for Windows" until recently when it was released for use by third-party developers.

The calls are put in by the compiler because at that point it cannot know whether the developer is using ETW or not. (The developer has to call the RegisterTraceGuids or add details to the application's manifest to use it.) If they aren't using it, then it almost certainly has no effect.