From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx> 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. 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 | 325 +++++++++++++++++----------- 5 files changed, 664 insertions(+), 192 deletions(-) create mode 100644 Documentation/libtracefs-synth2.txt -- 2.30.2