projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng add-trigger: some updates to event rule to new syntax
[lttng-tools.git]
/
tests
/
regression
/
tools
/
notification
/
test_notification_notifier_discarded_count
diff --git
a/tests/regression/tools/notification/test_notification_notifier_discarded_count
b/tests/regression/tools/notification/test_notification_notifier_discarded_count
index 51b6e04eba4a296f7aea4be030d2f6cc8e221099..dc75f8543f4ec4683cdf081b0a23ce24b9e33cb6 100755
(executable)
--- a/
tests/regression/tools/notification/test_notification_notifier_discarded_count
+++ b/
tests/regression/tools/notification/test_notification_notifier_discarded_count
@@
-78,7
+78,7
@@
function test_kernel_notifier_discarded_count
done
lttng_add_trigger_ok "$trigger_name" \
done
lttng_add_trigger_ok "$trigger_name" \
- --condition event-rule-matches --kernel lttng_test_filter_event \
+ --condition event-rule-matches --kernel
--name=
lttng_test_filter_event \
--action notify
trigger_discarded_nb=$(trigger_get_discarded_notif_number "$trigger_name")
--action notify
trigger_discarded_nb=$(trigger_get_discarded_notif_number "$trigger_name")
@@
-107,7
+107,7
@@
function test_kernel_notifier_discarded_count
# Enable another notifier and list it to confirm the counter was cleared.
lttng_add_trigger_ok "$trigger_name" \
# Enable another notifier and list it to confirm the counter was cleared.
lttng_add_trigger_ok "$trigger_name" \
- --condition event-rule-matches --kernel lttng_test_filter_event \
+ --condition event-rule-matches --kernel
--name=
lttng_test_filter_event \
--action notify
trigger_discarded_nb=$(trigger_get_discarded_notif_number "$trigger_name")
--action notify
trigger_discarded_nb=$(trigger_get_discarded_notif_number "$trigger_name")
@@
-129,13
+129,13
@@
function test_kernel_notifier_discarded_count_max_bucket
diag "Kernel event notifer error counter bucket limit"
for i in $(seq 3); do
lttng_add_trigger_ok "$i" \
diag "Kernel event notifer error counter bucket limit"
for i in $(seq 3); do
lttng_add_trigger_ok "$i" \
- --condition event-rule-matches --kernel my_event_that_doesnt_need_to_really_exist_$i \
+ --condition event-rule-matches --kernel
--name=
my_event_that_doesnt_need_to_really_exist_$i \
--action notify
done
for i in $(seq 4 5); do
lttng_add_trigger_fail "$i" \
--action notify
done
for i in $(seq 4 5); do
lttng_add_trigger_fail "$i" \
- --condition event-rule-matches --kernel my_event_that_doesnt_need_to_really_exist_$i \
+ --condition event-rule-matches --kernel
--name=
my_event_that_doesnt_need_to_really_exist_$i \
--action notify
done
--action notify
done
@@
-180,7
+180,7
@@
function test_ust_notifier_discarded_count
done
lttng_add_trigger_ok "$trigger_name" \
done
lttng_add_trigger_ok "$trigger_name" \
- --condition event-rule-matches --userspace tp:tptest \
+ --condition event-rule-matches --userspace
--name=
tp:tptest \
--action notify
trigger_discarded_nb=$(trigger_get_discarded_notif_number "$trigger_name")
--action notify
trigger_discarded_nb=$(trigger_get_discarded_notif_number "$trigger_name")
@@
-206,7
+206,7
@@
function test_ust_notifier_discarded_count
# Enable another notifier and list it to confirm the counter was cleared.
lttng_add_trigger_ok "$trigger_name" \
# Enable another notifier and list it to confirm the counter was cleared.
lttng_add_trigger_ok "$trigger_name" \
- --condition event-rule-matches --userspace tp:tptest \
+ --condition event-rule-matches --userspace
--name=
tp:tptest \
--action notify
trigger_discarded_nb=$(trigger_get_discarded_notif_number "$trigger_name")
--action notify
trigger_discarded_nb=$(trigger_get_discarded_notif_number "$trigger_name")
@@
-226,13
+226,13
@@
function test_ust_notifier_discarded_count_max_bucket
diag "UST event notifer error counter bucket limit"
for i in $(seq 3); do
lttng_add_trigger_ok "$i" \
diag "UST event notifer error counter bucket limit"
for i in $(seq 3); do
lttng_add_trigger_ok "$i" \
- --condition event-rule-matches --userspace my_event_that_doesnt_need_to_really_exist_$i \
+ --condition event-rule-matches --userspace
--name=
my_event_that_doesnt_need_to_really_exist_$i \
--action notify
done
for i in $(seq 4 5); do
lttng_add_trigger_fail "$i" \
--action notify
done
for i in $(seq 4 5); do
lttng_add_trigger_fail "$i" \
- --condition event-rule-matches --userspace my_event_that_doesnt_need_to_really_exist_$i \
+ --condition event-rule-matches --userspace
--name=
my_event_that_doesnt_need_to_really_exist_$i \
--action notify
done
--action notify
done
This page took
0.025395 seconds
and
5
git commands to generate.