]> git.dujemihanovic.xyz Git - linux.git/commit
tracepoint: Support iterating over tracepoints on modules
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Sun, 18 Aug 2024 10:42:58 +0000 (19:42 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Wed, 25 Sep 2024 14:23:44 +0000 (23:23 +0900)
commitd5dbf8b48a4620db771f399ed7fce32d447f04a6
treed54b094ee6bdd200eb462c68c6bfaf961210af5a
parentce4db753de21abfb7516ef64aff907813e8a8e3e
tracepoint: Support iterating over tracepoints on modules

Add for_each_module_tracepoint() for iterating over tracepoints
on modules. This is similar to the for_each_kernel_tracepoint()
but only for the tracepoints on modules (not including kernel
built-in tracepoints).

Link: https://lore.kernel.org/all/172397777800.286558.14554748203446214056.stgit@devnote2/
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
include/linux/tracepoint.h
kernel/tracepoint.c