c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# This file and its contents are supplied under the terms of the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Common Development and Distribution License ("CDDL"), version 1.0.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# You may only use this file in accordance with the terms of version
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# 1.0 of the CDDL.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# A full copy of the text of the CDDL should have accompanied this
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# source. A copy of the CDDL is also available via the Internet
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# at http://www.illumos.org/license/CDDL.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Copyright 2011, Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov# Copyright 2013 Nexenta Systems, Inc. All rights reserved.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovinclude $(SRC)/Makefile.master
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri PankovMANSECT= 3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri PankovMANFILES= cpc.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_access.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_bind_curlwp.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_bind_event.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_create.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_count_usr_events.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_enable.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_event.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_event_diff.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_getcpuver.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_npic.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_open.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_pctx_bind_event.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_set_create.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_seterrfn.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_seterrhndlr.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_shared_open.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_strtoevent.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_version.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe generic_events.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pctx_capture.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pctx_set_events.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri PankovMANLINKS= cpc_bind_cpu.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_bind_pctx.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_add.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_copy.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_destroy.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_get.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_hrtime.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_set.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_sub.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_tick.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_zero.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_caps.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_cciname.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_close.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_count_sys_events.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_cpuref.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_disable.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_event_accum.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_eventtostr.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_getcciname.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_getcpuref.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_getnpic.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_getusage.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_pctx_invalidate.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_pctx_rele.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_pctx_take_sample.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_rele.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_request_preset.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_set_add_request.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_set_destroy.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_set_restart.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_set_sample.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_shared_bind_event.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_shared_close.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_shared_rele.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_shared_take_sample.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_take_sample.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_unbind.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_walk_attrs.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_walk_events_all.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_walk_events_pic.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_walk_generic_events_all.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_walk_generic_events_pic.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_walk_names.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_walk_requests.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pctx_create.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pctx_release.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pctx_run.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_bind_cpu.3cpc := LINKSRC = cpc_bind_curlwp.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_bind_pctx.3cpc := LINKSRC = cpc_bind_curlwp.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_request_preset.3cpc := LINKSRC = cpc_bind_curlwp.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_set_restart.3cpc := LINKSRC = cpc_bind_curlwp.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_unbind.3cpc := LINKSRC = cpc_bind_curlwp.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_rele.3cpc := LINKSRC = cpc_bind_event.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_take_sample.3cpc := LINKSRC = cpc_bind_event.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_buf_add.3cpc := LINKSRC = cpc_buf_create.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_buf_copy.3cpc := LINKSRC = cpc_buf_create.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_buf_destroy.3cpc := LINKSRC = cpc_buf_create.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_buf_get.3cpc := LINKSRC = cpc_buf_create.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_buf_hrtime.3cpc := LINKSRC = cpc_buf_create.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_buf_set.3cpc := LINKSRC = cpc_buf_create.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_buf_sub.3cpc := LINKSRC = cpc_buf_create.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_buf_tick.3cpc := LINKSRC = cpc_buf_create.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_buf_zero.3cpc := LINKSRC = cpc_buf_create.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_set_sample.3cpc := LINKSRC = cpc_buf_create.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_count_sys_events.3cpc := LINKSRC = cpc_count_usr_events.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_disable.3cpc := LINKSRC = cpc_enable.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_event_accum.3cpc := LINKSRC = cpc_event_diff.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_getcciname.3cpc := LINKSRC = cpc_getcpuver.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_getcpuref.3cpc := LINKSRC = cpc_getcpuver.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_getnpic.3cpc := LINKSRC = cpc_getcpuver.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_getusage.3cpc := LINKSRC = cpc_getcpuver.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_walk_names.3cpc := LINKSRC = cpc_getcpuver.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_caps.3cpc := LINKSRC = cpc_npic.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_cciname.3cpc := LINKSRC = cpc_npic.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_cpuref.3cpc := LINKSRC = cpc_npic.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_walk_attrs.3cpc := LINKSRC = cpc_npic.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_walk_events_all.3cpc := LINKSRC = cpc_npic.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_walk_events_pic.3cpc := LINKSRC = cpc_npic.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_walk_generic_events_all.3cpc := LINKSRC = cpc_npic.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_walk_generic_events_pic.3cpc := LINKSRC = cpc_npic.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_close.3cpc := LINKSRC = cpc_open.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_pctx_invalidate.3cpc := LINKSRC = cpc_pctx_bind_event.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_pctx_rele.3cpc := LINKSRC = cpc_pctx_bind_event.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_pctx_take_sample.3cpc := LINKSRC = cpc_pctx_bind_event.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_set_add_request.3cpc := LINKSRC = cpc_set_create.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_set_destroy.3cpc := LINKSRC = cpc_set_create.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_walk_requests.3cpc := LINKSRC = cpc_set_create.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_shared_bind_event.3cpc := LINKSRC = cpc_shared_open.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_shared_close.3cpc := LINKSRC = cpc_shared_open.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_shared_rele.3cpc := LINKSRC = cpc_shared_open.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_shared_take_sample.3cpc := LINKSRC = cpc_shared_open.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovcpc_eventtostr.3cpc := LINKSRC = cpc_strtoevent.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovpctx_create.3cpc := LINKSRC = pctx_capture.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovpctx_release.3cpc := LINKSRC = pctx_capture.3cpc
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovpctx_run.3cpc := LINKSRC = pctx_capture.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe.KEEP_STATE:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovinclude $(SRC)/man/Makefile.man
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankovinstall: $(ROOTMANFILES) $(ROOTMANLINKS)