X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fnotification%2Ftest_notification_notifier_discarded_count;h=fa7ad1e40ff680163997a003ffe7966a508e6bbe;hp=3e25d169f41515487624ce1a94f459a6ca0cfe73;hb=695f70446965aeac8b1118bb08d572630c96114d;hpb=cade690d4a2d1c398be9a519295de5b959c3f8bc diff --git a/tests/regression/tools/notification/test_notification_notifier_discarded_count b/tests/regression/tools/notification/test_notification_notifier_discarded_count index 3e25d169f..fa7ad1e40 100755 --- 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" \ - --condition event-rule-matches --domain=kernel --name=lttng_test_filter_event \ + --condition event-rule-matches --type=kernel --name=lttng_test_filter_event \ --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" \ - --condition event-rule-matches --domain=kernel --name=lttng_test_filter_event \ + --condition event-rule-matches --type=kernel --name=lttng_test_filter_event \ --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" \ - --condition event-rule-matches --domain=kernel --name=my_event_that_doesnt_need_to_really_exist_$i \ + --condition event-rule-matches --type=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" \ - --condition event-rule-matches --domain=kernel --name=my_event_that_doesnt_need_to_really_exist_$i \ + --condition event-rule-matches --type=kernel --name=my_event_that_doesnt_need_to_really_exist_$i \ --action notify done @@ -180,7 +180,7 @@ function test_ust_notifier_discarded_count done lttng_add_trigger_ok "$trigger_name" \ - --condition event-rule-matches --domain=user --name=tp:tptest \ + --condition event-rule-matches --type=user --name=tp:tptest \ --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" \ - --condition event-rule-matches --domain=user --name=tp:tptest \ + --condition event-rule-matches --type=user --name=tp:tptest \ --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" \ - --condition event-rule-matches --domain=user --name=my_event_that_doesnt_need_to_really_exist_$i \ + --condition event-rule-matches --type=user --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" \ - --condition event-rule-matches --domain=user --name=my_event_that_doesnt_need_to_really_exist_$i \ + --condition event-rule-matches --type=user --name=my_event_that_doesnt_need_to_really_exist_$i \ --action notify done @@ -284,11 +284,11 @@ function test_ust_notifier_discarded_count_multi_uid done lttng_add_trigger_ok "$root_trigger_name" \ - --condition event-rule-matches --domain=user --name tp:tptest \ + --condition event-rule-matches --type=user --name tp:tptest \ --action notify lttng_add_trigger_ok "$user_trigger_name" --owner-uid "$new_uid" \ - --condition event-rule-matches --domain=user --name tp:tptest \ + --condition event-rule-matches --type=user --name tp:tptest \ --action notify # Stop consumption of notifier tracer notifications. @@ -364,7 +364,7 @@ function test_ust_notifier_discarded_regardless_trigger_owner done lttng_add_trigger_ok "$root_trigger_name" \ - --condition event-rule-matches --domain=user --name tp:tptest \ + --condition event-rule-matches --type=user --name tp:tptest \ --action notify # Stop consumption of notifier tracer notifications.