Make Unix event tracing conditionally enabled
Make Unix event tracing conditionally enabled

Add condition around the expensive event tracing code to enable it conditionally only if the event tracing is enabled

cydhaselton/coreclr,chuck-mitchell/coreclr,chuck-mitchell/coreclr,chuck-mitchell/coreclr,mmitche/coreclr,yeaicc/coreclr,wkchoy74/coreclr,krk/coreclr,mskvortsov/coreclr,bartonjs/coreclr,shahid-pk/coreclr,roncain/coreclr,yeaicc/coreclr,Lucrecious/coreclr,tijoytom/coreclr,Lucrecious/coreclr,JonHanna/coreclr,yeaicc/coreclr,ruben-ayrapetyan/coreclr,bartonjs/coreclr,YongseopKim/coreclr,alexperovich/coreclr,cmckinsey/coreclr,martinwoodward/coreclr,tijoytom/coreclr,kyulee1/coreclr,sjsinju/coreclr,YongseopKim/coreclr,mokchhya/coreclr,JonHanna/coreclr,shahid-pk/coreclr,russellhadley/coreclr,ramarag/coreclr,wkchoy74/coreclr,sagood/coreclr,russellhadley/coreclr,jhendrixMSFT/coreclr,swgillespie/coreclr,vinnyrom/coreclr,schellap/coreclr,YongseopKim/coreclr,benpye/coreclr,tijoytom/coreclr,Dmitry-Me/coreclr,schellap/coreclr,sagood/coreclr,mokchhya/coreclr,parjong/coreclr,rartemev/coreclr,Godin/coreclr,andschwa/coreclr,neurospeech/coreclr,poizan42/coreclr,sejongoh/coreclr,mokchhya/coreclr,mmitche/coreclr,SlavaRa/coreclr,rartemev/coreclr,mmitche/coreclr,krytarowski/coreclr,gkhanna79/coreclr,LLITCHEV/coreclr,mskvortsov/coreclr,James-Ko/coreclr,bartdesmet/coreclr,alexperovich/coreclr,alexperovich/coreclr,sperling/coreclr,sperling/coreclr,wkchoy74/coreclr,roncain/coreclr,ramarag/coreclr,wtgodbe/coreclr,cydhaselton/coreclr,manu-silicon/coreclr,Lucrecious/coreclr,alexperovich/coreclr,swgillespie/coreclr,bartonjs/coreclr,gkhanna79/coreclr,martinwoodward/coreclr,ruben-ayrapetyan/coreclr,poizan42/coreclr,ramarag/coreclr,naamunds/coreclr,dpodder/coreclr,yizhang82/coreclr,mskvortsov/coreclr,roncain/coreclr,neurospeech/coreclr,cmckinsey/coreclr,vinnyrom/coreclr,jamesqo/coreclr,Godin/coreclr,josteink/coreclr,neurospeech/coreclr,cmckinsey/coreclr,dasMulli/coreclr,russellhadley/coreclr,LLITCHEV/coreclr,sejongoh/coreclr,jhendrixMSFT/coreclr,dpodder/coreclr,naamunds/coreclr,yizhang82/coreclr,bartonjs/coreclr,gkhanna79/coreclr,mmitche/coreclr,dpodder/coreclr,wtgodbe/coreclr,mmitche/coreclr,dasMulli/coreclr,yizhang82/coreclr,ragmani/coreclr,mskvortsov/coreclr,LLITCHEV/coreclr,mskvortsov/coreclr,schellap/coreclr,sperling/coreclr,shahid-pk/coreclr,chuck-mitchell/coreclr,hseok-oh/coreclr,shahid-pk/coreclr,bartonjs/coreclr,Dmitry-Me/coreclr,sejongoh/coreclr,swgillespie/coreclr,Godin/coreclr,josteink/coreclr,ZhichengZhu/coreclr,krytarowski/coreclr,JonHanna/coreclr,AlexGhiondea/coreclr,qiudesong/coreclr,KrzysztofCwalina/coreclr,ruben-ayrapetyan/coreclr,ramarag/coreclr,wateret/coreclr,hseok-oh/coreclr,mocsy/coreclr,wkchoy74/coreclr,James-Ko/coreclr,ragmani/coreclr,krytarowski/coreclr,ZhichengZhu/coreclr,KrzysztofCwalina/coreclr,wtgodbe/coreclr,poizan42/coreclr,tijoytom/coreclr,Lucrecious/coreclr,James-Ko/coreclr,YongseopKim/coreclr,KrzysztofCwalina/coreclr,kyulee1/coreclr,jamesqo/coreclr,sperling/coreclr,cshung/coreclr,andschwa/coreclr,hseok-oh/coreclr,pgavlin/coreclr,schellap/coreclr,swgillespie/coreclr,SlavaRa/coreclr,mocsy/coreclr,parjong/coreclr,josteink/coreclr,dasMulli/coreclr,James-Ko/coreclr,gkhanna79/coreclr,hseok-oh/coreclr,JosephTremoulet/coreclr,SlavaRa/coreclr,rartemev/coreclr,JosephTremoulet/coreclr,martinwoodward/coreclr,YongseopKim/coreclr,krk/coreclr,dpodder/coreclr,wateret/coreclr,krk/coreclr,jamesqo/coreclr,JosephTremoulet/coreclr,JonHanna/coreclr,Dmitry-Me/coreclr,jamesqo/coreclr,roncain/coreclr,SlavaRa/coreclr,krk/coreclr,parjong/coreclr,chuck-mitchell/coreclr,tijoytom/coreclr,AlexGhiondea/coreclr,sjsinju/coreclr,krk/coreclr,manu-silicon/coreclr,dasMulli/coreclr,manu-silicon/coreclr,ramarag/coreclr,cshung/coreclr,sejongoh/coreclr,LLITCHEV/coreclr,pgavlin/coreclr,poizan42/coreclr,jhendrixMSFT/coreclr,botaberg/coreclr,cydhaselton/coreclr,mokchhya/coreclr,mmitche/coreclr,chuck-mitchell/coreclr,bartonjs/coreclr,krytarowski/coreclr,shahid-pk/coreclr,mocsy/coreclr,cshung/coreclr,qiudesong/coreclr,cydhaselton/coreclr,martinwoodward/coreclr,LLITCHEV/coreclr,josteink/coreclr,shahid-pk/coreclr,swgillespie/coreclr,mocsy/coreclr,sagood/coreclr,yeaicc/coreclr,cmckinsey/coreclr,andschwa/coreclr,cmckinsey/coreclr,pgavlin/coreclr,mskvortsov/coreclr,yeaicc/coreclr,YongseopKim/coreclr,ruben-ayrapetyan/coreclr,kyulee1/coreclr,sperling/coreclr,manu-silicon/coreclr,ragmani/coreclr,ZhichengZhu/coreclr,manu-silicon/coreclr,schellap/coreclr,naamunds/coreclr,sejongoh/coreclr,neurospeech/coreclr,alexperovich/coreclr,gkhanna79/coreclr,mocsy/coreclr,bartdesmet/coreclr,JosephTremoulet/coreclr,dpodder/coreclr,martinwoodward/coreclr,vinnyrom/coreclr,kyulee1/coreclr,manu-silicon/coreclr,sejongoh/coreclr,JosephTremoulet/coreclr,wkchoy74/coreclr,andschwa/coreclr,Godin/coreclr,Dmitry-Me/coreclr,krytarowski/coreclr,cshung/coreclr,andschwa/coreclr,ZhichengZhu/coreclr,Lucrecious/coreclr,jhendrixMSFT/coreclr,JonHanna/coreclr,schellap/coreclr,josteink/coreclr,Lucrecious/coreclr,ragmani/coreclr,botaberg/coreclr,mocsy/coreclr,cmckinsey/coreclr,sjsinju/coreclr,ZhichengZhu/coreclr,wtgodbe/coreclr,botaberg/coreclr,benpye/coreclr,pgavlin/coreclr,Dmitry-Me/coreclr,ZhichengZhu/coreclr,JosephTremoulet/coreclr,wkchoy74/coreclr,qiudesong/coreclr,krk/coreclr,bartdesmet/coreclr,KrzysztofCwalina/coreclr,poizan42/coreclr,vinnyrom/coreclr,sperling/coreclr,parjong/coreclr,AlexGhiondea/coreclr,cydhaselton/coreclr,bartdesmet/coreclr,ramarag/coreclr,naamunds/coreclr,ruben-ayrapetyan/coreclr,hseok-oh/coreclr,vinnyrom/coreclr,dasMulli/coreclr,naamunds/coreclr,LLITCHEV/coreclr,sagood/coreclr,gkhanna79/coreclr,wateret/coreclr,cmckinsey/coreclr,mokchhya/coreclr,AlexGhiondea/coreclr,parjong/coreclr,wtgodbe/coreclr,benpye/coreclr,wateret/coreclr,botaberg/coreclr,ramarag/coreclr,swgillespie/coreclr,sjsinju/coreclr,dpodder/coreclr,russellhadley/coreclr,manu-silicon/coreclr,bartonjs/coreclr,mocsy/coreclr,Godin/coreclr,yeaicc/coreclr,vinnyrom/coreclr,Dmitry-Me/coreclr,Lucrecious/coreclr,Godin/coreclr,James-Ko/coreclr,alexperovich/coreclr,Dmitry-Me/coreclr,sagood/coreclr,bartdesmet/coreclr,neurospeech/coreclr,roncain/coreclr,sejongoh/coreclr,roncain/coreclr,martinwoodward/coreclr,hseok-oh/coreclr,pgavlin/coreclr,sperling/coreclr,parjong/coreclr,rartemev/coreclr,wkchoy74/coreclr,neurospeech/coreclr,jhendrixMSFT/coreclr,benpye/coreclr,LLITCHEV/coreclr,russellhadley/coreclr,rartemev/coreclr,wateret/coreclr,andschwa/coreclr,AlexGhiondea/coreclr,kyulee1/coreclr,yizhang82/coreclr,sagood/coreclr,botaberg/coreclr,ragmani/coreclr,roncain/coreclr,shahid-pk/coreclr,Godin/coreclr,ruben-ayrapetyan/coreclr,martinwoodward/coreclr,swgillespie/coreclr,tijoytom/coreclr,AlexGhiondea/coreclr,bartdesmet/coreclr,vinnyrom/coreclr,naamunds/coreclr,qiudesong/coreclr,ZhichengZhu/coreclr,mokchhya/coreclr,pgavlin/coreclr,josteink/coreclr,jhendrixMSFT/coreclr,cydhaselton/coreclr,andschwa/coreclr,sjsinju/coreclr,jhendrixMSFT/coreclr,KrzysztofCwalina/coreclr,qiudesong/coreclr,benpye/coreclr,wtgodbe/coreclr,sjsinju/coreclr,JonHanna/coreclr,jamesqo/coreclr,wateret/coreclr,poizan42/coreclr,botaberg/coreclr,chuck-mitchell/coreclr,yeaicc/coreclr,benpye/coreclr,krytarowski/coreclr,yizhang82/coreclr,schellap/coreclr,naamunds/coreclr,cshung/coreclr,dasMulli/coreclr,KrzysztofCwalina/coreclr,rartemev/coreclr,mokchhya/coreclr,josteink/coreclr,jamesqo/coreclr,yizhang82/coreclr,cshung/coreclr,KrzysztofCwalina/coreclr,russellhadley/coreclr,SlavaRa/coreclr,James-Ko/coreclr,SlavaRa/coreclr,ragmani/coreclr,kyulee1/coreclr,dasMulli/coreclr,benpye/coreclr,bartdesmet/coreclr,qiudesong/coreclr