Add support for star globbing patterns in event names
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sun, 19 Feb 2017 01:01:34 +0000 (20:01 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 20 Feb 2017 17:46:47 +0000 (12:46 -0500)
This patch adds support for full star-only globbing patterns used in
the event names (enabler names).

strutils_star_glob_match() is always used to perform the match when
the enabler is LTTNG_ENABLER_STAR_GLOB. This enabler is set when it is
detected that its name contains at least one non-escaped star with
strutils_is_star_glob_pattern().

The match is performed by strutils_star_glob_match(), the same function
that the filter interpreter uses.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>

No differences found
This page took 0.026153 seconds and 5 git commands to generate.