1242723Sjhibbits/* 2242723Sjhibbits * CDDL HEADER START 3242723Sjhibbits * 4242723Sjhibbits * The contents of this file are subject to the terms of the 5242723Sjhibbits * Common Development and Distribution License, Version 1.0 only 6242723Sjhibbits * (the "License"). You may not use this file except in compliance 7242723Sjhibbits * with the License. 8242723Sjhibbits * 9242723Sjhibbits * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10242723Sjhibbits * or http://www.opensolaris.org/os/licensing. 11242723Sjhibbits * See the License for the specific language governing permissions 12242723Sjhibbits * and limitations under the License. 13242723Sjhibbits * 14242723Sjhibbits * When distributing Covered Code, include this CDDL HEADER in each 15242723Sjhibbits * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16242723Sjhibbits * If applicable, add the following below this CDDL HEADER, with the 17242723Sjhibbits * fields enclosed by brackets "[]" replaced with your own identifying 18242723Sjhibbits * information: Portions Copyright [yyyy] [name of copyright owner] 19242723Sjhibbits * 20242723Sjhibbits * CDDL HEADER END 21242723Sjhibbits */ 22242723Sjhibbits/* 23242723Sjhibbits * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24242723Sjhibbits * Use is subject to license terms. 25242723Sjhibbits */ 26242723Sjhibbits 27242723Sjhibbits#pragma ident "%Z%%M% %I% %E% SMI" 28242723Sjhibbits 29242723Sjhibbits#include <stdlib.h> 30242723Sjhibbits#include <assert.h> 31242723Sjhibbits#include <errno.h> 32242723Sjhibbits#include <string.h> 33242723Sjhibbits#include <libgen.h> 34242723Sjhibbits 35242723Sjhibbits#include <dt_impl.h> 36242723Sjhibbits#include <dt_pid.h> 37242723Sjhibbits 38242723Sjhibbits/*ARGSUSED*/ 39242723Sjhibbitsint 40242723Sjhibbitsdt_pid_create_entry_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, 41242723Sjhibbits fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) 42242723Sjhibbits{ 43242723Sjhibbits 44242723Sjhibbits dt_dprintf("%s: unimplemented\n", __func__); 45242723Sjhibbits return (DT_PROC_ERR); 46242723Sjhibbits} 47242723Sjhibbits 48242723Sjhibbitsint 49242723Sjhibbitsdt_pid_create_return_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, 50242723Sjhibbits fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret) 51242723Sjhibbits{ 52242723Sjhibbits 53242723Sjhibbits dt_dprintf("%s: unimplemented\n", __func__); 54242723Sjhibbits return (DT_PROC_ERR); 55242723Sjhibbits} 56242723Sjhibbits 57242723Sjhibbits/*ARGSUSED*/ 58242723Sjhibbitsint 59242723Sjhibbitsdt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, 60242723Sjhibbits fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) 61242723Sjhibbits{ 62242723Sjhibbits 63242723Sjhibbits dt_dprintf("%s: unimplemented\n", __func__); 64242723Sjhibbits return (DT_PROC_ERR); 65242723Sjhibbits} 66242723Sjhibbits 67242723Sjhibbits/*ARGSUSED*/ 68242723Sjhibbitsint 69242723Sjhibbitsdt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp, 70242723Sjhibbits fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) 71242723Sjhibbits{ 72242723Sjhibbits 73242723Sjhibbits dt_dprintf("%s: unimplemented\n", __func__); 74242723Sjhibbits return (DT_PROC_ERR); 75242723Sjhibbits} 76