mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
1 parent
ce8ccff5dd
commit
8f651eae18
5 files changed
+5
-2
No files matched your search
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
|
||||
#include "../../perf.h"
|
||||
#include "../debug.h"
|
||||
#include "../callchain.h"
|
||||
#include "../evsel.h"
|
||||
#include "../util.h"
|
||||
#include "../event.h"
|
||||
|
||||
Reference in new issue
Block a user