Re: Visual Studio 2015 and telemetry calls

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Visual Studio 2015 and telemetry calls
Date: 2016-07-22 02:50:52
Message-ID: CAB7nPqQ1XvoBXHGfjNtZDwnbs-hMjn3-kiJiHiaXNgT30K8P9g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jul 22, 2016 at 11:45 AM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2016-07-22 03:41:06 Re: Oddity in handling of cached plans for FDW queries
Previous Message Michael Paquier 2016-07-22 02:45:29 Visual Studio 2015 and telemetry calls