summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/optim_arridx.stp
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-05-21 11:43:53 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-05-21 11:43:53 -0400
commit8fa48434a2fa7cd0302ed5d45d0cf5506796d9f9 (patch)
treef39c9c722c76603f4f5514d3092c74b3abfc5478 /testsuite/systemtap.base/optim_arridx.stp
parentd0c4107b0e02c31acb062de829c6d104cb6918df (diff)
parente483d9dfa614ee17b488df7224ee22a0f7dc9386 (diff)
downloadsystemtap-steved-8fa48434a2fa7cd0302ed5d45d0cf5506796d9f9.tar.gz
systemtap-steved-8fa48434a2fa7cd0302ed5d45d0cf5506796d9f9.tar.xz
systemtap-steved-8fa48434a2fa7cd0302ed5d45d0cf5506796d9f9.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
* 'master' of ssh://sources.redhat.com/git/systemtap: Use pointer_arg to fetch arguments for syscall.utime and compat_utime. Optimize compound and binary expression assignments.
Diffstat (limited to 'testsuite/systemtap.base/optim_arridx.stp')
-rw-r--r--testsuite/systemtap.base/optim_arridx.stp6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/optim_arridx.stp b/testsuite/systemtap.base/optim_arridx.stp
index 4551bb3e..20710c7f 100644
--- a/testsuite/systemtap.base/optim_arridx.stp
+++ b/testsuite/systemtap.base/optim_arridx.stp
@@ -34,6 +34,12 @@ probe begin {
if (elide_global_b = 1)
ee = 1
+ // compound assignment
+ cc = elide_gg=dd=5
+
+ // binary expression
+ cc = ((elide_hh = 4) + (cc = 1))
+
printf("%d %d %d %d %d", aa, bb, cc, dd, ee)
exit ()
}