diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-29 12:42:55 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-02-06 14:00:39 +0100 |
commit | 5691903a6f5223b162c0c56a03b04d46bf653ae4 (patch) | |
tree | 9a0797db98ca371a2902581a1fe9a4917d33839c /tools/perf/arch/powerpc/util/kvm-stat.c | |
parent | perf pmu: Remove needless evsel.h include, only needs one fwd decl (diff) | |
download | linux-5691903a6f5223b162c0c56a03b04d46bf653ae4.tar.xz linux-5691903a6f5223b162c0c56a03b04d46bf653ae4.zip |
perf kvm stat: Replace kvm-stat.h includes with forward declarations
To reduce the include header dependency tree and speed up perf builds.
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-dngwaxuhfnhksawgdpo6e74n@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | tools/perf/arch/powerpc/util/kvm-stat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/powerpc/util/kvm-stat.c b/tools/perf/arch/powerpc/util/kvm-stat.c index 596ad6aedaac..86e64c47d8ea 100644 --- a/tools/perf/arch/powerpc/util/kvm-stat.c +++ b/tools/perf/arch/powerpc/util/kvm-stat.c @@ -3,6 +3,7 @@ #include "util/kvm-stat.h" #include "util/parse-events.h" #include "util/debug.h" +#include "util/evsel.h" #include "book3s_hv_exits.h" #include "book3s_hcalls.h" |