gmon.c (165903) | gmon.c (200150) |
---|---|
1/*- 2 * Copyright (c) 1983, 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 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 */ 29 30#if defined(LIBC_SCCS) && !defined(lint) 31static char sccsid[] = "@(#)gmon.c 8.1 (Berkeley) 6/4/93"; 32#endif 33#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1983, 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 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 */ 29 30#if defined(LIBC_SCCS) && !defined(lint) 31static char sccsid[] = "@(#)gmon.c 8.1 (Berkeley) 6/4/93"; 32#endif 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/lib/libc/gmon/gmon.c 165903 2007-01-09 00:28:16Z imp $"); | 34__FBSDID("$FreeBSD: head/lib/libc/gmon/gmon.c 200150 2009-12-05 19:31:38Z ed $"); |
35 36#include "namespace.h" 37#include <sys/param.h> 38#include <sys/time.h> 39#include <sys/gmon.h> 40#include <sys/sysctl.h> 41 42#include <err.h> --- 84 unchanged lines hidden (view full) --- 127#endif 128 } else 129 s_scale = SCALE_1_TO_1; 130 131 moncontrol(1); 132} 133 134void | 35 36#include "namespace.h" 37#include <sys/param.h> 38#include <sys/time.h> 39#include <sys/gmon.h> 40#include <sys/sysctl.h> 41 42#include <err.h> --- 84 unchanged lines hidden (view full) --- 127#endif 128 } else 129 s_scale = SCALE_1_TO_1; 130 131 moncontrol(1); 132} 133 134void |
135_mcleanup() | 135_mcleanup(void) |
136{ 137 int fd; 138 int fromindex; 139 int endfrom; 140 u_long frompc; 141 int toindex; 142 struct rawarc rawarc; 143 struct gmonparam *p = &_gmonparam; --- 120 unchanged lines hidden --- | 136{ 137 int fd; 138 int fromindex; 139 int endfrom; 140 u_long frompc; 141 int toindex; 142 struct rawarc rawarc; 143 struct gmonparam *p = &_gmonparam; --- 120 unchanged lines hidden --- |