Deleted Added
full compact
profile.h (37629) profile.h (38928)
1/*
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)profile.h 8.1 (Berkeley) 6/11/93
1/*
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)profile.h 8.1 (Berkeley) 6/11/93
34 * $Id: profile.h,v 1.16 1998/07/10 09:26:41 bde Exp $
34 * $Id: profile.h,v 1.17 1998/07/14 05:09:43 bde Exp $
35 */
36
37#ifndef _MACHINE_PROFILE_H_
38#define _MACHINE_PROFILE_H_
39
40#ifdef KERNEL
41
42/*

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

130#endif /* GUPROF */
131
132#else /* !KERNEL */
133
134#include <sys/cdefs.h>
135
136__BEGIN_DECLS
137#ifdef __GNUC__
35 */
36
37#ifndef _MACHINE_PROFILE_H_
38#define _MACHINE_PROFILE_H_
39
40#ifdef KERNEL
41
42/*

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

130#endif /* GUPROF */
131
132#else /* !KERNEL */
133
134#include <sys/cdefs.h>
135
136__BEGIN_DECLS
137#ifdef __GNUC__
138#ifdef __ELF__
139void mcount __P((void)) __asm(".mcount");
140#else
138void mcount __P((void)) __asm("mcount");
139#endif
141void mcount __P((void)) __asm("mcount");
142#endif
143#endif
140static void _mcount __P((uintfptr_t frompc, uintfptr_t selfpc));
141__END_DECLS
142
143#endif /* KERNEL */
144
145#ifdef GUPROF
146/* XXX doesn't quite work outside kernel yet. */
147extern int cputime_bias;
148
149__BEGIN_DECLS
150int cputime __P((void));
151void empty_loop __P((void));
152void mexitcount __P((uintfptr_t selfpc));
153void nullfunc __P((void));
154void nullfunc_loop __P((void));
155__END_DECLS
156#endif
157
158#endif /* !_MACHINE_PROFILE_H_ */
144static void _mcount __P((uintfptr_t frompc, uintfptr_t selfpc));
145__END_DECLS
146
147#endif /* KERNEL */
148
149#ifdef GUPROF
150/* XXX doesn't quite work outside kernel yet. */
151extern int cputime_bias;
152
153__BEGIN_DECLS
154int cputime __P((void));
155void empty_loop __P((void));
156void mexitcount __P((uintfptr_t selfpc));
157void nullfunc __P((void));
158void nullfunc_loop __P((void));
159__END_DECLS
160#endif
161
162#endif /* !_MACHINE_PROFILE_H_ */