1*55711Sbostic /* 2*55711Sbostic * Copyright (c) 1992 Regents of the University of California. 3*55711Sbostic * All rights reserved. 4*55711Sbostic * 5*55711Sbostic * This code is derived from software contributed to Berkeley by 6*55711Sbostic * Ralph Campbell. 7*55711Sbostic * 8*55711Sbostic * %sccs.include.redist.c% 9*55711Sbostic * 10*55711Sbostic * @(#)profile.h 7.1 (Berkeley) 07/27/92 11*55711Sbostic */ 12*55711Sbostic 13*55711Sbostic #define _MCOUNT_DECL static inline void _mcount 14*55711Sbostic 15*55711Sbostic #define MCOUNT 16*55711Sbostic 17*55711Sbostic #ifdef KERNEL 18*55711Sbostic /* 19*55711Sbostic * The following two macros do splhigh and splx respectively. 20*55711Sbostic * They have to be defined this way because these are real 21*55711Sbostic * functions on the PMAX, and we do not want to invoke mcount 22*55711Sbostic * recursively. 23*55711Sbostic */ 24*55711Sbostic #define MCOUNT_ENTER 25*55711Sbostic 26*55711Sbostic #define MCOUNT_EXIT 27*55711Sbostic #endif /* KERNEL */ 28