OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d0d129
)
perf branch: Remove some needless headers, add a needed one
author
Arnaldo Carvalho de Melo
<acme@redhat.com>
Wed, 26 Oct 2022 20:02:23 +0000
(17:02 -0300)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Mon, 31 Oct 2022 14:06:34 +0000
(11:06 -0300)
map_symbol.h is needed because we have structs that contains 'struct
addr_map_symbol', so add it, remove the others.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/branch.h
patch
|
blob
|
history
diff --git
a/tools/perf/util/branch.h
b/tools/perf/util/branch.h
index
f838b23
..
94f36a1
100644
(file)
--- a/
tools/perf/util/branch.h
+++ b/
tools/perf/util/branch.h
@@
-7,11
+7,9
@@
* detected in at least musl libc, used in Alpine Linux. -acme
*/
#include <stdio.h>
-#include <stdint.h>
-#include <linux/compiler.h>
-#include <linux/stddef.h>
#include <linux/perf_event.h>
#include <linux/types.h>
+#include "util/map_symbol.h"
#include "event.h"
struct branch_flags {