c++ - How to prevent Visual Studio 2015 Update 2 to add telemetry_main_invoke_trigger? -


a simple c++ console app

int main() {   return 0; } 

compiled in visual studio 2015 update 2 adds call telemetry_main_invoke_trigger both debug , release binaries.

enter image description here

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:

enter image description here

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

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -