projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
trigger: consider name in trigger _is_equal()`
[lttng-tools.git]
/
src
/
common
/
trigger.c
diff --git
a/src/common/trigger.c
b/src/common/trigger.c
index ad0d5df1ba9c26644f8ee08bb61245c0d244392b..b79b9e0448c6e624e6e819dc3a1b9fe254dc8382 100644
(file)
--- a/
src/common/trigger.c
+++ b/
src/common/trigger.c
@@
-393,9
+393,10
@@
bool lttng_trigger_is_equal(
return false;
}
- /*
- * Name is not taken into account since it is cosmetic only.
- */
+ if (strcmp(a->name, b->name) != 0) {
+ return false;
+ }
+
if (!lttng_condition_is_equal(a->condition, b->condition)) {
return false;
}
This page took
0.023426 seconds
and
4
git commands to generate.