]> git.saurik.com Git - apple/xnu.git/blame_incremental - osfmk/mach/prof.defs
xnu-792.12.6.tar.gz
[apple/xnu.git] / osfmk / mach / prof.defs
... / ...
CommitLineData
1/*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_OSREFERENCE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. The rights granted to you under the
10 * License may not be used to create, or enable the creation or
11 * redistribution of, unlawful or unlicensed copies of an Apple operating
12 * system, or to circumvent, violate, or enable the circumvention or
13 * violation of, any terms of an Apple operating system software license
14 * agreement.
15 *
16 * Please obtain a copy of the License at
17 * http://www.opensource.apple.com/apsl/ and read it before using this
18 * file.
19 *
20 * The Original Code and all software distributed under the License are
21 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
22 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
23 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
24 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
25 * Please see the License for the specific language governing rights and
26 * limitations under the License.
27 *
28 * @APPLE_LICENSE_OSREFERENCE_HEADER_END@
29 */
30/*
31 * @OSF_COPYRIGHT@
32 */
33/*
34 * HISTORY
35 *
36 * Revision 1.1.1.1 1998/09/22 21:05:30 wsanchez
37 * Import of Mac OS X kernel (~semeria)
38 *
39 * Revision 1.1.1.1 1998/03/07 02:25:46 wsanchez
40 * Import of OSF Mach kernel (~mburg)
41 *
42 * Revision 1.2.12.3 1996/01/09 19:22:20 devrcs
43 * Change notices: msgoption options from int to mach_msg_options_t.
44 * [1995/12/01 19:49:49 jfraser]
45 *
46 * Merged '64-bit safe' changes from DEC alpha port.
47 * [1995/11/21 18:09:30 jfraser]
48 *
49 * Revision 1.2.12.2 1995/01/06 19:51:41 devrcs
50 * mk6 CR668 - 1.3b26 merge
51 * * Revision 1.2.2.4 1994/03/24 21:23:54 hidden
52 * added send_notices to support DCI profile/event tracing
53 * * End1.3merge
54 * [1994/11/02 18:32:19 dwm]
55 *
56 * Revision 1.2.12.1 1994/09/23 02:41:58 ezf
57 * change marker to not FREE
58 * [1994/09/22 21:42:31 ezf]
59 *
60 * Revision 1.2.2.2 1993/06/09 02:43:11 gm
61 * Added to OSF/1 R1.3 from NMK15.0.
62 * [1993/06/02 21:18:01 jeffc]
63 *
64 * Revision 1.2 1993/04/19 16:38:55 devrcs
65 * [0014] Change subsystem number as current shared with exc.defs reply messages.
66 * [1992/12/23 13:11:20 david]
67 *
68 * Revision 1.1 1992/09/30 02:23:01 robert
69 * Initial revision
70 *
71 * $EndLog$
72 */
73/* CMU_HIST */
74/*
75 * Revision 2.1.2.1 92/09/15 17:25:42 jeffreyh
76 * Created
77 * [92/07/17 bernadat]
78 *
79 */
80/* CMU_ENDHIST */
81/*
82 * Mach Operating System
83 * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
84 * All Rights Reserved.
85 *
86 * Permission to use, copy, modify and distribute this software and its
87 * documentation is hereby granted, provided that both the copyright
88 * notice and this permission notice appear in all copies of the
89 * software, derivative works or modified versions, and any portions
90 * thereof, and that both notices appear in supporting documentation.
91 *
92 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
93 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
94 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
95 *
96 * Carnegie Mellon requests users of this software to return to
97 *
98 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
99 * School of Computer Science
100 * Carnegie Mellon University
101 * Pittsburgh PA 15213-3890
102 *
103 * any improvements or extensions that they make and grant Carnegie Mellon
104 * the rights to redistribute these changes.
105 */
106/*
107 */
108/*
109 * Abstract:
110 * MiG definitions file for Mach Profiling interface.
111 * receive_samples();
112 */
113
114subsystem
115#if KERNEL_USER
116 KernelUser
117#endif KERNEL_USER
118 prof 2450; /* exc.defs from 2400 - 2449 */
119
120#include <mach/std_types.defs>
121#include <mach/mach_types.defs>
122
123ServerPrefix receive_;
124UserPrefix send_;
125
126type sample_array_t = array[*:1024] of unsigned;
127
128simpleroutine samples(
129 reply_port : mach_port_t;
130 samples : sample_array_t);
131
132simpleroutine notices(
133 reply_port : mach_port_t;
134 samples : sample_array_t;
135 msgoption options : mach_msg_options_t);
136
137
138
139