diff mbox series

[v2,01/22] libtracefs Documentation: Fix tracefs_event_file_exists() issues

Message ID 20231228215433.54854-2-rostedt@goodmis.org (mailing list archive)
State Accepted
Commit adac30fafd0412ef5e0d9c140ecc86222488d4de
Headers show
Series libtracefs: Several updates | expand

Commit Message

Steven Rostedt Dec. 28, 2023, 9:51 p.m. UTC
From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

In the man pages, tracefs_event_file_exists() is missing a semicolon and in
the main man page, it's missing it's last parameter too.

Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
---
 Documentation/libtracefs-events-file.txt | 3 +--
 Documentation/libtracefs.txt             | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/Documentation/libtracefs-events-file.txt b/Documentation/libtracefs-events-file.txt
index 425eebd82e8d..1a298b3bbdaa 100644
--- a/Documentation/libtracefs-events-file.txt
+++ b/Documentation/libtracefs-events-file.txt
@@ -23,8 +23,7 @@  int *tracefs_event_file_append*(struct tracefs_instance pass:[*]_instance_, cons
 int *tracefs_event_file_clear*(struct tracefs_instance pass:[*]_instance_, const char pass:[*]_system_, const char pass:[*]_event_,
 			     const char pass:[*]_file_);
 bool *tracefs_event_file_exists*(struct tracefs_instance pass:[*]_instance_, const char pass:[*]_system_, const char pass:[*]_event_,
-			       const char pass:[*]_file_)
-
+			       const char pass:[*]_file_);
 --
 
 DESCRIPTION
diff --git a/Documentation/libtracefs.txt b/Documentation/libtracefs.txt
index 787636a32965..850118302ab2 100644
--- a/Documentation/libtracefs.txt
+++ b/Documentation/libtracefs.txt
@@ -87,6 +87,7 @@  Trace events:
 	int *tracefs_event_file_clear*(struct tracefs_instance pass:[*]_instance_, const char pass:[*]_system_, const char pass:[*]_event_,
 			     const char pass:[*]_file_);
 	bool *tracefs_event_file_exists*(struct tracefs_instance pass:[*]_instance_, const char pass:[*]_system_, const char pass:[*]_event_,
+			       const char pass:[*]_file_);
 
 Event filters:
 	int *tracefs_filter_string_append*(struct tep_event pass:[*]_event_, char pass:[**]_filter_,