From e6add4f76f3e9b82b073efe113643c4bee4a270e Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Mon, 16 Mar 2015 12:25:08 -0400 Subject: [PATCH] PR18115: add testcase map_probe_cond.stp --- testsuite/buildok/map_probe_cond.stp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 testsuite/buildok/map_probe_cond.stp diff --git a/testsuite/buildok/map_probe_cond.stp b/testsuite/buildok/map_probe_cond.stp new file mode 100755 index 000000000..6960c71fa --- /dev/null +++ b/testsuite/buildok/map_probe_cond.stp @@ -0,0 +1,10 @@ +#! stap -p4 + +# PR18115 +global foo +probe begin if (foo[0] > 1) { + foo[0]++ +} +probe process("/bin/ls").function("main") if (foo[0] > 2) { + foo[0]-- +} -- 2.43.5