diff options
author | Jonathan Haslam <Jonathan.Haslam@Sun.COM> | 2008-09-19 13:14:28 +0100 |
---|---|---|
committer | Jonathan Haslam <Jonathan.Haslam@Sun.COM> | 2008-09-19 13:14:28 +0100 |
commit | c7a079a873b863c236656bd0db7b2cf390841b4d (patch) | |
tree | 7812a50b4caaf22d35d6125731d648466c3239fa /usr/src/lib/libcpc/common/libcpc.h | |
parent | e8e4e80fe335862e1a369070e9acaa2060866c90 (diff) | |
download | illumos-joyent-c7a079a873b863c236656bd0db7b2cf390841b4d.tar.gz |
PSARC 2008/334 CPU Performance Counter Generic Event Names
6689461 CPC Generic Events
6423769 cpustat system global_power_events for Xeon incorrect
Diffstat (limited to 'usr/src/lib/libcpc/common/libcpc.h')
-rw-r--r-- | usr/src/lib/libcpc/common/libcpc.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/usr/src/lib/libcpc/common/libcpc.h b/usr/src/lib/libcpc/common/libcpc.h index 547cb62319..384474a76c 100644 --- a/usr/src/lib/libcpc/common/libcpc.h +++ b/usr/src/lib/libcpc/common/libcpc.h @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,15 +19,13 @@ * CDDL HEADER END */ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _LIBCPC_H #define _LIBCPC_H -#pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/types.h> #include <sys/cpc_impl.h> #include <inttypes.h> @@ -154,8 +151,12 @@ extern void cpc_walk_requests(cpc_t *cpc, cpc_set_t *set, void *arg, extern void cpc_walk_events_all(cpc_t *cpc, void *arg, void (*action)(void *arg, const char *event)); +extern void cpc_walk_generic_events_all(cpc_t *cpc, void *arg, + void (*action)(void *arg, const char *event)); extern void cpc_walk_events_pic(cpc_t *cpc, uint_t picno, void *arg, void (*action)(void *arg, uint_t picno, const char *event)); +extern void cpc_walk_generic_events_pic(cpc_t *cpc, uint_t picno, void *arg, + void (*action)(void *arg, uint_t picno, const char *event)); extern void cpc_walk_attrs(cpc_t *cpc, void *arg, void (*action)(void *arg, const char *attr)); |