gpu: host1x: Remove unused host1x_channel_submit_complete tracepoint
PATCH 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. Remove it.
--- 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
Quoted 3 lines · Temitope obabi
The call to
trace_host1x_channel_submit_complete()was removed in commit625d4ffb438c("gpu: host1x: Rewrite syncpoint interrupt handling"), leaving the tracepoint definition unused. Remove it.
There is some text in the instructions about removing tracepoints that explains why removing tracepoints is important. That should appear here as well.
julia
Quoted 43 lines
Signed-off-by Temitope obabi <[email protected]>--- include/trace/events/host1x.h | 21 --------------------- 1 file changed, 21 deletions(-)include/trace/events/host1x.h +0
-22@@ -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), --2.53.0
Thanks, I'll check it out.
Quoted 58 lines · Julia Lawall
Quoted 3 lines · Temitope obabi
The call to
trace_host1x_channel_submit_complete()was removed in commit625d4ffb438c("gpu: host1x: Rewrite syncpoint interrupt handling"), leaving the tracepoint definition unused. Remove it.There is some text in the instructions about removing tracepoints that explains why removing tracepoints is important. That should appear here as well.
julia
Quoted 43 lines
Signed-off-by Temitope obabi <[email protected]>--- include/trace/events/host1x.h | 21 --------------------- 1 file changed, 21 deletions(-)include/trace/events/host1x.h +0
-22@@ -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), --2.53.0