Deleted Added
full compact
gmon.c (8870) gmon.c (15634)
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

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

39#include <sys/time.h>
40#include <sys/gmon.h>
41#include <sys/sysctl.h>
42
43#include <stdio.h>
44#include <fcntl.h>
45#include <unistd.h>
46
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

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

39#include <sys/time.h>
40#include <sys/gmon.h>
41#include <sys/sysctl.h>
42
43#include <stdio.h>
44#include <fcntl.h>
45#include <unistd.h>
46
47#if defined(__ELF__)
48extern char *minbrk asm (".minbrk");
49#else
47extern char *minbrk asm ("minbrk");
50extern char *minbrk asm ("minbrk");
51#endif
48
49struct gmonparam _gmonparam = { GMON_PROF_OFF };
50
51static int s_scale;
52/* see profil(2) where this is describe (incorrectly) */
53#define SCALE_1_TO_1 0x10000L
54
55#define ERR(s) write(2, s, sizeof(s))

--- 199 unchanged lines hidden ---
52
53struct gmonparam _gmonparam = { GMON_PROF_OFF };
54
55static int s_scale;
56/* see profil(2) where this is describe (incorrectly) */
57#define SCALE_1_TO_1 0x10000L
58
59#define ERR(s) write(2, s, sizeof(s))

--- 199 unchanged lines hidden ---