SESSION_NAME="valid_filter"
NR_ITER=100
NUM_GLOBAL_TESTS=2
-NUM_UST_TESTS=288
-NUM_KERNEL_TESTS=288
+NUM_UST_TESTS=330
+NUM_KERNEL_TESTS=330
NUM_TESTS=$(($NUM_UST_TESTS+$NUM_KERNEL_TESTS+$NUM_GLOBAL_TESTS))
source $TESTDIR/utils/utils.sh
"\$ctx.procname == \"*\"" #46
"\"*\" != \$ctx.procname" #47
"\"*\" == \$ctx.procname" #48
+ "!a.f.d" #49
+ "a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a" #50
+ "\$ctx.vtid.blah == 0" #51
+ "asdf.asdfsd.sadf < 4" #52
+ "0 == \$ctx.vtid.blah" #53
+ "\$ctx.44 == 0" #54
+ "0 == \$ctx.44" #55
)
UST_FILTER_COUNT=${#UST_FILTERS[@]}
"validator_has_events" #46
"validator_has_no_event" #47
"validator_has_events" #48
+ "validator_has_no_event" #49
+ "validator_has_no_event" #50
+ "validator_has_no_event" #51
+ "validator_has_no_event" #52
+ "validator_has_no_event" #53
+ "validator_has_no_event" #54
+ "validator_has_no_event" #55
)
diag "Test UST valid filters"
"\$ctx.procname == \"*\"" #46
"\"*\" != \$ctx.procname" #47
"\"*\" == \$ctx.procname" #48
+ "!a.f.d" #49
+ "a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a" #50
+ "\$ctx.vtid.blah == 0" #51
+ "asdf.asdfsd.sadf < 4" #52
+ "0 == \$ctx.vtid.blah" #53
+ "\$ctx.44 == 0" #54
+ "0 == \$ctx.44" #55
)
KERNEL_FILTER_COUNT=${#KERNEL_FILTERS[@]}
"validator_has_events" #46
"validator_has_no_event" #47
"validator_has_events" #48
+ "validator_has_no_event" #49
+ "validator_has_no_event" #50
+ "validator_has_no_event" #51
+ "validator_has_no_event" #52
+ "validator_has_no_event" #53
+ "validator_has_no_event" #54
+ "validator_has_no_event" #55
)
if [ "$(id -u)" == "0" ]; then