perf_counter tools: Share rbtree.with the kernel
The tools/perf/util/rbtree.c copy already drifted by three csets:4b324126e0
4c60117811
16c047add3
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>
This commit is contained in:

committed by
Ingo Molnar

parent
73c24cb86c
commit
43cbcd8acb
1
tools/perf/util/include/linux/rbtree.h
Normal file
1
tools/perf/util/include/linux/rbtree.h
Normal file
@@ -0,0 +1 @@
|
||||
#include "../../../../include/linux/rbtree.h"
|
Reference in New Issue
Block a user