diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-07-06 03:24:41 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-07-06 03:24:41 -0400 |
commit | d2d61ed55f8375a10ff606e83e2196880a775fb4 (patch) | |
tree | 43784f27647e4bb8868767361029a1e2897688f6 /tools/perf | |
parent | d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 (diff) | |
parent | 307bc971959aaa2df44032e7f6b0bda1f7e26890 (diff) |
Merge branch 'perf/rbtree_copy' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Pull rbtree build fix from Arnaldo Carvalho de Melo.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/MANIFEST | 6 | ||||
-rw-r--r-- | tools/perf/util/Build | 2 | ||||
-rw-r--r-- | tools/perf/util/include/linux/rbtree.h | 16 | ||||
-rw-r--r-- | tools/perf/util/include/linux/rbtree_augmented.h | 2 |
4 files changed, 4 insertions, 22 deletions
diff --git a/tools/perf/MANIFEST b/tools/perf/MANIFEST index fe50a1b34aa0..09dc0aabb515 100644 --- a/tools/perf/MANIFEST +++ b/tools/perf/MANIFEST | |||
@@ -18,6 +18,7 @@ tools/arch/x86/include/asm/atomic.h | |||
18 | tools/arch/x86/include/asm/rmwcc.h | 18 | tools/arch/x86/include/asm/rmwcc.h |
19 | tools/lib/traceevent | 19 | tools/lib/traceevent |
20 | tools/lib/api | 20 | tools/lib/api |
21 | tools/lib/rbtree.c | ||
21 | tools/lib/symbol/kallsyms.c | 22 | tools/lib/symbol/kallsyms.c |
22 | tools/lib/symbol/kallsyms.h | 23 | tools/lib/symbol/kallsyms.h |
23 | tools/lib/util/find_next_bit.c | 24 | tools/lib/util/find_next_bit.c |
@@ -44,6 +45,8 @@ tools/include/linux/kernel.h | |||
44 | tools/include/linux/list.h | 45 | tools/include/linux/list.h |
45 | tools/include/linux/log2.h | 46 | tools/include/linux/log2.h |
46 | tools/include/linux/poison.h | 47 | tools/include/linux/poison.h |
48 | tools/include/linux/rbtree.h | ||
49 | tools/include/linux/rbtree_augmented.h | ||
47 | tools/include/linux/types.h | 50 | tools/include/linux/types.h |
48 | include/asm-generic/bitops/arch_hweight.h | 51 | include/asm-generic/bitops/arch_hweight.h |
49 | include/asm-generic/bitops/const_hweight.h | 52 | include/asm-generic/bitops/const_hweight.h |
@@ -51,12 +54,10 @@ include/asm-generic/bitops/fls64.h | |||
51 | include/asm-generic/bitops/__fls.h | 54 | include/asm-generic/bitops/__fls.h |
52 | include/asm-generic/bitops/fls.h | 55 | include/asm-generic/bitops/fls.h |
53 | include/linux/perf_event.h | 56 | include/linux/perf_event.h |
54 | include/linux/rbtree.h | ||
55 | include/linux/list.h | 57 | include/linux/list.h |
56 | include/linux/hash.h | 58 | include/linux/hash.h |
57 | include/linux/stringify.h | 59 | include/linux/stringify.h |
58 | lib/hweight.c | 60 | lib/hweight.c |
59 | lib/rbtree.c | ||
60 | include/linux/swab.h | 61 | include/linux/swab.h |
61 | arch/*/include/asm/unistd*.h | 62 | arch/*/include/asm/unistd*.h |
62 | arch/*/include/uapi/asm/unistd*.h | 63 | arch/*/include/uapi/asm/unistd*.h |
@@ -65,7 +66,6 @@ arch/*/lib/memcpy*.S | |||
65 | arch/*/lib/memset*.S | 66 | arch/*/lib/memset*.S |
66 | include/linux/poison.h | 67 | include/linux/poison.h |
67 | include/linux/hw_breakpoint.h | 68 | include/linux/hw_breakpoint.h |
68 | include/linux/rbtree_augmented.h | ||
69 | include/uapi/linux/perf_event.h | 69 | include/uapi/linux/perf_event.h |
70 | include/uapi/linux/const.h | 70 | include/uapi/linux/const.h |
71 | include/uapi/linux/swab.h | 71 | include/uapi/linux/swab.h |
diff --git a/tools/perf/util/Build b/tools/perf/util/Build index 586a59d46022..601d11440596 100644 --- a/tools/perf/util/Build +++ b/tools/perf/util/Build | |||
@@ -139,7 +139,7 @@ $(OUTPUT)util/find_next_bit.o: ../lib/util/find_next_bit.c FORCE | |||
139 | $(call rule_mkdir) | 139 | $(call rule_mkdir) |
140 | $(call if_changed_dep,cc_o_c) | 140 | $(call if_changed_dep,cc_o_c) |
141 | 141 | ||
142 | $(OUTPUT)util/rbtree.o: ../../lib/rbtree.c FORCE | 142 | $(OUTPUT)util/rbtree.o: ../lib/rbtree.c FORCE |
143 | $(call rule_mkdir) | 143 | $(call rule_mkdir) |
144 | $(call if_changed_dep,cc_o_c) | 144 | $(call if_changed_dep,cc_o_c) |
145 | 145 | ||
diff --git a/tools/perf/util/include/linux/rbtree.h b/tools/perf/util/include/linux/rbtree.h deleted file mode 100644 index f06d89f0b867..000000000000 --- a/tools/perf/util/include/linux/rbtree.h +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | #ifndef __TOOLS_LINUX_PERF_RBTREE_H | ||
2 | #define __TOOLS_LINUX_PERF_RBTREE_H | ||
3 | #include <stdbool.h> | ||
4 | #include "../../../../include/linux/rbtree.h" | ||
5 | |||
6 | /* | ||
7 | * Handy for checking that we are not deleting an entry that is | ||
8 | * already in a list, found in block/{blk-throttle,cfq-iosched}.c, | ||
9 | * probably should be moved to lib/rbtree.c... | ||
10 | */ | ||
11 | static inline void rb_erase_init(struct rb_node *n, struct rb_root *root) | ||
12 | { | ||
13 | rb_erase(n, root); | ||
14 | RB_CLEAR_NODE(n); | ||
15 | } | ||
16 | #endif /* __TOOLS_LINUX_PERF_RBTREE_H */ | ||
diff --git a/tools/perf/util/include/linux/rbtree_augmented.h b/tools/perf/util/include/linux/rbtree_augmented.h deleted file mode 100644 index 9d6fcdf1788b..000000000000 --- a/tools/perf/util/include/linux/rbtree_augmented.h +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | #include <stdbool.h> | ||
2 | #include "../../../../include/linux/rbtree_augmented.h" | ||