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)
commit585f60b59b2dc50f2e3887f59a3f31469311894f
tree901804b38fff5a15b985110be651957569d2f7e0
parente1f3e35f45c1f5c290d61b4ef9dcb1cff34b0af8
Add support for star globbing patterns in event names

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>
lttng-abi.c
lttng-abi.h
lttng-events.c
lttng-events.h
This page took 0.026278 seconds and 5 git commands to generate.