Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf annotate: Remove lots of headers from annotate.h

To reduce the chances changes trigger tons of rebuilds, more to come.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-ytbykaku63862guk7muflcy4@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

+13 -3
+1
tools/perf/ui/gtk/annotate.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 #include "gtk.h" 3 + #include "util/sort.h" 3 4 #include "util/debug.h" 4 5 #include "util/annotate.h" 5 6 #include "util/evsel.h"
+11 -3
tools/perf/util/annotate.h
··· 4 4 5 5 #include <stdbool.h> 6 6 #include <stdint.h> 7 + #include <stdio.h> 7 8 #include <linux/types.h> 8 - #include "symbol.h" 9 - #include "hist.h" 10 - #include "sort.h" 11 9 #include <linux/list.h> 12 10 #include <linux/rbtree.h> 13 11 #include <pthread.h> 14 12 #include <asm/bug.h> 13 + #include "symbol_conf.h" 15 14 15 + struct hist_browser_timer; 16 + struct hist_entry; 16 17 struct ins_ops; 18 + struct map; 19 + struct map_symbol; 20 + struct addr_map_symbol; 21 + struct option; 22 + struct perf_sample; 23 + struct perf_evsel; 24 + struct symbol; 17 25 18 26 struct ins { 19 27 const char *name;
+1
tools/perf/util/stat-display.c
··· 2 2 #include <inttypes.h> 3 3 #include <linux/time64.h> 4 4 #include <math.h> 5 + #include "color.h" 5 6 #include "evlist.h" 6 7 #include "evsel.h" 7 8 #include "stat.h"