diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2009-07-01 15:28:37 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-07-01 20:37:22 +0000 |
| commit | 43cbcd8acb4c992cbd22d1ec8a08c0591be5d719 (patch) | |
| tree | 38bd75deba4635ee6fe38bb0dcff1a76db872189 /tools/perf/builtin-annotate.c | |
| parent | perf list: Add cache events (diff) | |
| download | kernel-43cbcd8acb4c992cbd22d1ec8a08c0591be5d719.tar.gz kernel-43cbcd8acb4c992cbd22d1ec8a08c0591be5d719.zip | |
perf_counter tools: Share rbtree.with the kernel
The tools/perf/util/rbtree.c copy already drifted by three
csets:
4b324126e0c6c3a5080ca3ec0981e8766ed6f1ee
4c60117811171d867d4f27f17ea07d7419d45dae
16c047add3ceaf0ab882e3e094d1ec904d02312d
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 <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
| -rw-r--r-- | tools/perf/builtin-annotate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index 6cba70daf121..1960c22b816c 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c @@ -12,7 +12,7 @@ #include "util/color.h" #include "util/list.h" #include "util/cache.h" -#include "util/rbtree.h" +#include <linux/rbtree.h> #include "util/symbol.h" #include "util/string.h" |
