tst.utf8probefunc.ksh revision 1444d846b126463eb1059a572ff114d51f7562e5
1444d846b126463eb1059a572ff114d51f7562e5Bryan Cantrill# This file and its contents are supplied under the terms of the
1444d846b126463eb1059a572ff114d51f7562e5Bryan Cantrill# Common Development and Distribution License ("CDDL"), version 1.0.
1444d846b126463eb1059a572ff114d51f7562e5Bryan Cantrill# You may only use this file in accordance with the terms of version
1444d846b126463eb1059a572ff114d51f7562e5Bryan Cantrill# 1.0 of the CDDL.
1444d846b126463eb1059a572ff114d51f7562e5Bryan Cantrill# A full copy of the text of the CDDL should have accompanied this
1444d846b126463eb1059a572ff114d51f7562e5Bryan Cantrill# source. A copy of the CDDL is also available via the Internet at
1444d846b126463eb1059a572ff114d51f7562e5Bryan Cantrill# Copyright (c) 2013 Joyent, Inc. All rights reserved.
1444d846b126463eb1059a572ff114d51f7562e5Bryan Cantrill#include <stdio.h>
1444d846b126463eb1059a572ff114d51f7562e5Bryan Cantrill printf("in foo\n");
1444d846b126463eb1059a572ff114d51f7562e5Bryan Cantrill# There's the right way, the wrong way, and the Max Power way!
1444d846b126463eb1059a572ff114d51f7562e5Bryan Cantrillif ! dtrace -n 'pid$target:a.out:f*:entry{printf("probefunc: %s\n", \