From 4ad6f682c89a8d3fc040ed4d844348367e9c4730 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 23 May 2021 18:44:16 +0200 Subject: [PATCH] Exclude VM-related stuff. --- client/TracySysTrace.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/TracySysTrace.cpp b/client/TracySysTrace.cpp index 8db5baca..9be31e8c 100644 --- a/client/TracySysTrace.cpp +++ b/client/TracySysTrace.cpp @@ -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 ) {