perf callchain: Move the callchain_param extern to callchain.h
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 8f651eae186f4dfb1740988623c83ba03dcf3a76 Gitweb: http://git.kernel.org/tip/8f651eae186f4dfb1740988623c83ba03dcf3a76 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Thu, 9 Oct 2014 16:12:24 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Tue, 14 Oct 2014 17:32:51 -0300
perf callchain: Move the callchain_param extern to callchain.h
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 <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc David Ahern <[email protected]>
Cc Don Zickus <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Jean Pihet <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Stephane Eranian <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/builtin-record.c | 1 + tools/perf/util/callchain.h | 2 ++ tools/perf/util/evsel.c | 1 + tools/perf/util/hist.h | 2 -- tools/perf/util/scripting-engines/trace-event-python.c | 1 + 5 files changed, 5 insertions(+), 2 deletions(-)
tools/perf/builtin-record.c +1 -0
@@ -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"
tools/perf/util/callchain.h +2 -0
@@ -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;
tools/perf/util/evsel.c +1 -0
@@ -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"
tools/perf/util/hist.h +0 -2
@@ -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 ;
tools/perf/util/scripting-engines/trace-event-python.c +1 -0
@@ -28,6 +28,7 @@#include "../../perf.h" #include "../debug.h" +#include "../callchain.h" #include "../evsel.h" #include "../util.h" #include "../event.h"