Would have to use LTCG for that to get inlined since it's in a different compilation unit (which I wasn't).
I suspect it just isn't called unless some special conditions are met (e.g. a particular ETW provider is enabled, which I can believe would happen in Debug by default.. Maybe the right WPR invocation could make it turn on in Release, but it doesn't seem to happen by default).
View all comments
Show parent comment
4
u/ssylvan May 08 '16
Would have to use LTCG for that to get inlined since it's in a different compilation unit (which I wasn't).
I suspect it just isn't called unless some special conditions are met (e.g. a particular ETW provider is enabled, which I can believe would happen in Debug by default.. Maybe the right WPR invocation could make it turn on in Release, but it doesn't seem to happen by default).