Skip to content

libtracefs: Updates to event filtering

Steven Rostedt linux-trace-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6libtracefs: Update to version 1.3-devMakefile+2 -20 replies
2/6libtracefs: Rename GR and NQ to GT and NE respectivelyDocumentation/libtracefs-synth.txt include/tracefs.h src/tracefs-hist.c+6 -60 replies
3/6libtracefs: Append the synth filter with parens and conjunctionsDocumentation/libtracefs-synth.txt include/tracefs.h src/tracefs-hist.c+293 -1760 replies
4/6libtracefs: Add kerneldoc comments to the remaining synth functionssrc/tracefs-hist.c+69 -00 replies
5/6libtracefs: Add filter creating and verify APIinclude/tracefs-local.h include/tracefs.h src/Makefile +2 more+787 -2460 replies
6/6libtracefs: Add man pages for tracefs_event_append_filter()Documentation/libtracefs-filter.txt+329 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] libtracefs: Updates to event filtering

From: "Steven Rostedt (VMware)" <[email protected]>

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
Signature · 1 line
2.30.2