cpc.spec revision f808c858fa61e7769218966759510a8b1190dfcf
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# 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.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#ident "%Z%%M% %I% %E% SMI"
#
function cpc_version
end
function cpc_getcpuver
declaration int cpc_getcpuver(void)
end
function cpc_getcciname
declaration const char *cpc_getcciname(int cpuver)
end
function cpc_getcpuref
declaration const char *cpc_getcpuref(int cpuver)
end
function cpc_getusage
declaration const char *cpc_getusage(int cpuver)
end
function cpc_getnpic
end
function cpc_walk_names
declaration void cpc_walk_names(int cpuver, int regno, void *arg, \
end
function cpc_seterrfn
declaration void cpc_seterrfn(cpc_errfn_t *errfn)
end
function cpc_strtoevent
declaration int cpc_strtoevent(int cpuver, const char *spec, \
end
function cpc_eventtostr
declaration char *cpc_eventtostr(cpc_event_t *event)
end
function cpc_event_accum
declaration void cpc_event_accum(cpc_event_t *accum, cpc_event_t *event)
end
function cpc_event_diff
declaration void cpc_event_diff(cpc_event_t *diff, cpc_event_t *left, \
end
function cpc_access
declaration int cpc_access(void)
end
function cpc_bind_event
declaration int cpc_bind_event(cpc_event_t *event, int flags)
end
function cpc_take_sample
declaration int cpc_take_sample(cpc_event_t *event)
end
function cpc_count_usr_events
declaration int cpc_count_usr_events(int enable)
end
function cpc_count_sys_events
declaration int cpc_count_sys_events(int enable)
end
function cpc_rele
declaration int cpc_rele(void)
end
function cpc_pctx_bind_event
declaration int cpc_pctx_bind_event(pctx_t *pctx, id_t lwpid, \
cpc_event_t *event, int flags)
end
function cpc_pctx_take_sample
declaration int cpc_pctx_take_sample(pctx_t *pctx, id_t lwpid, \
end
function cpc_pctx_rele
declaration int cpc_pctx_rele(pctx_t *pctx, id_t lwpid)
end
function cpc_pctx_invalidate
declaration int cpc_pctx_invalidate(pctx_t *pctx, id_t lwpid)
end
function cpc_shared_open
declaration int cpc_shared_open(void)
end
function cpc_shared_close
declaration void cpc_shared_close(int fd)
end
function cpc_shared_bind_event
declaration int cpc_shared_bind_event(int fd, cpc_event_t *event, int flags)
end
function cpc_shared_take_sample
declaration int cpc_shared_take_sample(int fd, cpc_event_t *event)
end
function cpc_shared_rele
declaration int cpc_shared_rele(int fd)
end
function cpc_open
end
function cpc_close
end
function cpc_set_create
end
function cpc_set_destroy
declaration int cpc_set_destroy(cpc_t *cpc, cpc_set_t *set)
end
function cpc_set_add_request
declaration int cpc_set_add_request(cpc_t *cpc, cpc_set_t *set, \
uint_t nattrs, const cpc_attr_t *attrs)
end
function cpc_request_preset
end
function cpc_set_restart
declaration int cpc_set_restart(cpc_t *cpc, cpc_set_t *set)
end
function cpc_buf_create
end
function cpc_buf_destroy
declaration int cpc_buf_destroy(cpc_t *cpc, cpc_buf_t *buf)
end
function cpc_bind_curlwp
end
function cpc_bind_cpu
declaration int cpc_bind_cpu(cpc_t *cpc, processorid_t id, cpc_set_t *set, \
end
function cpc_bind_pctx
end
function cpc_unbind
declaration int cpc_unbind(cpc_t *cpc, cpc_set_t *set)
end
function cpc_set_sample
end
function cpc_buf_zero
declaration void cpc_buf_zero(cpc_t *cpc, cpc_buf_t *buf)
end
function cpc_buf_sub
cpc_buf_t *b)
end
function cpc_buf_add
cpc_buf_t *b)
end
function cpc_buf_copy
end
function cpc_buf_get
end
function cpc_buf_set
end
function cpc_buf_hrtime
end
function cpc_buf_tick
end
function cpc_walk_events_all
declaration void cpc_walk_events_all(cpc_t *cpc, void *arg, \
end
function cpc_walk_events_pic
end
function cpc_walk_attrs
declaration void cpc_walk_attrs(cpc_t *cpc, void *arg, \
end
function cpc_walk_requests
declaration void cpc_walk_requests(cpc_t *cpc, cpc_set_t *set, void *arg, \
uint_t flags, int nattrs, const cpc_attr_t *attrs))
end
function cpc_enable
declaration int cpc_enable(cpc_t *cpc)
end
function cpc_disable
declaration int cpc_disable(cpc_t *cpc)
end
function cpc_npic
end
function cpc_caps
end
function cpc_cciname
declaration const char *cpc_cciname(cpc_t *cpc)
end
function cpc_cpuref
declaration const char *cpc_cpuref(cpc_t *cpc)
end
function cpc_seterrhndlr
declaration int cpc_seterrhndlr(cpc_t *cpc, cpc_errhndlr_t *fn)
end