6e0bee749e9081c846d305caa233c222da771831jhaslam# CDDL HEADER START
6e0bee749e9081c846d305caa233c222da771831jhaslam# The contents of this file are subject to the terms of the
6e0bee749e9081c846d305caa233c222da771831jhaslam# Common Development and Distribution License (the "License").
6e0bee749e9081c846d305caa233c222da771831jhaslam# You may not use this file except in compliance with the License.
6e0bee749e9081c846d305caa233c222da771831jhaslam# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6e0bee749e9081c846d305caa233c222da771831jhaslam# See the License for the specific language governing permissions
6e0bee749e9081c846d305caa233c222da771831jhaslam# and limitations under the License.
6e0bee749e9081c846d305caa233c222da771831jhaslam# When distributing Covered Code, include this CDDL HEADER in each
6e0bee749e9081c846d305caa233c222da771831jhaslam# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6e0bee749e9081c846d305caa233c222da771831jhaslam# If applicable, add the following below this CDDL HEADER, with the
6e0bee749e9081c846d305caa233c222da771831jhaslam# fields enclosed by brackets "[]" replaced with your own identifying
6e0bee749e9081c846d305caa233c222da771831jhaslam# information: Portions Copyright [yyyy] [name of copyright owner]
6e0bee749e9081c846d305caa233c222da771831jhaslam# CDDL HEADER END
6e0bee749e9081c846d305caa233c222da771831jhaslam# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
6e0bee749e9081c846d305caa233c222da771831jhaslam# Use is subject to license terms.
6e0bee749e9081c846d305caa233c222da771831jhaslam# This test verifies that specifying a glob in a pid provider name
6e0bee749e9081c846d305caa233c222da771831jhaslam# (e.g., p*d$target) works.
6e0bee749e9081c846d305caa233c222da771831jhaslamif [ $# != 1 ]; then
6e0bee749e9081c846d305caa233c222da771831jhaslammain: main.o
a386cc11a86ecb60f5a48078d22c1500e2ad003eRobert Mustacchi gcc -m32 -o main main.o
6e0bee749e9081c846d305caa233c222da771831jhaslammain.o: main.c
a386cc11a86ecb60f5a48078d22c1500e2ad003eRobert Mustacchi gcc -m32 -c main.c
6e0bee749e9081c846d305caa233c222da771831jhaslammain(int argc, char **argv)
6e0bee749e9081c846d305caa233c222da771831jhaslam return (0);
6e0bee749e9081c846d305caa233c222da771831jhaslam printf("%s:%s:%s\n", probemod, probefunc, probename);
6e0bee749e9081c846d305caa233c222da771831jhaslam $dtrace -q -s ./main.d -c ./main