libtracefs Documentation: Fix tracefs_cpu_snapshot_open() man pages
PATCH 1/1 libtracefs Documentation: Fix tracefs_cpu_snapshot_open() man pages
From: "Steven Rostedt (Google)" <[email protected]>
The tracefs_cpu_snapshot_open() prototype in the man page had a typo and it was also missing from the main libtracefs man page.
Signed-off-by Steven Rostedt (Google) <[email protected]>
--- Documentation/libtracefs-cpu-open.txt | 2 +- Documentation/libtracefs.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)
Documentation/libtracefs-cpu-open.txt +1 -1
@@ -18,7 +18,7 @@ void *tracefs_cpu_close*(struct tracefs_cpu pass:[*]_tcpu_); struct tracefs_cpu pass:[*]*tracefs_cpu_alloc_fd*(int _fd_, int _subbuf_size_, bool _nonblock_); void *tracefs_cpu_free_fd*(struct tracefs_cpu pass:[*]_tcpu_); -struct tracefs_cpu pass:[*]*tracefs_cpu_snapshot-open*(struct tracefs_instance pass:[*]_instance_, +struct tracefs_cpu pass:[*]*tracefs_cpu_snapshot_open*(struct tracefs_instance pass:[*]_instance_, int _cpu_, bool _nonblock_); --
Documentation/libtracefs.txt +2 -0
@@ -99,6 +99,8 @@ Snapshot buffer: cpu_set_t pass:[*]_cpus_, int _cpu_size_, int (pass:[*]_callback_)(struct tep_event pass:[*], struct tep_record pass:[*], int, void pass:[*]), void pass:[*]_callback_context_); + struct tracefs_cpu pass:[*]*tracefs_cpu_snapshot_open*(struct tracefs_instance pass:[*]_instance_, + int _cpu_, bool _nonblock_); Event filters: int *tracefs_filter_string_append*(struct tep_event pass:[*]_event_, char pass:[**]_filter_,
Signature · 1 line
2.43.0