From b2d5fe8e1fbc381d27c8c05bcf1adb1c72f17766 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 23 May 2021 19:03:11 +0200 Subject: [PATCH] Reduce sampling frequency. --- client/TracySysTrace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/TracySysTrace.cpp b/client/TracySysTrace.cpp index b364d019..b3dd31b2 100644 --- a/client/TracySysTrace.cpp +++ b/client/TracySysTrace.cpp @@ -787,7 +787,7 @@ static void SetupSampling( int64_t& samplingPeriod ) pe = {}; pe.type = PERF_TYPE_HARDWARE; pe.size = sizeof( perf_event_attr ); - pe.sample_freq = 10000; + pe.sample_freq = 5000; pe.sample_type = PERF_SAMPLE_IP; pe.disabled = 1; pe.exclude_kernel = 1;