-
- Downloads
perf tools: Remove some unused functions
Without the bloated cplus_demangle from binutils, i.e building with:
$ make NO_DEMANGLE=1 O=~acme/git/build/perf -j3 -C tools/perf/ install
Before:
text data bss dec hex filename
471851 29280 4025056 4526187 45106b /home/acme/bin/perf
After:
[acme@doppio linux-2.6-tip]$ size ~/bin/perf
text data bss dec hex filename
446886 29232 4008576 4484694 446e56 /home/acme/bin/perf
So its a 5.3% size reduction in code, but the interesting part is in the git
diff --stat output:
19 files changed, 20 insertions(+), 1909 deletions(-)
If we ever need some of the things we got from git but weren't using, we just
have to go to the git repo and get fresh, uptodate source code bits.
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by:
Arnaldo Carvalho de Melo <acme@redhat.com>
Showing
- tools/perf/builtin-record.c 1 addition, 0 deletionstools/perf/builtin-record.c
- tools/perf/util/abspath.c 0 additions, 81 deletionstools/perf/util/abspath.c
- tools/perf/util/cache.h 1 addition, 54 deletionstools/perf/util/cache.h
- tools/perf/util/config.c 6 additions, 455 deletionstools/perf/util/config.c
- tools/perf/util/exec_cmd.c 1 addition, 1 deletiontools/perf/util/exec_cmd.c
- tools/perf/util/exec_cmd.h 0 additions, 1 deletiontools/perf/util/exec_cmd.h
- tools/perf/util/help.c 6 additions, 24 deletionstools/perf/util/help.c
- tools/perf/util/path.c 0 additions, 202 deletionstools/perf/util/path.c
- tools/perf/util/quote.c 1 addition, 432 deletionstools/perf/util/quote.c
- tools/perf/util/quote.h 0 additions, 39 deletionstools/perf/util/quote.h
- tools/perf/util/run-command.c 0 additions, 90 deletionstools/perf/util/run-command.c
- tools/perf/util/run-command.h 0 additions, 30 deletionstools/perf/util/run-command.h
- tools/perf/util/session.c 1 addition, 0 deletionstools/perf/util/session.c
- tools/perf/util/sigchain.c 1 addition, 1 deletiontools/perf/util/sigchain.c
- tools/perf/util/sigchain.h 0 additions, 1 deletiontools/perf/util/sigchain.h
- tools/perf/util/strbuf.c 1 addition, 228 deletionstools/perf/util/strbuf.c
- tools/perf/util/strbuf.h 0 additions, 45 deletionstools/perf/util/strbuf.h
- tools/perf/util/util.h 0 additions, 154 deletionstools/perf/util/util.h
- tools/perf/util/wrapper.c 1 addition, 71 deletionstools/perf/util/wrapper.c
Loading
Please register or sign in to comment