Deleted Added
full compact
profile.h (84800) profile.h (88088)
1/* $FreeBSD: head/sys/ia64/include/profile.h 84800 2001-10-11 13:31:55Z dfr $ */
1/* $FreeBSD: head/sys/ia64/include/profile.h 88088 2001-12-18 00:27:18Z jhb $ */
2/* From: NetBSD: profile.h,v 1.9 1997/04/06 08:47:37 cgd Exp */
3
4/*
5 * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
6 * All rights reserved.
7 *
8 * Author: Chris G. Demetriou
9 *

--- 85 unchanged lines hidden (view full) ---

95 \n\
96 .end _mcount");
97
98#ifdef _KERNEL
99/*
100 * The following two macros do splhigh and splx respectively.
101 */
102#define MCOUNT_ENTER(s) \n\
2/* From: NetBSD: profile.h,v 1.9 1997/04/06 08:47:37 cgd Exp */
3
4/*
5 * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
6 * All rights reserved.
7 *
8 * Author: Chris G. Demetriou
9 *

--- 85 unchanged lines hidden (view full) ---

95 \n\
96 .end _mcount");
97
98#ifdef _KERNEL
99/*
100 * The following two macros do splhigh and splx respectively.
101 */
102#define MCOUNT_ENTER(s) \n\
103 _c = critical_enter()
103 _c = cpu_critical_enter()
104#define MCOUNT_EXIT(s) \n\
104#define MCOUNT_EXIT(s) \n\
105 (void)critical_exit(_c)
105 cpu_critical_exit(_c)
106#define MCOUNT_DECL(s) critical_t c;
107#ifdef GUPROF
108struct gmonparam;
109
110void nullfunc_loop_profiled __P((void));
111void nullfunc_profiled __P((void));
112void startguprof __P((struct gmonparam *p));
113void stopguprof __P((struct gmonparam *p));
114#else
115#define startguprof(p)
116#define stopguprof(p)
117#endif /* GUPROF */
118
119#else /* !_KERNEL */
120typedef u_long uintfptr_t;
121#endif
106#define MCOUNT_DECL(s) critical_t c;
107#ifdef GUPROF
108struct gmonparam;
109
110void nullfunc_loop_profiled __P((void));
111void nullfunc_profiled __P((void));
112void startguprof __P((struct gmonparam *p));
113void stopguprof __P((struct gmonparam *p));
114#else
115#define startguprof(p)
116#define stopguprof(p)
117#endif /* GUPROF */
118
119#else /* !_KERNEL */
120typedef u_long uintfptr_t;
121#endif