summaryrefslogtreecommitdiff
path: root/tools/perf/util/branch.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2022-10-26 17:02:23 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-10-31 11:06:34 -0300
commit08043330167f1e21abe60ff7e124ed87d4fd029d (patch)
tree590a3aa1881a5d9ab15150fbe54eb4c283a8ef42 /tools/perf/util/branch.h
parent8d0d129e94d4518fd17c13b4991ff10b7f4cd85a (diff)
perf branch: Remove some needless headers, add a needed one
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>
Diffstat (limited to 'tools/perf/util/branch.h')
-rw-r--r--tools/perf/util/branch.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/perf/util/branch.h b/tools/perf/util/branch.h
index f838b23db180..94f36a187fe7 100644
--- 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 {