From a26c7b0b036499a2db23b8a12afbc0291070e406 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 19 Dec 2023 20:28:14 +0200 Subject: [PATCH] intel/ds: new tracepoints for generated commands Signed-off-by: Lionel Landwerlin Reviewed-by: Kenneth Graunke Part-of: --- src/intel/ds/intel_driver_ds.cc | 1 + src/intel/ds/intel_tracepoints.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/intel/ds/intel_driver_ds.cc b/src/intel/ds/intel_driver_ds.cc index 7be037b70b3..8d87612c4ca 100644 --- a/src/intel/ds/intel_driver_ds.cc +++ b/src/intel/ds/intel_driver_ds.cc @@ -421,6 +421,7 @@ CREATE_DUAL_EVENT_CALLBACK(draw_mesh_indirect_count, INTEL_DS_QUEUE_STAGE_DRAW_M CREATE_DUAL_EVENT_CALLBACK(xfb, INTEL_DS_QUEUE_STAGE_CMD_BUFFER) CREATE_DUAL_EVENT_CALLBACK(compute, INTEL_DS_QUEUE_STAGE_COMPUTE) CREATE_DUAL_EVENT_CALLBACK(generate_draws, INTEL_DS_QUEUE_STAGE_INTERNAL_OPS) +CREATE_DUAL_EVENT_CALLBACK(generate_commands, INTEL_DS_QUEUE_STAGE_INTERNAL_OPS) CREATE_DUAL_EVENT_CALLBACK(trace_copy, INTEL_DS_QUEUE_STAGE_INTERNAL_OPS) CREATE_DUAL_EVENT_CALLBACK(trace_copy_cb, INTEL_DS_QUEUE_STAGE_INTERNAL_OPS) CREATE_DUAL_EVENT_CALLBACK(query_clear_blorp, INTEL_DS_QUEUE_STAGE_INTERNAL_OPS) diff --git a/src/intel/ds/intel_tracepoints.py b/src/intel/ds/intel_tracepoints.py index 49a45837060..49b70418edd 100644 --- a/src/intel/ds/intel_tracepoints.py +++ b/src/intel/ds/intel_tracepoints.py @@ -125,6 +125,7 @@ def define_tracepoints(args): # Indirect draw generation, only for Anv begin_end_tp('generate_draws') + begin_end_tp('generate_commands') # vkCmdResetQuery, only for Anv begin_end_tp('query_clear_blorp',