Linux-Trace-Devel Archive mirror
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: linux-trace-devel@vger.kernel.org
Cc: "Steven Rostedt (Google)" <rostedt@goodmis.org>
Subject: [PATCH 00/23] libtracefs: Several updates
Date: Thu, 28 Dec 2023 15:35:22 -0500	[thread overview]
Message-ID: <20231228203714.53294-1-rostedt@goodmis.org> (raw)

From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

Spent the days between Christmas and New Years doing some updates
to the libtracefs library!

Steven Rostedt (Google) (23):
  libtracefs Documentation: Fix tracefs_event_file_exists() issues
  libtracefs testing: Use one tep handle for most tests
  libtracefs: Free "missed_followers" of instance
  libtracefs: Free buf in clear_func_filter()
  libtracefs: Free tracing_dir in case of remount
  libtracefs: Free dynamic event list in utest
  libtracefs: Reset tracing before and after unit tests
  libtracefs: Add API to remove followers from an instance or toplevel
  libtracefs: Increase splice to use pipe max size
  libtracefs: Add tracefs_instance_file_write_number()
  libtracefs: Add API to read tracefs_cpu and return a kbuffer
  libtracefs: Add tracefs_instance_get/set_buffer_percent()
  libtracefs: Add tracefs_instance_clear() API
  libtracefs utest: Add test to test
    tracefs_instance_set/get_buffer_percent()
  libtracefs: Add kerneldoc comments to
    tracefs_instance_set_buffer_size()
  libtracefs: Add tracefs_load_headers() API
  libtracefs: Add API to extract ring buffer statistics
  libtracefs: Add tracefs_instance_set/get_subbuf_size()
  libtracefs: Add ring buffer memory mapping APIs
  libtracefs: Add TIMESTAMP_USECS_DELTA to simplify SQL timestamp
    compares
  libtracefs: Also clear max_graph_depth on reset
  libtracefs: Add PID filtering API
  libtracefs: Add updating and reading snapshot buffers

 Documentation/libtracefs-cpu-buf.txt          | 171 ++++
 Documentation/libtracefs-cpu-map.txt          | 194 +++++
 Documentation/libtracefs-cpu-open.txt         |  16 +-
 Documentation/libtracefs-cpu.txt              |   3 +
 Documentation/libtracefs-events-file.txt      |   3 +-
 Documentation/libtracefs-events-tep.txt       |   7 +-
 Documentation/libtracefs-filter-pid.txt       | 181 +++++
 .../libtracefs-instances-file-manip.txt       |   9 +-
 Documentation/libtracefs-instances-manage.txt |   9 +-
 Documentation/libtracefs-instances-stat.txt   | 183 +++++
 Documentation/libtracefs-instances-subbuf.txt | 152 ++++
 Documentation/libtracefs-instances-utils.txt  |  28 +-
 Documentation/libtracefs-iterator.txt         |  38 +-
 Documentation/libtracefs-sql.txt              |  16 +
 Documentation/libtracefs.txt                  |  46 ++
 include/tracefs-local.h                       |  17 +
 include/tracefs.h                             |  58 ++
 samples/Makefile                              |   4 +
 src/Makefile                                  |   2 +
 src/tracefs-events.c                          | 218 ++++-
 src/tracefs-filter.c                          | 132 +++
 src/tracefs-instance.c                        |  84 ++
 src/tracefs-mmap.c                            | 190 +++++
 src/tracefs-record.c                          | 295 ++++++-
 src/tracefs-sqlhist.c                         |  64 +-
 src/tracefs-stats.c                           | 162 ++++
 src/tracefs-utils.c                           |  30 +-
 utest/tracefs-utest.c                         | 755 +++++++++++++++++-
 28 files changed, 2972 insertions(+), 95 deletions(-)
 create mode 100644 Documentation/libtracefs-cpu-buf.txt
 create mode 100644 Documentation/libtracefs-cpu-map.txt
 create mode 100644 Documentation/libtracefs-filter-pid.txt
 create mode 100644 Documentation/libtracefs-instances-stat.txt
 create mode 100644 Documentation/libtracefs-instances-subbuf.txt
 create mode 100644 src/tracefs-mmap.c
 create mode 100644 src/tracefs-stats.c

-- 
2.42.0


             reply	other threads:[~2023-12-28 20:36 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-28 20:35 Steven Rostedt [this message]
2023-12-28 20:35 ` [PATCH 01/23] libtracefs Documentation: Fix tracefs_event_file_exists() issues Steven Rostedt
2023-12-28 20:35 ` [PATCH 02/23] libtracefs testing: Use one tep handle for most tests Steven Rostedt
2023-12-28 20:35 ` [PATCH 03/23] libtracefs: Free "missed_followers" of instance Steven Rostedt
2023-12-28 20:35 ` [PATCH 04/23] libtracefs: Free buf in clear_func_filter() Steven Rostedt
2023-12-28 20:35 ` [PATCH 05/23] libtracefs: Free tracing_dir in case of remount Steven Rostedt
2023-12-28 20:35 ` [PATCH 06/23] libtracefs: Free dynamic event list in utest Steven Rostedt
2023-12-28 20:35 ` [PATCH 07/23] libtracefs: Reset tracing before and after unit tests Steven Rostedt
2023-12-28 20:35 ` [PATCH 08/23] libtracefs: Add API to remove followers from an instance or toplevel Steven Rostedt
2023-12-28 20:35 ` [PATCH 09/23] libtracefs: Increase splice to use pipe max size Steven Rostedt
2023-12-28 20:35 ` [PATCH 10/23] libtracefs: Add tracefs_instance_file_write_number() Steven Rostedt
2023-12-28 20:35 ` [PATCH 11/23] libtracefs: Add API to read tracefs_cpu and return a kbuffer Steven Rostedt
2023-12-28 20:35 ` [PATCH 12/23] libtracefs: Add tracefs_instance_get/set_buffer_percent() Steven Rostedt
2023-12-28 20:35 ` [PATCH 13/23] libtracefs: Add tracefs_instance_clear() API Steven Rostedt
2023-12-28 20:35 ` [PATCH 14/23] libtracefs utest: Add test to test tracefs_instance_set/get_buffer_percent() Steven Rostedt
2023-12-28 20:35 ` [PATCH 15/23] libtracefs: Add kerneldoc comments to tracefs_instance_set_buffer_size() Steven Rostedt
2023-12-28 20:35 ` [PATCH 16/23] libtracefs: Add tracefs_load_headers() API Steven Rostedt
2023-12-28 20:35 ` [PATCH 17/23] libtracefs: Add API to extract ring buffer statistics Steven Rostedt
2023-12-28 20:35 ` [PATCH 18/23] libtracefs: Add tracefs_instance_set/get_subbuf_size() Steven Rostedt
2023-12-28 20:35 ` [PATCH 19/23] libtracefs: Add ring buffer memory mapping APIs Steven Rostedt
2023-12-28 20:35 ` [PATCH 20/23] libtracefs: Add TIMESTAMP_USECS_DELTA to simplify SQL timestamp compares Steven Rostedt
2023-12-28 20:35 ` [PATCH 21/23] libtracefs: Also clear max_graph_depth on reset Steven Rostedt
2023-12-28 20:35 ` [PATCH 22/23] libtracefs: Add PID filtering API Steven Rostedt
2023-12-28 20:35 ` [PATCH 23/23] libtracefs: Add updating and reading snapshot buffers Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231228203714.53294-1-rostedt@goodmis.org \
    --to=rostedt@goodmis.org \
    --cc=linux-trace-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).