Update for memprof->memusage renaming.
authorUlrich Drepper <drepper@redhat.com>
Tue, 20 Jun 2000 06:36:03 +0000 (06:36 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 20 Jun 2000 06:36:03 +0000 (06:36 +0000)
malloc/Makefile
sysdeps/alpha/memusage.h
sysdeps/arm/memusage.h
sysdeps/i386/memusage.h
sysdeps/ia64/memusage.h
sysdeps/m68k/memusage.h
sysdeps/mips/memusage.h
sysdeps/powerpc/memusage.h
sysdeps/sh/memusage.h
sysdeps/sparc/memusage.h

index 7614a0a..55476ca 100644 (file)
@@ -27,8 +27,8 @@ dist-headers := malloc.h
 headers := $(dist-headers) obstack.h mcheck.h
 tests := mallocbug tst-malloc tst-valloc tst-calloc
 
-distribute = thread-m.h mtrace.pl mcheck-init.c stackinfo.h memprof.h \
-            memprof.sh memprofstat.c
+distribute = thread-m.h mtrace.pl mcheck-init.c stackinfo.h memusage.h \
+            memusage.sh memusagestat.c
 
 # Things which get pasted together into gmalloc.c.
 gmalloc-routines := malloc morecore
@@ -40,11 +40,11 @@ install-lib := libmcheck.a
 non-lib.a := libmcheck.a
 
 # Additional library.
-extra-libs = libmemprof
+extra-libs = libmemusage
 extra-libs-others = $(extra-libs)
 
-libmemprof-routines = memprof
-libmemprof-inhibit-o = $(filter-out .os,$(object-suffixes))
+libmemusage-routines = memusage
+libmemusage-inhibit-o = $(filter-out .os,$(object-suffixes))
 
 # These should be removed by `make clean'.
 extra-objs = mcheck-init.o libmcheck.a
@@ -68,17 +68,17 @@ address-width=18
 endif
 endif
 
-# If the gd library is available we build the `memprofstat' program.
+# If the gd library is available we build the `memusagestat' program.
 ifneq ($(LIBGD),no)
-install-bin += memprofstat memprof
+install-bin += memusagestat memusage
 endif
 
 # Another goal which can be used to override the configure decision.
-.PHONY: do-memprofstat
-do-memprofstat: $(objpfx)memprofstat
+.PHONY: do-memusagestat
+do-memusagestat: $(objpfx)memusagestat
 
-memprofstat-modules = memprofstat
-$(objpfx)memprofstat: $(memprofstat-modules:%=$(objpfx)%.o)
+memusagestat-modules = memusagestat
+$(objpfx)memusagestat: $(memusagestat-modules:%=$(objpfx)%.o)
        $(LINK.o) -o $@ $^ $(libgd-LDFLAGS) -lgd -lpng -lz
 
 include ../Rules
@@ -100,7 +100,7 @@ $(objpfx)mtrace: mtrace.pl
            -e 's|@VERSION@|$(version)|' $^ > $@.new \
        && rm -f $@ && mv $@.new $@ && chmod +x $@
 
-$(objpfx)memprof: memprof.sh
+$(objpfx)memusage: memusage.sh
        rm -f $@.new
        sed -e 's|@BASH@|$(BASH)|' -e 's|@VERSION@|$(version)|' \
            -e 's|@LIBDIR@|$(libdir)|' -e 's|@BINDIR@|$(bindir)|' $^ > $@.new \
@@ -108,4 +108,4 @@ $(objpfx)memprof: memprof.sh
 
 
 # The implementation uses `dlsym'
-$(objpfx)libmemprof.so: $(common-objpfx)dlfcn/libdl.so
+$(objpfx)libmemusage.so: $(common-objpfx)dlfcn/libdl.so
index 462b5ce..4b8f455 100644 (file)
@@ -18,4 +18,4 @@
 
 #define GETSP() ({ register uintptr_t stack_ptr asm ("$30"); stack_ptr; })
 
-#include <sysdeps/generic/memprof.h>
+#include <sysdeps/generic/memusage.h>
index 4e5081c..86ab085 100644 (file)
@@ -18,4 +18,4 @@
 
 #define GETSP() ({ register uintptr_t stack_ptr asm ("sp"); stack_ptr; })
 
-#include <sysdeps/generic/memprof.h>
+#include <sysdeps/generic/memusage.h>
index c1b047f..2ad4e90 100644 (file)
@@ -19,4 +19,4 @@
 #define GETSP() ({ register uintptr_t stack_ptr asm ("esp"); stack_ptr; })
 #define GETTIME(low,high) asm ("rdtsc" : "=a" (low), "=d" (high))
 
-#include <sysdeps/generic/memprof.h>
+#include <sysdeps/generic/memusage.h>
index e447a73..6e03500 100644 (file)
@@ -19,4 +19,4 @@
 
 #define GETSP() ({ register uintptr_t stack_ptr asm ("%r12"); stack_ptr; })
 
-#include <sysdeps/generic/memprof.h>
+#include <sysdeps/generic/memusage.h>
index 5fd1cf4..72138e2 100644 (file)
@@ -19,4 +19,4 @@
 
 #define GETSP() ({ register uintptr_t stack_ptr asm ("%sp"); stack_ptr; })
 
-#include <sysdeps/generic/memprof.h>
+#include <sysdeps/generic/memusage.h>
index 93f2917..8e421e4 100644 (file)
@@ -18,4 +18,4 @@
 
 #define GETSP() ({ register uintptr_t stack_ptr asm ("$29"); stack_ptr; })
 
-#include <sysdeps/generic/memprof.h>
+#include <sysdeps/generic/memusage.h>
index 05c8e78..b586a15 100644 (file)
@@ -18,4 +18,4 @@
 
 #define GETSP() ({ register uintptr_t stack_ptr asm ("%r1"); stack_ptr; })
 
-#include <sysdeps/generic/memprof.h>
+#include <sysdeps/generic/memusage.h>
index a02949f..ae98cb3 100644 (file)
@@ -18,4 +18,4 @@
 
 #define GETSP() ({ register uintptr_t stack_ptr asm ("r15"); stack_ptr; })
 
-#include <sysdeps/generic/memprof.h>
+#include <sysdeps/generic/memusage.h>
index 090e02a..8a36a09 100644 (file)
@@ -18,4 +18,4 @@
 
 #define GETSP() ({ register uintptr_t stack_ptr asm ("%sp"); stack_ptr; })
 
-#include <sysdeps/generic/memprof.h>
+#include <sysdeps/generic/memusage.h>