diff mbox series

libtracecmd: Fix comment for tracecmd_cpus()

Message ID 20240111171504.20d585ae@gandalf.local.home (mailing list archive)
State Accepted
Commit 56d07aeb09d6c063686971c051210ca679d39b0c
Headers show
Series libtracecmd: Fix comment for tracecmd_cpus() | expand

Commit Message

Steven Rostedt Jan. 11, 2024, 10:15 p.m. UTC
From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

The kerneldoc header of tracecmd_cpus() is tracecmd_page_size() and not
tracecmd_cpus(). Fix it.

Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
---
 lib/trace-cmd/trace-input.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/lib/trace-cmd/trace-input.c b/lib/trace-cmd/trace-input.c
index a10d74cf6cf4..6297e34bde38 100644
--- a/lib/trace-cmd/trace-input.c
+++ b/lib/trace-cmd/trace-input.c
@@ -6342,7 +6342,7 @@  int tracecmd_page_size(struct tracecmd_input *handle)
 }
 
 /**
- * tracecmd_page_size - return the number of CPUs recorded
+ * tracecmd_cpus - return the number of CPUs recorded
  * @handle: input handle for the trace.dat file
  */
 int tracecmd_cpus(struct tracecmd_input *handle)