diff options
author | Ingo Molnar <mingo@elte.hu> | 2011-07-01 11:51:58 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-07-01 11:51:58 +0200 |
commit | 343a031f3c4a7a663192cf56368bb5a6c56870c0 (patch) | |
tree | ee6c7fddf5de92f64f3759694cc6a4b7c28fa80a /tools/perf/util/callchain.h | |
parent | 26ca5c11fb45ae2b2ac7e3574b8db6b3a3c7d350 (diff) | |
parent | cb1955b86c86782ff20037da42ef030057501c34 (diff) | |
download | blackbird-op-linux-343a031f3c4a7a663192cf56368bb5a6c56870c0.tar.gz blackbird-op-linux-343a031f3c4a7a663192cf56368bb5a6c56870c0.zip |
Merge branch 'perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing into perf/core
Diffstat (limited to 'tools/perf/util/callchain.h')
-rw-r--r-- | tools/perf/util/callchain.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/util/callchain.h b/tools/perf/util/callchain.h index 1a79df9f739f..9b4ff16cac96 100644 --- a/tools/perf/util/callchain.h +++ b/tools/perf/util/callchain.h @@ -14,6 +14,11 @@ enum chain_mode { CHAIN_GRAPH_REL }; +enum chain_order { + ORDER_CALLER, + ORDER_CALLEE +}; + struct callchain_node { struct callchain_node *parent; struct list_head siblings; @@ -41,6 +46,7 @@ struct callchain_param { u32 print_limit; double min_percent; sort_chain_func_t sort; + enum chain_order order; }; struct callchain_list { |