mbox series

[v2,0/7] libtracefs: Updates to the histograms for tracefs_sql()

Message ID 20210803164811.693731-1-rostedt@goodmis.org (mailing list archive)
Headers show
Series libtracefs: Updates to the histograms for tracefs_sql() | expand

Message

Steven Rostedt Aug. 3, 2021, 4:48 p.m. UTC
From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>

In preparation for tracefs_sql(), the histogram logic needs some updates.
Restructure the API a little better. Since the API has not been part of a
tagged release, it is still allowed to change.

Add a way to show a partially created synthetic event, which can be used by
tracefs_sql() for creating histograms.

Changes since v1:

 - Fixed tracefs_synth_get_start_hist() when more than one key existed.

Steven Rostedt (VMware) (7):
  libtracefs: Change the tracefs_hist API to not take an instance
    immediately
  libtracefs: Expose tracefs_hist_command() as an API
  libtracefs: Add API tracefs_hist_append_filter()
  libtracefs: Add API tracefs_hist_show()
  libtracefs: Split up libtracefs-synth man page
  libtracefs: Add API tracefs_synth_get_start_hist()
  libtracefs: Add API tracefs_synth_complete()

 Documentation/libtracefs-hist.txt   | 105 +++++++--
 Documentation/libtracefs-synth.txt  |  31 +--
 Documentation/libtracefs-synth2.txt | 247 +++++++++++++++++++++
 include/tracefs.h                   | 148 ++++++++++---
 src/tracefs-hist.c                  | 326 +++++++++++++++++-----------
 5 files changed, 665 insertions(+), 192 deletions(-)
 create mode 100644 Documentation/libtracefs-synth2.txt