Reduce sampling frequency.

This commit is contained in:
Bartosz Taudul 2021-05-23 19:03:11 +02:00
parent b1e4d16537
commit b2d5fe8e1f
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -787,7 +787,7 @@ static void SetupSampling( int64_t& samplingPeriod )
pe = {}; pe = {};
pe.type = PERF_TYPE_HARDWARE; pe.type = PERF_TYPE_HARDWARE;
pe.size = sizeof( perf_event_attr ); pe.size = sizeof( perf_event_attr );
pe.sample_freq = 10000; pe.sample_freq = 5000;
pe.sample_type = PERF_SAMPLE_IP; pe.sample_type = PERF_SAMPLE_IP;
pe.disabled = 1; pe.disabled = 1;
pe.exclude_kernel = 1; pe.exclude_kernel = 1;