mbox series

[0/6] libtracefs: Updates to event filtering

Message ID 20210730030307.574270-1-rostedt@goodmis.org (mailing list archive)
Headers show
Series libtracefs: Updates to event filtering | expand

Message

Steven Rostedt July 30, 2021, 3:03 a.m. UTC
From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>

First, move the version to 1.3-dev, as I found that installing this with a
newer stable (1.2.4), where this forked form stable at 1.2.1, kept code from
using this version.

Change "GR" and "NQ" to "GT" and "NE" to represent "greater than" and "not
equal" respectively.

Changed the way filters are built, to something that can easily be used, and
is less error prone.

Updated kerneldoc.

Added filtering APIs for normal events, and also a way to verify a filter.

Steven Rostedt (VMware) (6):
  libtracefs: Update to version 1.3-dev
  libtracefs: Rename GR and NQ to GT and NE respectively
  libtracefs: Append the synth filter with parens and conjunctions
  libtracefs: Add kerneldoc comments to the remaining synth functions
  libtracefs: Add filter creating and verify API
  libtracefs: Add man pages for tracefs_event_append_filter()

 Documentation/libtracefs-filter.txt | 329 ++++++++++++
 Documentation/libtracefs-synth.txt  |  78 +--
 Makefile                            |   4 +-
 include/tracefs-local.h             |  14 +
 include/tracefs.h                   |  42 +-
 src/Makefile                        |   1 +
 src/tracefs-filter.c                | 747 ++++++++++++++++++++++++++++
 src/tracefs-hist.c                  | 345 ++++++-------
 8 files changed, 1308 insertions(+), 252 deletions(-)
 create mode 100644 Documentation/libtracefs-filter.txt
 create mode 100644 src/tracefs-filter.c