diff options
author | Paul Selkirk <paul@psgd.org> | 2018-12-02 17:19:44 -0500 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2018-12-02 17:19:44 -0500 |
commit | e99737c12cac1fcc8604ac89a14dac5b2606a42d (patch) | |
tree | 686c5b7aaca400cfab1800a45d4fa07b24a9bf08 /libraries/libprof/Makefile | |
parent | 97034edb35e92361daaa24512989d00f6c3fd517 (diff) |
Clean up the profiling code to the point where I stand a chance of
understanding it 6 months from now.
While I'm at it, try to make it a little more efficient (because 50-60% of
time in a typical profiling run is spent in the function-entry counting),
and collapse profil.c into gmon.c.
Diffstat (limited to 'libraries/libprof/Makefile')
-rw-r--r-- | libraries/libprof/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/libprof/Makefile b/libraries/libprof/Makefile index 37b9a23..28bedea 100644 --- a/libraries/libprof/Makefile +++ b/libraries/libprof/Makefile @@ -1,6 +1,6 @@ LIB = libprof.a -OBJS = gmon.o profil.o profiler.o memfunc.o +OBJS = gmon.o profiler.o memfunc.o # Don't profile the profiling code, because that way lies madness (and recursion). CFLAGS := $(subst -pg,,$(CFLAGS)) |