1185363Sjkoshy/*- 2185363Sjkoshy * Copyright (c) 2008 Joseph Koshy 3185363Sjkoshy * All rights reserved. 4185363Sjkoshy * 5185363Sjkoshy * Redistribution and use in source and binary forms, with or without 6185363Sjkoshy * modification, are permitted provided that the following conditions 7185363Sjkoshy * are met: 8185363Sjkoshy * 1. Redistributions of source code must retain the above copyright 9185363Sjkoshy * notice, this list of conditions and the following disclaimer. 10185363Sjkoshy * 2. Redistributions in binary form must reproduce the above copyright 11185363Sjkoshy * notice, this list of conditions and the following disclaimer in the 12185363Sjkoshy * documentation and/or other materials provided with the distribution. 13185363Sjkoshy * 14185363Sjkoshy * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15185363Sjkoshy * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16185363Sjkoshy * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17185363Sjkoshy * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18185363Sjkoshy * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19185363Sjkoshy * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20185363Sjkoshy * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21185363Sjkoshy * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22185363Sjkoshy * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23185363Sjkoshy * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24185363Sjkoshy * SUCH DAMAGE. 25185363Sjkoshy * 26185363Sjkoshy * $FreeBSD: releng/10.2/lib/libpmc/libpmcinternal.h 185363 2008-11-27 09:00:47Z jkoshy $ 27185363Sjkoshy */ 28185363Sjkoshy 29185363Sjkoshy#ifndef LIBPMC_INTERNAL_H 30185363Sjkoshy#define LIBPMC_INTERNAL_H 1 31185363Sjkoshy 32185363Sjkoshy/* 33185363Sjkoshy * Prototypes. 34185363Sjkoshy */ 35185363Sjkoshyconst char *_pmc_name_of_event(enum pmc_event _ev, enum pmc_cputype _cpu); 36185363Sjkoshy 37185363Sjkoshy#endif /* LIBPMC_INTERNAL_H */ 38