diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-26 17:02:23 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-31 11:06:34 -0300 |
commit | 08043330167f1e21abe60ff7e124ed87d4fd029d (patch) | |
tree | 590a3aa1881a5d9ab15150fbe54eb4c283a8ef42 | |
parent | 8d0d129e94d4518fd17c13b4991ff10b7f4cd85a (diff) | |
download | lwn-08043330167f1e21abe60ff7e124ed87d4fd029d.tar.gz lwn-08043330167f1e21abe60ff7e124ed87d4fd029d.zip |
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>
-rw-r--r-- | tools/perf/util/branch.h | 4 |
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 { |