From: Arnaldo Carvalho de Melo Date: Sun, 27 Jan 2019 23:06:16 +0000 (+0100) Subject: perf evsel: No need to include symbol.h in evsel.h, symbol_conf.h is enough X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9cd997f85e29c1c2b53e23fa98df7ec44c344d67;p=openwrt%2Fstaging%2Fblogic.git perf evsel: No need to include symbol.h in evsel.h, symbol_conf.h is enough To reduce the header dependency and avoid unnecessary rebuilds when things change in symbol.h. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-6duflwliprh2tr47w5x4t260@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/evsel.h b/tools/perf/util/evsel.h index 29c5eb68c44b..cc578e02e08f 100644 --- a/tools/perf/util/evsel.h +++ b/tools/perf/util/evsel.h @@ -8,7 +8,7 @@ #include #include #include "xyarray.h" -#include "symbol.h" +#include "symbol_conf.h" #include "cpumap.h" #include "counts.h"