projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: compile liblttng-ctl as C++
[lttng-tools.git]
/
src
/
common
/
filter
/
filter-visitor-ir-normalize-glob-patterns.c
diff --git
a/src/common/filter/filter-visitor-ir-normalize-glob-patterns.c
b/src/common/filter/filter-visitor-ir-normalize-glob-patterns.c
index d6a9132d3692f68a445914d8792b1e805fbd4d6e..999fc2ea1449fba60dcee58d4d049664dbb74824 100644
(file)
--- a/
src/common/filter/filter-visitor-ir-normalize-glob-patterns.c
+++ b/
src/common/filter/filter-visitor-ir-normalize-glob-patterns.c
@@
-13,7
+13,6
@@
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
-#include <assert.h>
#include <inttypes.h>
#include <common/compat/errno.h>
#include <inttypes.h>
#include <common/compat/errno.h>
@@
-42,7
+41,7
@@
int normalize_glob_patterns(struct ir_op *node)
node->u.load.u.string.type;
if (type == IR_LOAD_STRING_TYPE_GLOB_STAR_END ||
type == IR_LOAD_STRING_TYPE_GLOB_STAR) {
node->u.load.u.string.type;
if (type == IR_LOAD_STRING_TYPE_GLOB_STAR_END ||
type == IR_LOAD_STRING_TYPE_GLOB_STAR) {
-
assert
(node->u.load.u.string.value);
+
LTTNG_ASSERT
(node->u.load.u.string.value);
strutils_normalize_star_glob_pattern(
node->u.load.u.string.value);
}
strutils_normalize_star_glob_pattern(
node->u.load.u.string.value);
}
@@
-77,7
+76,6
@@
int normalize_glob_patterns(struct ir_op *node)
* utils_normalize_glob_pattern(). See the documentation of
* utils_normalize_glob_pattern() for more details.
*/
* utils_normalize_glob_pattern(). See the documentation of
* utils_normalize_glob_pattern() for more details.
*/
-LTTNG_HIDDEN
int filter_visitor_ir_normalize_glob_patterns(struct filter_parser_ctx *ctx)
{
return normalize_glob_patterns(ctx->ir_root);
int filter_visitor_ir_normalize_glob_patterns(struct filter_parser_ctx *ctx)
{
return normalize_glob_patterns(ctx->ir_root);
This page took
0.034112 seconds
and
4
git commands to generate.