c++ - How to prevent Visual Studio 2015 Update 2 to add telemetry_main_invoke_trigger? -
int main() { return 0; }
compiled in visual studio 2015 update 2 adds call telemetry_main_invoke_trigger
both debug , release binaries.
how can prevent this?
according microsoft’s steve carroll (development manager visual c++ team), can remove telemetry calls adding notelemetry.obj
command options of linker:
steve carroll explained removed in upcoming update 3:
our intent benign – our desire build framework investigate performance problems , improve quality of our optimizer should reports of slowdowns or endemic perf problems in field. apologize raising suspicion levels further not including crt source, oversight on our part. despite that, of investigated how mechanism works in nice detail. have called out, code trigger etw event which, when it’s turned on, emit timestamps , module loads events. event data can interpreted if customer gives symbol information (i.e. pdbs) data applicable customers actively seeking , willing share these pdbs part of investigation. haven’t gone through full exercise customers date though, , far relying on our established approaches investigate , address potential problems instead. plan remove these events in update 3. in meantime, remove dependency in update 2, should add notelemetry.obj linker command line.
Comments
Post a Comment