Skip to contentSkip to conversation

libtraceevent Documentation: Fix tep_kbuffer() prototype

PATCH New Steven Rostedt 1 participant 1 message Dec 29, 2023 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libtraceevent Documentation: Fix tep_kbuffer() prototype

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

The tep_kbuffer() prototype was missing from its man page and was broken in the libtraceevent top man page.

Fixes 6e637fba207d4 ("libtraceevent: Rename kbuffer_create() to tep_kbuffer()")
---
 Documentation/libtraceevent-handle.txt | 1 +
 Documentation/libtraceevent.txt        | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
Documentation/libtraceevent-handle.txt +1 -0
index 64528ebc3433..fd55712db705 100644
@@ -17,6 +17,7 @@ void *tep_free*(struct tep_handle pass:[*]_tep_);
 void *tep_ref*(struct tep_handle pass:[*]_tep_);
 void *tep_unref*(struct tep_handle pass:[*]_tep_);
 int *tep_get_ref*(struct tep_handle pass:[*]_tep_);
+struct kbuffer pass:[*]*tep_kbuffer*(struct tep_handle pass:[*]_tep_);
 --
 
 DESCRIPTION
Documentation/libtraceevent.txt +1 -1
index 26e3ad2523db..9e7777283c52 100644
@@ -33,7 +33,7 @@ Management of tep handler data structure and access of its members:
 	int *tep_get_header_timestamp_size*(struct tep_handle pass:[*]_tep_);
 	bool *tep_is_old_format*(struct tep_handle pass:[*]_tep_);
 	int *tep_strerror*(struct tep_handle pass:[*]_tep_, enum tep_errno _errnum_, char pass:[*]_buf_, size_t _buflen_);
-	struct kbuffer pass:[*]*tep_kbuffer*(struct tep_handle pass:[*]:_tep_);
+	struct kbuffer pass:[*]*tep_kbuffer*(struct tep_handle pass:[*]_tep_);
 
 Register / unregister APIs:
 	int *tep_register_function*(struct tep_handle pass:[*]_tep_, char pass:[*]_name_, unsigned long long _addr_, char pass:[*]_mod_);
Signature · 1 line
2.42.0