Skip to contentSkip to conversation

libtracefs: Update some man pages

PATCH New Steven Rostedt 1 participant 3 messages Sep 22, 2022 Documentation

lore
Share & tools
lore
#0 lore raw

cover libtracefs: Update some man pages

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

Some of the functions defined in the man pages were not referenced in the top level man page. Add them now.

Steven Rostedt (Google) (2):
libtracefs: Add tracefs_debug_dir() to generic libtracefs man page
libtracefs: Add tracefs_u{ret}probe_alloc to generic man page

 Documentation/libtracefs.txt | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Signature · 1 line
2.35.1
#1 lore raw

PATCH 1/2 libtracefs: Add tracefs_debug_dir() to generic libtracefs man page

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

The function tracefs_debug_dir() was missing from the generic libtracefs man page. Add it.

---
 Documentation/libtracefs.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/libtracefs.txt +1 -0
index 986557b6279c..470813d5cb40 100644
@@ -15,6 +15,7 @@ Locations of tracing files and directories:
 	char pass:[*]*tracefs_get_tracing_file*(const char pass:[*]_name_);
 	void *tracefs_put_tracing_file*(char pass:[*]_name_);
 	const char pass:[*]*tracefs_tracing_dir*(void);
+	const char pass:[*]*tracefs_debug_dir*(void);
 	int *tracefs_set_tracing_dir*(char pass:[*]_tracing_dir_)
 
 Trace instances:
Signature · 1 line
2.35.1
#2 lore raw

PATCH 2/2 libtracefs: Add tracefs_u{ret}probe_alloc to generic man page

In reply to Steven Rostedt

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

The functions tracefs_uprobe_alloc()) and tracefs_uretprobe_alloc() were missing from the generic libtracefs man page. Add them.

---
 Documentation/libtracefs.txt | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Documentation/libtracefs.txt +5 -1
index 470813d5cb40..f588ac26f9d4 100644
@@ -147,11 +147,15 @@ Dynamic event generic APIs:
 Even probes (eprobes):
 	struct tracefs_dynevent pass:[*] *tracefs_eprobe_alloc*(const char pass:[*]_system_, const char pass:[*]_event_, const char pass:[*]_target_system_, const char pass:[*]_target_event_, const char pass:[*]_fetchargs_);
 
-Kprobes and Kretprobes:
+Uprobes, Kprobes and Kretprobes:
 	struct tracefs_dynevent pass:[*] *tracefs_kprobe_alloc*(const char pass:[*]_system_, const char pass:[*]_event_, const char pass:[*]_addr_, const char pass:[*]_format_);
 	struct tracefs_dynevent pass:[*] *tracefs_kretprobe_alloc*(const char pass:[*]_system_, const char pass:[*]_event_, const char pass:[*]_addr_, const char pass:[*]_format_, unsigned int _max_);
 	int *tracefs_kprobe_raw*(const char pass:[*]_system_, const char pass:[*]_event_, const char pass:[*]_addr_, const char pass:[*]_format_);
 	int *tracefs_kretprobe_raw*(const char pass:[*]_system_, const char pass:[*]_event_, const char pass:[*]_addr_, const char pass:[*]_format_);
+	*tracefs_uprobe_alloc*(const char pass:[*]_system_, const char pass:[*]_event_,
+		     const char pass:[*]_file_, unsigned long long _offset_, const char pass:[*]_fetchargs_)
+	*tracefs_uretprobe_alloc*(const char pass:[*]_system_, const char pass:[*]_event_,
+		     const char pass:[*]_file_, unsigned long long _offset_, const char pass:[*]_fetchargs_);
 
 Synthetic events:
 	struct tracefs_synth pass:[*]*tracefs_sql*(struct tep_handle pass:[*]_tep_, const char pass:[*]_name_,
Signature · 1 line
2.35.1