Skip to contentSkip to conversation

libtracefs: Fix up man pages to display all functions

PATCH New Steven Rostedt 1 participant 1 message Feb 6, 2022 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libtracefs: Fix up man pages to display all functions

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

There are several functions in the man pages that are missing from being accessed in the man pages because, although they are described in a man page, they are not listed at the top of the man page, which means they do not get their own man page.

Have all functions described in the man pages get their own reference, so that people can find them easier. And one man page listed functions that were described in another man page. Fix that too.

---
 Documentation/libtracefs-dynevents.txt | 4 ++--
 Documentation/libtracefs-events.txt    | 4 ++--
 Documentation/libtracefs-filter.txt    | 2 +-
 Documentation/libtracefs-hist-cont.txt | 3 ++-
 Documentation/libtracefs-hist-mod.txt  | 2 +-
 Documentation/libtracefs-hist.txt      | 4 ++--
 6 files changed, 10 insertions(+), 9 deletions(-)
Documentation/libtracefs-dynevents.txt +2 -2
index b8cb8d40bf7a..2c6db4709bb2 100644
@@ -4,8 +4,8 @@ libtracefs(3)
 NAME
 ----
 tracefs_dynevent_create, tracefs_dynevent_destroy, tracefs_dynevent_destroy_all,
-tracefs_dynevent_free, tracefs_dynevent_list_free, tracefs_dynevent_get_all, tracefs_dynevent_info,
-tracefs_dynevent_get_event - Create, destroy, free and get dynamic events.
+tracefs_dynevent_free, tracefs_dynevent_list_free, tracefs_dynevent_get, tracefs_dynevent_get_all,
+tracefs_dynevent_info, tracefs_dynevent_get_event - Create, destroy, free and get dynamic events.
 
 SYNOPSIS
 --------
Documentation/libtracefs-events.txt +2 -2
index a3d7a11acf4b..3c2b95dcc762 100644
@@ -3,8 +3,8 @@ libtracefs(3)
 
 NAME
 ----
-tracefs_event_systems, tracefs_system_events, tracefs_iterate_raw_events -
-Work with trace systems and events.
+tracefs_event_systems, tracefs_system_events, tracefs_event_enable,
+tracefs_event_disable,  tracefs_iterate_raw_events - Work with trace systems and events.
 
 SYNOPSIS
 --------
Documentation/libtracefs-filter.txt +1 -1
index 501f093134df..12726b95ac3a 100644
@@ -3,7 +3,7 @@ libtracefs(3)
 
 NAME
 ----
-tracefs_filter_string_append, tracefs_filter_string_verify, tracefs_event_filter_apply tracefs_event_filter_clear -
+tracefs_filter_string_append, tracefs_filter_string_verify, tracefs_event_filter_apply, tracefs_event_filter_clear -
 Add, verify and apply event filters
 
 SYNOPSIS
Documentation/libtracefs-hist-cont.txt +2 -1
index 651aa0efe1f7..7159e274f0c9 100644
@@ -3,7 +3,8 @@ libtracefs(3)
 
 NAME
 ----
-tracefs_hist_pause, tracefs_hist_continue, tracefs_hist_reset - Pause, continue, or clear an existing histogram
+tracefs_hist_start, tracefs_hist_destroy, tracefs_hist_pause,
+tracefs_hist_continue, tracefs_hist_reset - Pause, continue, or clear an existing histogram
 
 SYNOPSIS
 --------
Documentation/libtracefs-hist-mod.txt +1 -1
index 1f4587b50903..b308c7e5e586 100644
@@ -4,7 +4,7 @@ libtracefs(3)
 NAME
 ----
 tracefs_hist_add_sort_key, tracefs_hist_set_sort_key, tracefs_hist_sort_key_direction,
-tracefs_hist_append_filter, tracefs_hist_echo_cmd, tracefs_hist_command,
+tracefs_hist_add_name, tracefs_hist_append_filter, tracefs_hist_echo_cmd, tracefs_hist_command,
 tracefs_hist_get_name, tracefs_hist_get_event, tracefs_hist_get_system - Update and describe an event histogram
 
 SYNOPSIS
Documentation/libtracefs-hist.txt +2 -2
index 858782b70dc2..3ac21cec70a2 100644
@@ -3,8 +3,8 @@ libtracefs(3)
 
 NAME
 ----
-tracefs_hist_alloc, tracefs_hist_free, tracefs_hist_add_key, tracefs_hist_add_value,
-tracefs_hist_add_name, tracefs_hist_start, tracefs_hist_destroy - Create and destroy event histograms
+tracefs_hist_alloc, tracefs_hist_alloc_2d, tracefs_hist_alloc_nd, tracefs_hist_free,
+tracefs_hist_add_key, tracefs_hist_add_value - Create and destroy event histograms
 
 SYNOPSIS
 --------
Signature · 1 line
2.34.1