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)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 10 Mar 2017 16:24:04 +0000 (11:24 -0500)
commit4993071a89f88f92444cf62abdc0935efbc6c460
treed17717a9d586489282a2f9a0dc4b815ff0583718
parent02aca19338c57e5a26d11faedf031b90eaf4899c
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>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-abi.c
lttng-abi.h
lttng-events.c
lttng-events.h
This page took 0.026333 seconds and 4 git commands to generate.