summaryrefslogtreecommitdiffstats
path: root/sys/i386/include
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2001-10-30 15:04:57 +0000
committergreen <green@FreeBSD.org>2001-10-30 15:04:57 +0000
commitf765c56da4bb9bec810a24b635028726ead839c6 (patch)
treee922ecf32ad84a27708ef41eb162f4d960c23aa1 /sys/i386/include
parent20820bb50ec1b31d20923f5e5594983b1d9a990f (diff)
downloadFreeBSD-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.h1
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;
OpenPOWER on IntegriCloud