Skip to content

Commit

Permalink
perf tools: Move perf_call_graph_mode enum from perf.h
Browse files Browse the repository at this point in the history
Into util/callchain.h header where all callchain related
structures should be.

Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Borislav Petkov <bp@suse.de>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1399293219-8732-8-git-send-email-jolsa@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
  • Loading branch information
Jiri Olsa committed May 5, 2014
1 parent 0776eb5 commit 2c83bc0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tools/perf/perf.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,6 @@ void pthread__unblock_sigwinch(void);

#include "util/target.h"

enum perf_call_graph_mode {
CALLCHAIN_NONE,
CALLCHAIN_FP,
CALLCHAIN_DWARF,
CALLCHAIN_MAX
};

struct record_opts {
struct target target;
int call_graph;
Expand Down
7 changes: 7 additions & 0 deletions tools/perf/util/callchain.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
#include "event.h"
#include "symbol.h"

enum perf_call_graph_mode {
CALLCHAIN_NONE,
CALLCHAIN_FP,
CALLCHAIN_DWARF,
CALLCHAIN_MAX
};

enum chain_mode {
CHAIN_NONE,
CHAIN_FLAT,
Expand Down

0 comments on commit 2c83bc0

Please sign in to comment.