aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorRobert Bragg <[email protected]>2016-11-07 19:49:52 +0000
committerDaniel Vetter <[email protected]>2016-11-22 14:38:13 +0100
commitd79651522e89c4ffa8992b48dfe449f0c583f809 (patch)
tree6495a5c3429bc98ca346756f9ae0c98492ce7b48 /tools/perf/scripts/python/syscall-counts.py
parent8a3003dd93e2db2e7c8edc316e2978f750ca0dc2 (diff)
drm/i915: Enable i915 perf stream for Haswell OA unit
Gen graphics hardware can be set up to periodically write snapshots of performance counters into a circular buffer via its Observation Architecture and this patch exposes that capability to userspace via the i915 perf interface. v2: Make sure to initialize ->specific_ctx_id when opening, without relying on _pin_notify hook, in case ctx already pinned. v3: Revert back to pinning ctx upfront when opening stream, removing need to hook in to pinning and to update OACONTROL on the fly. Signed-off-by: Robert Bragg <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]> Cc: Chris Wilson <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Reviewed-by: Sourab Gupta <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions