git: d667cc77ba20 - main - dtrace: remove sparc tests
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Dec 2025 14:21:03 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=d667cc77ba20082c16457ef4ae7f3060d9ab70b1
commit d667cc77ba20082c16457ef4ae7f3060d9ab70b1
Author: Minsoo Choo <minsoochoo0122@proton.me>
AuthorDate: 2025-11-29 19:02:42 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-12-01 14:19:18 +0000
dtrace: remove sparc tests
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>
Reviewed by: markj
MFC after: 1 week
Pull Request: https://github.com/freebsd/freebsd-src/pull/1907
---
.../dtrace/test/tst/sparc/arrays/tst.uregsarray.d | 85 -------------
.../tst/sparc/pid/err.D_PROC_ALIGN.misaligned.d | 40 -------
.../tst/sparc/pid/err.D_PROC_ALIGN.misaligned.exe | 29 -----
.../cmd/dtrace/test/tst/sparc/pid/tst.br.d | 70 -----------
.../cmd/dtrace/test/tst/sparc/pid/tst.br.d.out | 23 ----
.../cmd/dtrace/test/tst/sparc/pid/tst.br.s | 81 -------------
.../cmd/dtrace/test/tst/sparc/pid/tst.branch.d | 78 ------------
.../cmd/dtrace/test/tst/sparc/pid/tst.branch.s | 63 ----------
.../cmd/dtrace/test/tst/sparc/pid/tst.embedded.d | 73 ------------
.../cmd/dtrace/test/tst/sparc/pid/tst.embedded.s | 59 ---------
.../dtrace/test/tst/sparc/usdt/tst.tailcall.ksh | 132 ---------------------
.../test/tst/sparc/ustack/annotated_helper.d | 32 -----
.../dtrace/test/tst/sparc/ustack/helper_helper.d | 32 -----
.../dtrace/test/tst/sparc/ustack/tst.annotated.c | 43 -------
.../dtrace/test/tst/sparc/ustack/tst.annotated.d | 35 ------
.../test/tst/sparc/ustack/tst.annotated.d.out | 4 -
.../dtrace/test/tst/sparc/ustack/tst.circstack.d | 46 -------
.../dtrace/test/tst/sparc/ustack/tst.circstack.s | 44 -------
.../cmd/dtrace/test/tst/sparc/ustack/tst.helper.c | 81 -------------
.../cmd/dtrace/test/tst/sparc/ustack/tst.helper.d | 44 -------
.../dtrace/test/tst/sparc/ustack/tst.helper.d.out | 4 -
.../dtrace/test/tst/sparc/ustack/tst.trapstat.ksh | 87 --------------
22 files changed, 1185 deletions(-)
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/arrays/tst.uregsarray.d b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/arrays/tst.uregsarray.d
deleted file mode 100644
index 3ef38983ad52..000000000000
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/arrays/tst.uregsarray.d
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-
-/*
- * ASSERTION:
- * Positive test to make sure that we can invoke sparc
- * ureg[] aliases.
- *
- * SECTION: User Process Tracing/uregs Array
- *
- * NOTES: This test does no verification - the value of the output
- * is not deterministic.
- */
-
-#pragma D option quiet
-
-BEGIN
-{
- printf("R_G0 = 0x%x\n", uregs[R_G0]);
- printf("R_G1 = 0x%x\n", uregs[R_G1]);
- printf("R_G2 = 0x%x\n", uregs[R_G2]);
- printf("R_G3 = 0x%x\n", uregs[R_G3]);
- printf("R_G4 = 0x%x\n", uregs[R_G4]);
- printf("R_G5 = 0x%x\n", uregs[R_G5]);
- printf("R_G6 = 0x%x\n", uregs[R_G6]);
- printf("R_G7 = 0x%x\n", uregs[R_G7]);
- printf("R_O0 = 0x%x\n", uregs[R_O0]);
- printf("R_O1 = 0x%x\n", uregs[R_O1]);
- printf("R_O2 = 0x%x\n", uregs[R_O2]);
- printf("R_O3 = 0x%x\n", uregs[R_O3]);
- printf("R_O4 = 0x%x\n", uregs[R_O4]);
- printf("R_O5 = 0x%x\n", uregs[R_O5]);
- printf("R_O6 = 0x%x\n", uregs[R_O6]);
- printf("R_O7 = 0x%x\n", uregs[R_O7]);
- printf("R_L0 = 0x%x\n", uregs[R_L0]);
- printf("R_L1 = 0x%x\n", uregs[R_L1]);
- printf("R_L2 = 0x%x\n", uregs[R_L2]);
- printf("R_L3 = 0x%x\n", uregs[R_L3]);
- printf("R_L4 = 0x%x\n", uregs[R_L4]);
- printf("R_L5 = 0x%x\n", uregs[R_L5]);
- printf("R_L6 = 0x%x\n", uregs[R_L6]);
- printf("R_L7 = 0x%x\n", uregs[R_L7]);
- printf("R_I0 = 0x%x\n", uregs[R_I0]);
- printf("R_I1 = 0x%x\n", uregs[R_I1]);
- printf("R_I2 = 0x%x\n", uregs[R_I2]);
- printf("R_I3 = 0x%x\n", uregs[R_I3]);
- printf("R_I4 = 0x%x\n", uregs[R_I4]);
- printf("R_I5 = 0x%x\n", uregs[R_I5]);
- printf("R_I6 = 0x%x\n", uregs[R_I6]);
- printf("R_I7 = 0x%x\n", uregs[R_I7]);
- printf("R_CCR = 0x%x\n", uregs[R_CCR]);
- printf("R_PC = 0x%x\n", uregs[R_PC]);
- printf("R_NPC = 0x%x\n", uregs[R_NPC]);
- printf("R_Y = 0x%x\n", uregs[R_Y]);
- printf("R_ASI = 0x%x\n", uregs[R_ASI]);
- printf("R_FPRS = 0x%x\n", uregs[R_FPRS]);
- exit(0);
-}
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/err.D_PROC_ALIGN.misaligned.d b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/err.D_PROC_ALIGN.misaligned.d
deleted file mode 100644
index 3e4662740816..000000000000
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/err.D_PROC_ALIGN.misaligned.d
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*
- * ASSERTION: On SPARC, you can't trace misaligned offsets
- *
- * SECTION: User Process Tracing/pid Provider
- *
- * NOTES:
- *
- */
-
-pid$1:a.out:main:7
-{
-}
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/err.D_PROC_ALIGN.misaligned.exe b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/err.D_PROC_ALIGN.misaligned.exe
deleted file mode 100644
index 595db1de33da..000000000000
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/err.D_PROC_ALIGN.misaligned.exe
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/ksh
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-sleep 1000000
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.br.d b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.br.d
deleted file mode 100644
index cf1dc02ec47c..000000000000
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.br.d
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*
- * ASSERTION: Trace all instructions in the function 'test' to verify that
- * the branches are emulated correctly.
- */
-
-#pragma D option destructive
-#pragma D option quiet
-
-pid$1:a.out:waiting:entry
-{
- this->a = (char *)alloca(1);
- *this->a = 1;
- copyout(this->a, arg0, 1);
-}
-
-pid$1:a.out:test:
-{
- printf("%s:%s\n", probefunc, probename);
-}
-
-syscall::rexit:entry
-/pid == $1/
-{
- exit(0);
-}
-
-
-BEGIN
-{
- /*
- * Let's just do this for 5 seconds.
- */
- timeout = timestamp + 5000000000;
-}
-
-profile:::tick-4
-/timestamp > timeout/
-{
- trace("test timed out");
- exit(1);
-}
-
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.br.d.out b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.br.d.out
deleted file mode 100644
index 8559271e4aac..000000000000
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.br.d.out
+++ /dev/null
@@ -1,23 +0,0 @@
-test:entry
-test:0
-test:4
-test:8
-test:c
-test:10
-test:14
-test:18
-test:1c
-test:20
-test:24
-test:28
-test:2c
-test:30
-test:34
-test:38
-test:3c
-test:40
-test:44
-test:48
-test:4c
-test:return
-
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.br.s b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.br.s
deleted file mode 100644
index dfa7d27074f2..000000000000
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.br.s
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <sys/asm_linkage.h>
-
- DGDEF(__fsr_init_value)
- .word 0
-
- ENTRY(waiting)
- retl
- ldub [%o0], %o0
- SET_SIZE(waiting)
-
- ENTRY(test)
- mov 1, %g1
-
- brz %g1, 1f
- nop
- brlez %g1, 1f
- nop
- brlz %g0, 1f
- nop
- brlz %g1, 1f
- nop
- brnz %g0, 1f
- sub %g0, 2, %g1
- brgz %g1, 1f
- nop
- brgz %g0, 1f
- nop
- brgez %g1, 1f
- nop
-
- mov %g1, %o0
-
-1:
- retl
- nop
- SET_SIZE(test)
-
- ENTRY(main)
- save %sp, -SA(MINFRAME + 4), %sp
- stb %g0, [%fp - 4]
-1:
- call waiting
- sub %fp, 4, %o0
- tst %o0
- bz 1b
- nop
-
- call test
- nop
-
- ret
- restore %g0, %g0, %o0
- SET_SIZE(main)
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.branch.d b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.branch.d
deleted file mode 100644
index cfcf0a715d1a..000000000000
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.branch.d
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*
- * ASSERTION:
- *
- * SECTION:
- *
- * NOTES:
- *
- */
-
-#pragma D option destructive
-
-pid$1:a.out:waiting:entry
-{
- this->a = (char *)alloca(1);
- *this->a = 1;
- copyout(this->a, arg0, 1);
-}
-
-pid$1:a.out:main:,
-pid$1:a.out:other:
-{
-}
-
-pid$1:a.out:bad:entry
-{
- exit(1);
-}
-
-syscall::rexit:entry
-/pid == $1/
-{
- exit(0);
-}
-
-
-BEGIN
-{
- /*
- * Let's just do this for 5 seconds.
- */
- timeout = timestamp + 5000000000;
-}
-
-profile:::tick-4
-/timestamp > timeout/
-{
- trace("test timed out");
- exit(1);
-}
-
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.branch.s b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.branch.s
deleted file mode 100644
index 3e6531f32190..000000000000
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.branch.s
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <sys/asm_linkage.h>
-
- DGDEF(__fsr_init_value)
- .word 0
-
- ENTRY(waiting)
- retl
- ldub [%o0], %o0
- SET_SIZE(waiting)
-
- ENTRY(main)
- save %sp, -SA(MINFRAME + 4), %sp
- stb %g0, [%fp - 4]
-1:
- call waiting
- sub %fp, 4, %o0
- tst %o0
- bz 1b
- nop
-
- restore
-
- tst %g0
- be other
- nop
-
- ALTENTRY(bad)
- illtrap
- SET_SIZE(bad)
- SET_SIZE(main)
-
- ENTRY(other)
- retl
- clr %o0
- SET_SIZE(other)
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.embedded.d b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.embedded.d
deleted file mode 100644
index c484c3f0c721..000000000000
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.embedded.d
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*
- * ASSERTION:
- *
- * SECTION:
- *
- * NOTES:
- *
- */
-
-#pragma D option destructive
-
-pid$1:a.out:waiting:entry
-{
- this->a = (char *)alloca(1);
- *this->a = 1;
- copyout(this->a, arg0, 1);
-}
-
-pid$1:a.out:main:,
-pid$1:a.out:inner:
-{
-}
-
-syscall::rexit:entry
-/pid == $1/
-{
- exit(0);
-}
-
-
-BEGIN
-{
- /*
- * Let's just do this for 5 seconds.
- */
- timeout = timestamp + 5000000000;
-}
-
-profile:::tick-4
-/timestamp > timeout/
-{
- trace("test timed out");
- exit(1);
-}
-
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.embedded.s b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.embedded.s
deleted file mode 100644
index 612f0b926142..000000000000
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.embedded.s
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <sys/asm_linkage.h>
-
- DGDEF(__fsr_init_value)
- .word 0
-
- ENTRY(waiting)
- retl
- ldub [%o0], %o0
- SET_SIZE(waiting)
-
- ENTRY(main)
- save %sp, -SA(MINFRAME + 4), %sp
- stb %g0, [%fp - 4]
-1:
- call waiting
- sub %fp, 4, %o0
- tst %o0
- bz 1b
- nop
-
- restore
-
- ALTENTRY(inner)
- nop
- nop
- nop
- SET_SIZE(inner)
-
- retl
- clr %o0
- SET_SIZE(main)
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/usdt/tst.tailcall.ksh b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/usdt/tst.tailcall.ksh
deleted file mode 100644
index c3651ecf7eb4..000000000000
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/usdt/tst.tailcall.ksh
+++ /dev/null
@@ -1,132 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-#
-# ASSERTION: Make sure USDT probes work as tail-calls on SPARC.
-#
-
-if [ $# != 1 ]; then
- echo expected one argument: '<'dtrace-path'>'
- exit 2
-fi
-
-dtrace=$1
-DIR=/var/tmp/dtest.$$
-
-mkdir $DIR
-cd $DIR
-
-cat > test.s <<EOF
-#include <sys/asm_linkage.h>
-
- DGDEF(__fsr_init_value)
- .word 0
-
- ENTRY(test)
- save %sp, -SA(MINFRAME + 4), %sp
- mov 9, %i0
- mov 19, %i1
- mov 2006, %i2
- call __dtrace_test___fire
- restore
- SET_SIZE(test)
-
- ENTRY(main)
- save %sp, -SA(MINFRAME + 4), %sp
-
-1:
- call test
- nop
-
- ba 1b
- nop
-
- ret
- restore %g0, %g0, %o0
- SET_SIZE(main)
-EOF
-
-cat > prov.d <<EOF
-provider test {
- probe fire(int, int, int);
-};
-EOF
-
-/usr/bin/as -xregsym=no -P -D_ASM -o test.o test.s
-if [ $? -ne 0 ]; then
- print -u2 "failed to compile test.s"
- exit 1
-fi
-
-$dtrace -G -32 -s prov.d test.o
-if [ $? -ne 0 ]; then
- print -u2 "failed to create DOF"
- exit 1
-fi
-
-cc -o test test.o prov.o
-if [ $? -ne 0 ]; then
- print -u2 "failed to link final executable"
- exit 1
-fi
-
-$dtrace -c ./test -s /dev/stdin <<EOF
-test\$target:::fire
-/arg0 == 9 && arg1 == 19 && arg2 == 2006/
-{
- printf("%d/%d/%d", arg0, arg1, arg2);
- exit(0);
-}
-
-test\$target:::fire
-{
- printf("%d/%d/%d", arg0, arg1, arg2);
- exit(1);
-}
-
-BEGIN
-{
- /*
- * Let's just do this for 5 seconds.
- */
- timeout = timestamp + 5000000000;
-}
-
-profile:::tick-4
-/timestamp > timeout/
-{
- trace("test timed out");
- exit(1);
-}
-EOF
-
-status=$?
-
-cd /
-/bin/rm -rf $DIR
-
-exit $status
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/annotated_helper.d b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/annotated_helper.d
deleted file mode 100644
index 3577f86f8ee6..000000000000
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/annotated_helper.d
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#ident "%Z%%M% %I% %E% SMI"
-
-dtrace:helper:ustack:
-{
- "@it's annotated"
-}
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/helper_helper.d b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/helper_helper.d
deleted file mode 100644
index 8abc47d006dc..000000000000
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/helper_helper.d
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-dtrace:helper:ustack:
-{
- "<it's working>"
-}
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/tst.annotated.c b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/tst.annotated.c
deleted file mode 100644
index 8cdf8abad5af..000000000000
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/tst.annotated.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-int
-baz(void)
-{
- return (8);
-}
-
-int
-main(int argc, char **argv)
-{
- for (;;) {
- baz();
- }
-
- return (0);
-}
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/tst.annotated.d b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/tst.annotated.d
deleted file mode 100644
index dd795bece03f..000000000000
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/tst.annotated.d
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
*** 373 LINES SKIPPED ***