[igt-dev] [PATCH i-g-t v2] intel-gpu-overlay: Update for renamed tracepoints

Tvrtko Ursulin tursulin at ursulin.net
Thu Mar 15 10:01:22 UTC 2018


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Request tracepoints have been renames so update the tool to be able to
find them.

v2: Only support new names.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
---
 overlay/gpu-perf.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/overlay/gpu-perf.c b/overlay/gpu-perf.c
index 0abd937e3618..ea3480050ab9 100644
--- a/overlay/gpu-perf.c
+++ b/overlay/gpu-perf.c
@@ -90,9 +90,9 @@ struct tracepoint {
 	int global_seqno_field;
 	int plane_field;
 } tracepoints[TP_NB] = {
-	[TP_GEM_REQUEST_ADD]         = { .name = "i915/i915_gem_request_add", },
-	[TP_GEM_REQUEST_WAIT_BEGIN]  = { .name = "i915/i915_gem_request_wait_begin", },
-	[TP_GEM_REQUEST_WAIT_END]    = { .name = "i915/i915_gem_request_wait_end", },
+	[TP_GEM_REQUEST_ADD]         = { .name = "i915/i915_request_add", },
+	[TP_GEM_REQUEST_WAIT_BEGIN]  = { .name = "i915/i915_request_wait_begin", },
+	[TP_GEM_REQUEST_WAIT_END]    = { .name = "i915/i915_request_wait_end", },
 	[TP_FLIP_COMPLETE]           = { .name = "i915/flip_complete", },
 	[TP_GEM_RING_SYNC_TO]        = { .name = "i915/gem_ring_sync_to", },
 	[TP_GEM_RING_SWITCH_CONTEXT] = { .name = "i915/gem_ring_switch_context", },
-- 
2.14.1



More information about the igt-dev mailing list