4094N/A# Copyright (c) 2012, Red Hat, Inc. 4094N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4094N/A# This code is free software; you can redistribute it and/or modify it 4094N/A# under the terms of the GNU General Public License version 2 only, as 4094N/A# published by the Free Software Foundation. 4094N/A# This code is distributed in the hope that it will be useful, but WITHOUT 4094N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 4094N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 4094N/A# version 2 for more details (a copy is included in the LICENSE file that 4094N/A# You should have received a copy of the GNU General Public License version 4094N/A# 2 along with this work; if not, write to the Free Software Foundation, 4094N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 4094N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 4094N/A# @summary Test SDT probes available on GNU/Linux when DTRACE_ENABLED 4094N/A# Where is our java (parent) directory? 4094N/Aif [
"${TESTJAVA}" =
"" ];
then 4094N/A# This test only matters when build with DTRACE_ENABLED. 4094N/A echo "Not build using DTRACE_ENABLED. PASSED" 4094N/A # Check whether the SDT probes are compiled in. 4094N/A echo "Failed: ${libjvm} doesn't contain SDT probes." 4094N/A # We could iterate over all SDT probes and test them individually 4094N/A # with readelf -n, but older readelf versions don't understand them.