diff options
Diffstat (limited to 'cmd/dtrace/test/tst/common/misc/tst.schrock.ksh')
-rw-r--r-- | cmd/dtrace/test/tst/common/misc/tst.schrock.ksh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/cmd/dtrace/test/tst/common/misc/tst.schrock.ksh b/cmd/dtrace/test/tst/common/misc/tst.schrock.ksh index bc29f714cbf27..494f6f8e66057 100644 --- a/cmd/dtrace/test/tst/common/misc/tst.schrock.ksh +++ b/cmd/dtrace/test/tst/common/misc/tst.schrock.ksh @@ -23,6 +23,7 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +#ident "%Z%%M% %I% %E% SMI" if [ $# != 1 ]; then echo expected one argument: '<'dtrace-path'>' @@ -32,12 +33,13 @@ fi dtrace=$1 # -# Some variants of nm may exec a 64-bit version of themselves. DTrace uses -# libproc (which uses /proc) to find out when the traced process exits, but a -# 32-bit process can't examine a 64-bit one with libproc. The LD_NOEXEC_64 -# variable prevents nm from re-execing itself. +# /usr/ccs/bin/nm execs a 64-bit version of itself. DTrace uses libproc +# (which uses /proc) to find out when the traced process exits, but a +# 32-bit process can't examine a 64-bit one with libproc. The +# LD_NOEXEC_64 variable prevents nm from re-execing itself. # -LD_NOEXEC_64=nono $dtrace -F -s /dev/stdin -c 'nm /bin/ls' stat <<EOF +LD_NOEXEC_64=tomeeisrad $dtrace -F -s /dev/stdin -c \ + '/usr/ccs/bin/nm /bin/ls' stat <<EOF pid\$target::\$1:entry { |