mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Reduce hw sample period.
This commit is contained in:
parent
089eda0be9
commit
c7026cbc1f
@ -785,7 +785,7 @@ static void SetupSampling( int64_t& samplingPeriod )
|
||||
pe = {};
|
||||
pe.type = PERF_TYPE_HARDWARE;
|
||||
pe.size = sizeof( perf_event_attr );
|
||||
pe.sample_freq = 5*1000*1000;
|
||||
pe.sample_freq = 1*1000*1000;
|
||||
pe.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID;
|
||||
pe.disabled = 1;
|
||||
pe.exclude_kernel = 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user