dt_isadep.c revision 242723
1227569Sphilip/* 2227569Sphilip * CDDL HEADER START 3227569Sphilip * 4227569Sphilip * The contents of this file are subject to the terms of the 5227569Sphilip * Common Development and Distribution License, Version 1.0 only 6227569Sphilip * (the "License"). You may not use this file except in compliance 7227569Sphilip * with the License. 8227569Sphilip * 9227569Sphilip * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10227569Sphilip * or http://www.opensolaris.org/os/licensing. 11227569Sphilip * See the License for the specific language governing permissions 12227569Sphilip * and limitations under the License. 13227569Sphilip * 14227569Sphilip * When distributing Covered Code, include this CDDL HEADER in each 15227569Sphilip * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16227569Sphilip * If applicable, add the following below this CDDL HEADER, with the 17227569Sphilip * fields enclosed by brackets "[]" replaced with your own identifying 18227569Sphilip * information: Portions Copyright [yyyy] [name of copyright owner] 19227569Sphilip * 20227569Sphilip * CDDL HEADER END 21227569Sphilip */ 22227569Sphilip/* 23227569Sphilip * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24228100Sphilip * Use is subject to license terms. 25228100Sphilip */ 26227569Sphilip 27227569Sphilip#pragma ident "%Z%%M% %I% %E% SMI" 28227569Sphilip 29227569Sphilip#include <stdlib.h> 30227569Sphilip#include <assert.h> 31227569Sphilip#include <errno.h> 32227569Sphilip#include <string.h> 33227569Sphilip#include <libgen.h> 34227569Sphilip 35227569Sphilip#include <dt_impl.h> 36227569Sphilip#include <dt_pid.h> 37227569Sphilip 38227569Sphilip/*ARGSUSED*/ 39227569Sphilipint 40227569Sphilipdt_pid_create_entry_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, 41227569Sphilip fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) 42227569Sphilip{ 43227569Sphilip 44227569Sphilip dt_dprintf("%s: unimplemented\n", __func__); 45227569Sphilip return (DT_PROC_ERR); 46227569Sphilip} 47227569Sphilip 48227569Sphilipint 49227569Sphilipdt_pid_create_return_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, 50227569Sphilip fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret) 51227569Sphilip{ 52227569Sphilip 53227569Sphilip dt_dprintf("%s: unimplemented\n", __func__); 54227569Sphilip return (DT_PROC_ERR); 55227569Sphilip} 56227569Sphilip 57227569Sphilip/*ARGSUSED*/ 58227569Sphilipint 59227569Sphilipdt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, 60227569Sphilip fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) 61227569Sphilip{ 62227569Sphilip 63227569Sphilip dt_dprintf("%s: unimplemented\n", __func__); 64227569Sphilip return (DT_PROC_ERR); 65227569Sphilip} 66227569Sphilip 67227569Sphilip/*ARGSUSED*/ 68227569Sphilipint 69227569Sphilipdt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp, 70227569Sphilip fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) 71227569Sphilip{ 72227569Sphilip 73227569Sphilip dt_dprintf("%s: unimplemented\n", __func__); 74227569Sphilip return (DT_PROC_ERR); 75227569Sphilip} 76227569Sphilip