Skip to contentSkip to conversation

libtracecmd: Fix comment for tracecmd_cpus()

PATCH New Steven Rostedt 1 participant 1 message Jan 11, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libtracecmd: Fix comment for tracecmd_cpus()

From: "Steven Rostedt (Google)" <[email protected]>

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

---
 lib/trace-cmd/trace-input.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/trace-cmd/trace-input.c +1 -1
index a10d74cf6cf4..6297e34bde38 100644
@@ -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)
Signature · 1 line
2.43.0