Skip to contentSkip to conversation

gpu: host1x: Remove unused host1x_channel_submit_complete tracepoint

PATCH New Temitope obabi 1 participant 1 message Oct 29 Tracing

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 gpu: host1x: Remove unused host1x_channel_submit_complete tracepoint

The call to trace_host1x_channel_submit_complete() was removed in commit 625d4ffb438c ("gpu: host1x: Rewrite syncpoint interrupt handling"), leaving the tracepoint definition unused.

Tracepoints that are defined take up around 5K each, even if they are not used. Remove it.

---
Changes in v3:
- Use the stock paragraph from Steven in the commit message and drop the sentence about performance

Changes in v2:
- Explain in the commit message why removing an unused tracepoint is worthwhile

AI disclosure: in v2 I used an AI assistant (Claude) to help word the last sentence of the commit message. That sentence is removed in v3.

 include/trace/events/host1x.h | 21 ---------------------
 1 file changed, 21 deletions(-)
include/trace/events/host1x.h +0 -21
index 1b6aeb7b177b..143a16e37703 100644
@@ -178,27 +178,6 @@ TRACE_EVENT(host1x_channel_submitted,
 		__get_str(name), __entry->syncpt_base, __entry->syncpt_max)
 );
 
-TRACE_EVENT(host1x_channel_submit_complete,
-	TP_PROTO(const char *name, int count, u32 thresh),
-
-	TP_ARGS(name, count, thresh),
-
-	TP_STRUCT__entry(
-		__string(name, name)
-		__field(int, count)
-		__field(u32, thresh)
-	),
-
-	TP_fast_assign(
-		__assign_str(name);
-		__entry->count = count;
-		__entry->thresh = thresh;
-	),
-
-	TP_printk("name=%s, count=%d, thresh=%d",
-		__get_str(name), __entry->count, __entry->thresh)
-);
-
 TRACE_EVENT(host1x_wait_cdma,
 	TP_PROTO(const char *name, u32 eventid),
 
Signature · 1 line
2.53.0