diff options
author | green <green@FreeBSD.org> | 2001-10-30 15:04:57 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2001-10-30 15:04:57 +0000 |
commit | f765c56da4bb9bec810a24b635028726ead839c6 (patch) | |
tree | e922ecf32ad84a27708ef41eb162f4d960c23aa1 /sys/i386/include | |
parent | 20820bb50ec1b31d20923f5e5594983b1d9a990f (diff) | |
download | FreeBSD-src-f765c56da4bb9bec810a24b635028726ead839c6.zip FreeBSD-src-f765c56da4bb9bec810a24b635028726ead839c6.tar.gz |
Add kmupetext(), a function that expands the range of memory covered
by the profiler on a running system. This is not done sparsely, as
memory is cheaper than processor speed and each gprof mcount() and
mexitcount() operation is already very expensive.
Obtained from: NAI Labs CBOSS project
Funded by: DARPA
Diffstat (limited to 'sys/i386/include')
-rw-r--r-- | sys/i386/include/profile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/include/profile.h b/sys/i386/include/profile.h index 5f511b3..82ff603 100644 --- a/sys/i386/include/profile.h +++ b/sys/i386/include/profile.h @@ -117,6 +117,7 @@ typedef u_int fptrdiff_t; #ifdef _KERNEL void mcount __P((uintfptr_t frompc, uintfptr_t selfpc)); +void kmupetext __P((uintfptr_t nhighpc)); #ifdef GUPROF struct gmonparam; |