gpu: host1x: Remove unused host1x_channel_submit_complete tracepoint
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.
Signed-off-by Temitope obabi <[email protected]>
---
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
@@ -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