1*127bbe13Stomee /* 2*127bbe13Stomee * CDDL HEADER START 3*127bbe13Stomee * 4*127bbe13Stomee * The contents of this file are subject to the terms of the 5*127bbe13Stomee * Common Development and Distribution License (the "License"). 6*127bbe13Stomee * You may not use this file except in compliance with the License. 7*127bbe13Stomee * 8*127bbe13Stomee * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*127bbe13Stomee * or http://www.opensolaris.org/os/licensing. 10*127bbe13Stomee * See the License for the specific language governing permissions 11*127bbe13Stomee * and limitations under the License. 12*127bbe13Stomee * 13*127bbe13Stomee * When distributing Covered Code, include this CDDL HEADER in each 14*127bbe13Stomee * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*127bbe13Stomee * If applicable, add the following below this CDDL HEADER, with the 16*127bbe13Stomee * fields enclosed by brackets "[]" replaced with your own identifying 17*127bbe13Stomee * information: Portions Copyright [yyyy] [name of copyright owner] 18*127bbe13Stomee * 19*127bbe13Stomee * CDDL HEADER END 20*127bbe13Stomee */ 21*127bbe13Stomee 22*127bbe13Stomee /* 23*127bbe13Stomee * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24*127bbe13Stomee * Use is subject to license terms. 25*127bbe13Stomee * 26*127bbe13Stomee * ident "%Z%%M% %I% %E% SMI" 27*127bbe13Stomee */ 28*127bbe13Stomee package org.opensolaris.os.dtrace; 29*127bbe13Stomee 30*127bbe13Stomee /** 31*127bbe13Stomee * A value generated by the DTrace {@code mod()}, {@code func()}, {@code 32*127bbe13Stomee * sym()}, {@code umod()}, {@code ufunc()} or {@code usym()} action used 33*127bbe13Stomee * to lookup the symbol associated with an address in probe context. 34*127bbe13Stomee * 35*127bbe13Stomee * @author Tom Erickson 36*127bbe13Stomee */ 37*127bbe13Stomee public interface SymbolValueRecord extends ValueRecord { 38*127bbe13Stomee /** 39*127bbe13Stomee * Gets the result of the address lookup. 40*127bbe13Stomee * 41*127bbe13Stomee * @return non-null address lookup in the format defined by the 42*127bbe13Stomee * native DTrace library 43*127bbe13Stomee */ getSymbol()44*127bbe13Stomee public String getSymbol(); 45*127bbe13Stomee 46*127bbe13Stomee /** 47*127bbe13Stomee * Gets the symbol address. 48*127bbe13Stomee * 49*127bbe13Stomee * @return the symbol address 50*127bbe13Stomee */ getAddress()51*127bbe13Stomee public long getAddress(); 52*127bbe13Stomee } 53