pmcpl_annotate.h revision 203790
11573Srgrimes/*- 214272Spst * Copyright (c) 2005-2007, Joseph Koshy 31573Srgrimes * Copyright (c) 2007 The FreeBSD Foundation 41573Srgrimes * All rights reserved. 51573Srgrimes * 61573Srgrimes * Portions of this software were developed by A. Joseph Koshy under 71573Srgrimes * sponsorship from the FreeBSD Foundation and Google, Inc. 81573Srgrimes * 91573Srgrimes * Redistribution and use in source and binary forms, with or without 101573Srgrimes * modification, are permitted provided that the following conditions 111573Srgrimes * are met: 121573Srgrimes * 1. Redistributions of source code must retain the above copyright 131573Srgrimes * notice, this list of conditions and the following disclaimer. 141573Srgrimes * 2. Redistributions in binary form must reproduce the above copyright 151573Srgrimes * notice, this list of conditions and the following disclaimer in the 161573Srgrimes * documentation and/or other materials provided with the distribution. 171573Srgrimes * 181573Srgrimes * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 191573Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 201573Srgrimes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 211573Srgrimes * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 221573Srgrimes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 231573Srgrimes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 241573Srgrimes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 251573Srgrimes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 261573Srgrimes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 271573Srgrimes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 281573Srgrimes * SUCH DAMAGE. 291573Srgrimes * 301573Srgrimes * $FreeBSD: head/usr.sbin/pmcstat/pmcpl_annotate.h 203790 2010-02-11 22:51:44Z fabient $ 311573Srgrimes */ 321573Srgrimes 331573Srgrimes#ifndef _PMCSTAT_PL_ANNOTATE_H_ 3414272Spst#define _PMCSTAT_PL_ANNOTATE_H_ 351573Srgrimes 3692905Sobrien/* Function prototypes */ 3792905Sobrienvoid pmcpl_annotate_process( 381573Srgrimes struct pmcstat_process *pp, struct pmcstat_pmcrecord *pmcr, 391573Srgrimes uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu); 401573Srgrimes 411573Srgrimes#endif /* _PMCSTAT_PL_ANNOTATE_H_ */ 421573Srgrimes