aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <rostedt@goodmis.org>2024-01-11 17:15:04 -0500
committerSteven Rostedt (Google) <rostedt@goodmis.org>2024-01-11 17:50:58 -0500
commit56d07aeb09d6c063686971c051210ca679d39b0c (patch)
tree49c3e376d6bbb25f95d0018982bdffa27c2abf39
parent5659b730535a19fc823dea2dd7f64d34fa7a08b8 (diff)
downloadtrace-cmd-56d07aeb09d6c063686971c051210ca679d39b0c.tar.gz
libtracecmd: Fix comment for tracecmd_cpus()
The kerneldoc header of tracecmd_cpus() is tracecmd_page_size() and not tracecmd_cpus(). Fix it. Link: https://lore.kernel.org/linux-trace-devel/20240111171504.20d585ae@gandalf.local.home Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-rw-r--r--lib/trace-cmd/trace-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/trace-cmd/trace-input.c b/lib/trace-cmd/trace-input.c
index db2247b1..055b4e77 100644
--- a/lib/trace-cmd/trace-input.c
+++ b/lib/trace-cmd/trace-input.c
@@ -6345,7 +6345,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)