Re: Visual Studio 2015 and telemetry calls - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Visual Studio 2015 and telemetry calls
Date
Msg-id CAB7nPqQ1XvoBXHGfjNtZDwnbs-hMjn3-kiJiHiaXNgT30K8P9g@mail.gmail.com
Whole thread Raw
In response to Visual Studio 2015 and telemetry calls  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On Fri, Jul 22, 2016 at 11:45 AM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> Some people may have bumped into the following surprise for VS2015:
>
https://yro.slashdot.org/story/16/06/10/1350245/visual-studio-2015-c-compiler-secretly-inserts-telemetry-code-into-binaries
>
> VS 2015 is adding calls to telemetry (surprise!) to track activity of
> an application... I can't believe that everybody wants that as enabled
> and a workaround to disable it is to add notelemetry.obj to the linker
> visibly. So could we consider disabling telemetry as the default
> behavior when building Postgres? Anybody willing to enable that could
> just fork and hack the scripts in src/tools/msvc/.
>
> Thoughts?

Actually, it would not be weird to enable it in DEBUG builds but
disable it by default. After more research this can emit as well ETW
events for Windows (sort of equivalent of dtrace for Windows).
-- 
Michael



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Visual Studio 2015 and telemetry calls
Next
From: Etsuro Fujita
Date:
Subject: Re: Oddity in handling of cached plans for FDW queries