perf_counter tools: Share rbtree.with the kernel
The tools/perf/util/rbtree.c copy already drifted by three csets: 4b324126 4c601178 16c047ad So remove the copy and use the lib/rbtree.c directly, sharing the source code while still generating a separate object file, since tools/perf uses a far more agressive -O6 switch. Signed-off-by:Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <20090701152837.GG15682@ghostprotocols.net> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- tools/perf/Makefile 5 additions, 2 deletionstools/perf/Makefile
- tools/perf/builtin-annotate.c 1 addition, 1 deletiontools/perf/builtin-annotate.c
- tools/perf/builtin-report.c 1 addition, 1 deletiontools/perf/builtin-report.c
- tools/perf/builtin-top.c 1 addition, 1 deletiontools/perf/builtin-top.c
- tools/perf/util/callchain.h 1 addition, 1 deletiontools/perf/util/callchain.h
- tools/perf/util/include/linux/kernel.h 21 additions, 0 deletionstools/perf/util/include/linux/kernel.h
- tools/perf/util/include/linux/module.h 6 additions, 0 deletionstools/perf/util/include/linux/module.h
- tools/perf/util/include/linux/rbtree.h 1 addition, 0 deletionstools/perf/util/include/linux/rbtree.h
- tools/perf/util/rbtree.c 0 additions, 383 deletionstools/perf/util/rbtree.c
- tools/perf/util/rbtree.h 0 additions, 171 deletionstools/perf/util/rbtree.h
- tools/perf/util/strlist.h 1 addition, 1 deletiontools/perf/util/strlist.h
- tools/perf/util/symbol.h 1 addition, 1 deletiontools/perf/util/symbol.h
Loading
Please register or sign in to comment