dt_isadep.c revision 233414
1233414Sgonzo/* 2233414Sgonzo * CDDL HEADER START 3233414Sgonzo * 4233414Sgonzo * The contents of this file are subject to the terms of the 5233414Sgonzo * Common Development and Distribution License, Version 1.0 only 6233414Sgonzo * (the "License"). You may not use this file except in compliance 7233414Sgonzo * with the License. 8233414Sgonzo * 9233414Sgonzo * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10233414Sgonzo * or http://www.opensolaris.org/os/licensing. 11233414Sgonzo * See the License for the specific language governing permissions 12233414Sgonzo * and limitations under the License. 13233414Sgonzo * 14233414Sgonzo * When distributing Covered Code, include this CDDL HEADER in each 15233414Sgonzo * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16233414Sgonzo * If applicable, add the following below this CDDL HEADER, with the 17233414Sgonzo * fields enclosed by brackets "[]" replaced with your own identifying 18233414Sgonzo * information: Portions Copyright [yyyy] [name of copyright owner] 19233414Sgonzo * 20233414Sgonzo * CDDL HEADER END 21233414Sgonzo */ 22233414Sgonzo/* 23233414Sgonzo * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24233414Sgonzo * Use is subject to license terms. 25233414Sgonzo */ 26233414Sgonzo 27233414Sgonzo#pragma ident "%Z%%M% %I% %E% SMI" 28233414Sgonzo 29233414Sgonzo#include <stdlib.h> 30233414Sgonzo#include <assert.h> 31233414Sgonzo#include <errno.h> 32233414Sgonzo#include <string.h> 33233414Sgonzo#include <libgen.h> 34233414Sgonzo 35233414Sgonzo#include <dt_impl.h> 36233414Sgonzo#include <dt_pid.h> 37233414Sgonzo 38233414Sgonzo/*ARGSUSED*/ 39233414Sgonzoint 40233414Sgonzodt_pid_create_entry_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, 41233414Sgonzo fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) 42233414Sgonzo{ 43233414Sgonzo 44233414Sgonzo dt_dprintf("%s: unimplemented\n", __func__); 45233414Sgonzo return (DT_PROC_ERR); 46233414Sgonzo} 47233414Sgonzo 48233414Sgonzoint 49233414Sgonzodt_pid_create_return_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, 50233414Sgonzo fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret) 51233414Sgonzo{ 52233414Sgonzo 53233414Sgonzo dt_dprintf("%s: unimplemented\n", __func__); 54233414Sgonzo return (DT_PROC_ERR); 55233414Sgonzo} 56233414Sgonzo 57233414Sgonzo/*ARGSUSED*/ 58233414Sgonzoint 59233414Sgonzodt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, 60233414Sgonzo fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) 61233414Sgonzo{ 62233414Sgonzo 63233414Sgonzo dt_dprintf("%s: unimplemented\n", __func__); 64233414Sgonzo return (DT_PROC_ERR); 65233414Sgonzo} 66233414Sgonzo 67233414Sgonzo/*ARGSUSED*/ 68233414Sgonzoint 69233414Sgonzodt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp, 70233414Sgonzo fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) 71233414Sgonzo{ 72233414Sgonzo 73233414Sgonzo dt_dprintf("%s: unimplemented\n", __func__); 74233414Sgonzo return (DT_PROC_ERR); 75233414Sgonzo} 76