aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorTvrtko Ursulin <[email protected]>2019-09-11 17:07:30 +0100
committerTvrtko Ursulin <[email protected]>2019-09-12 13:33:05 +0100
commit54fc577d90d01a28dbfccd277aa3de4d4abaf1ff (patch)
tree4dbfc89bb7f397d250ca83d097a7c4fec9db1362 /tools/perf/scripts/python/syscall-counts.py
parenta17592effdc16f3a51ef9c1dda30fe5c6d668263 (diff)
drm/i915/pmu: Skip busyness sampling when and where not needed
Since d0aa694b9239 ("drm/i915/pmu: Always sample an active ringbuffer") the cost of sampling the engine state on execlists platforms became a little bit higher when both engine busyness and one of the wait states are being monitored. (Previously the busyness sampling on legacy platforms was done via seqno comparison so there was no cost of mmio read.) We can avoid that by skipping busyness sampling when engine supports software busy stats and so avoid the cost of potential mmio read and sample accumulation. Signed-off-by: Tvrtko Ursulin <[email protected]> Cc: Chris Wilson <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions