Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

cdns3: Remove unused tracepoints

Tracepoints that are defined take up around 5K each, even if they are not
used. If they are defined and not used, then they waste memory for unused
code. Soon unused tracepoints will cause warnings.

Remove the unused tracepoints of the cdns3 subsystem. They are:
cdns3_mapped_request
cdns3_map_request
cdns3_stream_transfer_split
cdns3_stream_transfer_split_next_part

Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Acked-by: Peter Chen <peter.chen@kernel.org>
Link: https://lore.kernel.org/r/20250829015650.053498355@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Steven Rostedt and committed by
Greg Kroah-Hartman
1c15b2f8 56429b4a

-61
-61
drivers/usb/cdns3/cdns3-trace.h
··· 283 283 __entry->length) 284 284 ); 285 285 286 - DECLARE_EVENT_CLASS(cdns3_stream_split_transfer_len, 287 - TP_PROTO(struct cdns3_request *req), 288 - TP_ARGS(req), 289 - TP_STRUCT__entry( 290 - __string(name, req->priv_ep->name) 291 - __field(struct cdns3_request *, req) 292 - __field(unsigned int, length) 293 - __field(unsigned int, actual) 294 - __field(unsigned int, stream_id) 295 - ), 296 - TP_fast_assign( 297 - __assign_str(name); 298 - __entry->req = req; 299 - __entry->actual = req->request.length; 300 - __entry->length = req->request.actual; 301 - __entry->stream_id = req->request.stream_id; 302 - ), 303 - TP_printk("%s: req: %p,request length: %u actual length: %u SID: %u", 304 - __get_str(name), __entry->req, __entry->length, 305 - __entry->actual, __entry->stream_id) 306 - ); 307 - 308 - DEFINE_EVENT(cdns3_stream_split_transfer_len, cdns3_stream_transfer_split, 309 - TP_PROTO(struct cdns3_request *req), 310 - TP_ARGS(req) 311 - ); 312 - 313 - DEFINE_EVENT(cdns3_stream_split_transfer_len, 314 - cdns3_stream_transfer_split_next_part, 315 - TP_PROTO(struct cdns3_request *req), 316 - TP_ARGS(req) 317 - ); 318 - 319 286 DECLARE_EVENT_CLASS(cdns3_log_aligned_request, 320 287 TP_PROTO(struct cdns3_request *priv_req), 321 288 TP_ARGS(priv_req), ··· 319 352 DEFINE_EVENT(cdns3_log_aligned_request, cdns3_prepare_aligned_request, 320 353 TP_PROTO(struct cdns3_request *req), 321 354 TP_ARGS(req) 322 - ); 323 - 324 - DECLARE_EVENT_CLASS(cdns3_log_map_request, 325 - TP_PROTO(struct cdns3_request *priv_req), 326 - TP_ARGS(priv_req), 327 - TP_STRUCT__entry( 328 - __string(name, priv_req->priv_ep->name) 329 - __field(struct usb_request *, req) 330 - __field(void *, buf) 331 - __field(dma_addr_t, dma) 332 - ), 333 - TP_fast_assign( 334 - __assign_str(name); 335 - __entry->req = &priv_req->request; 336 - __entry->buf = priv_req->request.buf; 337 - __entry->dma = priv_req->request.dma; 338 - ), 339 - TP_printk("%s: req: %p, req buf %p, dma %p", 340 - __get_str(name), __entry->req, __entry->buf, &__entry->dma 341 - ) 342 - ); 343 - DEFINE_EVENT(cdns3_log_map_request, cdns3_map_request, 344 - TP_PROTO(struct cdns3_request *req), 345 - TP_ARGS(req) 346 - ); 347 - DEFINE_EVENT(cdns3_log_map_request, cdns3_mapped_request, 348 - TP_PROTO(struct cdns3_request *req), 349 - TP_ARGS(req) 350 355 ); 351 356 352 357 DECLARE_EVENT_CLASS(cdns3_log_trb,