]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
perf hist: Remove needless ui/progress.h from hist.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 30 Aug 2019 14:28:14 +0000 (11:28 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 1 Sep 2019 01:24:10 +0000 (22:24 -0300)
We only need a forward declaration, add it and fixup all the files that
need ui_progress definitions but were wrongly getting it from hist.h.

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-84a90o9jdxybffxo9jmouokw@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-c2c.c
tools/perf/builtin-report.c
tools/perf/util/hist.h
tools/perf/util/session.c

index d1ad694c67a2fd66959b53ca9f3fad9cab93bdac..0d76b2cb8c0a5f36875773defdfe5fb248486051 100644 (file)
@@ -37,6 +37,7 @@
 #include "mem2node.h"
 #include "symbol.h"
 #include "ui/ui.h"
+#include "ui/progress.h"
 #include "../perf.h"
 
 struct c2c_hists {
index ba419ee40283b2147b6e4663ae3d09234ccb0a79..d7a3456679451303c93a1bbc9bf9a620063d51ce 100644 (file)
@@ -47,6 +47,7 @@
 #include "util/branch.h"
 #include "util/util.h"
 #include "ui/ui.h"
+#include "ui/progress.h"
 
 #include <dlfcn.h>
 #include <errno.h>
index 7b9267ebebeb0af82d8390fb5510fe1aefd6c70c..1c0a635e5e32b97cf2ef6727fd0fc801b2708929 100644 (file)
@@ -8,7 +8,6 @@
 #include "evsel.h"
 #include "header.h"
 #include "color.h"
-#include "ui/progress.h"
 
 struct hist_entry;
 struct hist_entry_ops;
@@ -18,6 +17,7 @@ struct mem_info;
 struct branch_info;
 struct block_info;
 struct symbol;
+struct ui_progress;
 
 enum hist_filter {
        HIST_FILTER__DSO,
index a72774e4463f456e2841e308bcefcd705d47d847..f166da76acf1d0bfa175b64e41f1c0e36d6b4808 100644 (file)
@@ -30,6 +30,7 @@
 #include "sample-raw.h"
 #include "stat.h"
 #include "util.h"
+#include "ui/progress.h"
 #include "../perf.h"
 #include "arch/common.h"