1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Exclude VM-related stuff.

This commit is contained in:
Bartosz Taudul 2021-05-23 18:44:16 +02:00
parent fece23a32b
commit 4ad6f682c8
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -789,6 +789,8 @@ static void SetupSampling( int64_t& samplingPeriod )
pe.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID;
pe.disabled = 1;
pe.exclude_kernel = 1;
pe.exclude_guest = 1;
pe.exclude_hv = 1;
pe.freq = 1;
if( !noRetirement )
{