Deleted Added
full compact
tst.noprobes.ksh (279414) tst.noprobes.ksh (288413)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 33 unchanged lines hidden (view full) ---

42
43cat > doogle.d <<EOF
44provider doogle {
45 probe bagnoogle();
46};
47EOF
48
49cc -c test.c
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 33 unchanged lines hidden (view full) ---

42
43cat > doogle.d <<EOF
44provider doogle {
45 probe bagnoogle();
46};
47EOF
48
49cc -c test.c
50$dtrace -G -32 -s doogle.d test.o -o doogle.d.o
50$dtrace -G -s doogle.d test.o -o doogle.d.o
51
52if [ $? -eq 0 ]; then
53 print -u2 "dtrace succeeded despite having no probe sites"
54 exit 1
55fi
56
57cd /
58rm -rf $DIR
59exit 0
51
52if [ $? -eq 0 ]; then
53 print -u2 "dtrace succeeded despite having no probe sites"
54 exit 1
55fi
56
57cd /
58rm -rf $DIR
59exit 0