]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
perf callchain: Move the callchain_param extern to callchain.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 9 Oct 2014 19:12:24 +0000 (16:12 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 14 Oct 2014 20:32:51 +0000 (17:32 -0300)
It was lost in hist.h, move it to where it belongs, callchain.h, as
there are places that gets hist.h by means of evsel.h, and since evsel.h
is being untangled from hist.h...

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jean Pihet <jean.pihet@linaro.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-0rg7ji1jnbm6q6gj35j37jby@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/util/callchain.h
tools/perf/util/evsel.c
tools/perf/util/hist.h
tools/perf/util/scripting-engines/trace-event-python.c

index 44c6f3d55ce76066ca8911d31f196a1fe128f36a..a6b2132c666f709922e066d65e0cb4874453d23f 100644 (file)
@@ -14,6 +14,7 @@
 #include "util/parse-options.h"
 #include "util/parse-events.h"
 
+#include "util/callchain.h"
 #include "util/header.h"
 #include "util/event.h"
 #include "util/evlist.h"
index 2a1f5a46543a1cd3ecfb0b78c622921c9ee5a564..94cfefddf4db033eb2af2f7a4adad6e6c6147227 100644 (file)
@@ -65,6 +65,8 @@ struct callchain_param {
        enum chain_key          key;
 };
 
+extern struct callchain_param callchain_param;
+
 struct callchain_list {
        u64                     ip;
        struct map_symbol       ms;
index 0580b13df2e6f53777db4ffe1e1fe2b303ca1dfa..a0837642744862b792a51165cee7f2fc6320cb1a 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/perf_event.h>
 #include <sys/resource.h>
 #include "asm/bug.h"
+#include "callchain.h"
 #include "evsel.h"
 #include "evlist.h"
 #include "util.h"
index a039cd22b23cdcf9cca39f1d6a47502c5586daea..ebfc25886cac56546e49461438f1a31c8e74dbb8 100644 (file)
@@ -8,8 +8,6 @@
 #include "color.h"
 #include "ui/progress.h"
 
-extern struct callchain_param callchain_param;
-
 struct hist_entry;
 struct addr_location;
 struct symbol;
index 56ba07cce549ef5b5a79c2f2ae31e0799f245907..496f21cadd97098751c22e054ec89311a29417f9 100644 (file)
@@ -28,6 +28,7 @@
 
 #include "../../perf.h"
 #include "../debug.h"
+#include "../callchain.h"
 #include "../evsel.h"
 #include "../util.h"
 #include "../event.h"