mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-13 02:46:23 +00:00
overlay: i915 pmu doesn't require a specific frequency
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
db35f8c6ad
commit
8b9f919b63
@ -96,9 +96,6 @@ static int perf_i915_open(int config, int group)
|
|||||||
return -ENOENT;
|
return -ENOENT;
|
||||||
attr.config = config;
|
attr.config = config;
|
||||||
|
|
||||||
attr.freq = 1;
|
|
||||||
attr.sample_freq = 1000;
|
|
||||||
|
|
||||||
attr.read_format = PERF_FORMAT_TOTAL_TIME_ENABLED;
|
attr.read_format = PERF_FORMAT_TOTAL_TIME_ENABLED;
|
||||||
if (group == -1)
|
if (group == -1)
|
||||||
attr.read_format |= PERF_FORMAT_GROUP;
|
attr.read_format |= PERF_FORMAT_GROUP;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user