summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.context/num_args.stp
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-08-25 11:54:15 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-08-25 12:31:14 -0400
commitd27e6fd532200873fe8cc23a155360114fe26110 (patch)
treecb3644c25555116bcf3070251cb89362ffee3d8c /testsuite/systemtap.context/num_args.stp
parentf0a68636d44065dfd60e685924b82e95195c0f9f (diff)
downloadsystemtap-steved-d27e6fd532200873fe8cc23a155360114fe26110.tar.gz
systemtap-steved-d27e6fd532200873fe8cc23a155360114fe26110.tar.xz
systemtap-steved-d27e6fd532200873fe8cc23a155360114fe26110.zip
PR4186 cont'd: option #2: standardize on kernel ARCH/SUBARCH throughout
* main.cxx (main): Perform equivalent sed by hand on uname()->machine. * stap.1.in: Clarify -a ARCH slightly. * tapsets.cxx (validate_module_elf): Accept "arm*"for EM_ARM. * tapset/**, testsuite/**: Removed/collapsed "i386"/"i686" branches, renamed "ppc64"->"powerpc" and "s390x"->"s390".
Diffstat (limited to 'testsuite/systemtap.context/num_args.stp')
-rw-r--r--testsuite/systemtap.context/num_args.stp9
1 files changed, 3 insertions, 6 deletions
diff --git a/testsuite/systemtap.context/num_args.stp b/testsuite/systemtap.context/num_args.stp
index 5cc01d52..c6638f2a 100644
--- a/testsuite/systemtap.context/num_args.stp
+++ b/testsuite/systemtap.context/num_args.stp
@@ -1,8 +1,7 @@
%( arch == "i386" %? global ir = "eax", lr = "eax" %)
-%( arch == "i686" %? global ir = "eax", lr = "eax" %)
%( arch == "x86_64" %? global ir = "eax", lr = "rax" %)
-%( arch == "ppc64" %? global ir = "r3", lr = "r3" %)
-%( arch == "s390x" %? global ir = "r2", lr = "r2" %)
+%( arch == "powerpc" %? global ir = "r3", lr = "r3" %)
+%( arch == "s390" %? global ir = "r2", lr = "r2" %)
probe module("systemtap_test_module2").function("yyy_int") {
printf("yyy_int %d %d %d\n", int_arg(1), int_arg(2), int_arg(3))
@@ -28,9 +27,7 @@ probe module("systemtap_test_module2").function("yyy_int64") {
# and the stack, but rather passed entirely on the stack.
printf("yyy_int64 %d %d %d\n",
%( arch == "i386" %? s64_arg(1), s64_arg(4), s64_arg(6)
-%: %( arch == "i686" %? s64_arg(1), s64_arg(4), s64_arg(6)
- %: s64_arg(1), s64_arg(2), s64_arg(3)
- %)
+%: s64_arg(1), s64_arg(2), s64_arg(3)
%)
)
}