Skip to contentSkip to conversation

gpu: host1x: Remove unused host1x_channel_submit_complete tracepoint

PATCH Superseded Temitope obabi 2 participants 3 messages Oct 28 Tracing

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

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
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
#1 lore raw
Quoted 3 lines · Temitope obabi

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.

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
---
 include/trace/events/host1x.h | 21 ---------------------
 1 file changed, 21 deletions(-)
include/trace/events/host1x.h +0 -22
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),
 
--

2.53.0

#2 lore raw

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 commit 625d4ffb438c ("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
---
 include/trace/events/host1x.h | 21 ---------------------
 1 file changed, 21 deletions(-)
include/trace/events/host1x.h +0 -22
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),
 
--

2.53.0