[PATCH 0/5] New filtering architecture

Nikolay Marchuk marchuk.nikolay.a at gmail.com
Mon Jun 26 07:45:35 UTC 2017


These patches implement new filtering architecture. Currently supported actions:
trace, inject, fault, read, write, raw, abbrev, verbose. Currently supported
filters: syscall, fd. New option for new filters is -m "...".
Changes in filtering language:
* Delimiter of action arguments is now ';'.
* Supported logical operators: and, or, not. Also C-like forms of these 
  operators are supported: &&, ||, !.
* Syscall filter accepts syscalls' set, class or regex with old set description
  syntax.

Nikolay Marchuk (5):
  Introduce new filtering architecture
  Implement parsing of inject and fault filter actions
  Improve fd filtering
  Optimize default filtering
  Implement new filtering language parsing

 Makefile.am         |   8 +-
 basic_actions.c     | 201 +++++++++++++++
 basic_filters.c     | 587 +++++++++++++++++++++++++++++++++++++++++++
 defs.h              |  20 +-
 filter.c            | 251 +++++++++++++++++++
 filter.h            |  69 ++++++
 filter_action.c     | 255 +++++++++++++++++++
 filter_expression.c | 239 ++++++++++++++++++
 filter_qualify.c    | 344 ++++++++++++++++++++++++++
 qualify.c           | 697 ----------------------------------------------------
 strace.c            |  22 +-
 syscall.c           |  31 +--
 12 files changed, 1980 insertions(+), 744 deletions(-)
 create mode 100644 basic_actions.c
 create mode 100644 basic_filters.c
 create mode 100644 filter.c
 create mode 100644 filter.h
 create mode 100644 filter_action.c
 create mode 100644 filter_expression.c
 create mode 100644 filter_qualify.c
 delete mode 100644 qualify.c

-- 
2.1.4





More information about the Strace-devel mailing list