Home
last modified time | relevance | path

Searched refs:callchain_param (Results 1 – 25 of 29) sorted by relevance

12

/linux/tools/perf/util/
A Dcallchain.c43 struct callchain_param callchain_param = { variable
74 callchain_param.mode = CHAIN_FLAT; in parse_callchain_mode()
82 callchain_param.mode = CHAIN_FOLDED; in parse_callchain_mode()
92 callchain_param.order_set = true; in parse_callchain_order()
97 callchain_param.order_set = true; in parse_callchain_order()
176 callchain_param.enabled = true; in __parse_callchain_report_opt()
185 callchain_param.enabled = false; in __parse_callchain_report_opt()
328 callchain_param.dump_size = size; in perf_callchain_config()
715 switch (callchain_param.key) { in match_chain()
1188 switch (callchain_param.value) { in callchain_node__scnprintf_value()
[all …]
A Dcallchain.h80 struct callchain_param;
83 u64, struct callchain_param *);
99 struct callchain_param { struct
115 extern struct callchain_param callchain_param; argument
116 extern struct callchain_param callchain_param_default;
195 int callchain_register_param(struct callchain_param *param);
246 struct callchain_param *callchain,
258 int parse_callchain_record(const char *arg, struct callchain_param *param);
259 int parse_callchain_record_opt(const char *arg, struct callchain_param *param);
A Ddb-export.c217 enum chain_order saved_order = callchain_param.order; in call_path_from_sample()
228 callchain_param.order = ORDER_CALLER; in call_path_from_sample()
232 callchain_param.order = saved_order; in call_path_from_sample()
271 callchain_param.order = saved_order; in call_path_from_sample()
A Devsel.h240 struct callchain_param;
243 struct callchain_param *callchain);
245 struct callchain_param *callchain);
A Devlist.h164 struct callchain_param;
167 void evlist__config(struct evlist *evlist, struct record_opts *opts, struct callchain_param *callch…
A Dhist.c1824 if (callchain_param.mode == CHAIN_GRAPH_REL) { in hists__hierarchy_output_resort()
1830 min_callchain_hits = total * (callchain_param.min_percent / 100); in hists__hierarchy_output_resort()
1833 callchain_param.sort(&he->sorted_chain, he->callchain, in hists__hierarchy_output_resort()
1834 min_callchain_hits, &callchain_param); in hists__hierarchy_output_resort()
1850 if (callchain_param.mode == CHAIN_GRAPH_REL) { in __hists__insert_output_entry()
1856 min_callchain_hits = total * (callchain_param.min_percent / 100); in __hists__insert_output_entry()
1858 callchain_param.sort(&he->sorted_chain, he->callchain, in __hists__insert_output_entry()
1859 min_callchain_hits, &callchain_param); in __hists__insert_output_entry()
1898 min_callchain_hits = callchain_total * (callchain_param.min_percent / 100); in output_resort()
A Dmachine.c2122 if (!map || callchain_param.key == CCKEY_FUNCTION) in callchain_srcline()
2128 bool show_addr = callchain_param.key == CCKEY_ADDRESS; in callchain_srcline()
2617 bool callee = (callchain_param.order == ORDER_CALLEE); in resolve_lbr_callchain_sample()
2761 if (branch && callchain_param.branch_callstack) { in thread__resolve_callchain_sample()
2772 if (callchain_param.order == ORDER_CALLEE) { in thread__resolve_callchain_sample()
2823 if (chain && callchain_param.order != ORDER_CALLEE) { in thread__resolve_callchain_sample()
2833 if (callchain_param.order == ORDER_CALLEE) in thread__resolve_callchain_sample()
2845 else if (callchain_param.order != ORDER_CALLEE) { in thread__resolve_callchain_sample()
2959 if (callchain_param.order == ORDER_CALLEE) { in thread__resolve_callchain()
A Devsel.c831 struct callchain_param *param) in __evsel__config_callchain()
890 struct callchain_param *param) in evsel__config_callchain()
896 static void evsel__reset_callgraph(struct evsel *evsel, struct callchain_param *param) in evsel__reset_callgraph()
920 struct callchain_param param = { in evsel__apply_config_terms()
921 .record_mode = callchain_param.record_mode, in evsel__apply_config_terms()
1031 if (callchain_param.enabled) in evsel__apply_config_terms()
1032 evsel__reset_callgraph(evsel, &callchain_param); in evsel__apply_config_terms()
1096 struct callchain_param *callchain) in evsel__config()
A Drecord.c95 void evlist__config(struct evlist *evlist, struct record_opts *opts, struct callchain_param *callch… in evlist__config()
A Dunwind-libdw.c274 if (callchain_param.order == ORDER_CALLER) in unwind__get_entries()
A Dpython.c52 struct callchain_param callchain_param; variable
55 struct callchain_param *param __maybe_unused) in parse_callchain_record()
A Dunwind-libunwind-local.c697 if (callchain_param.order == ORDER_CALLER) in get_entries()
A Dsrcline.c54 if (callchain_param.order == ORDER_CALLEE) in inline_list__append()
/linux/tools/perf/tests/
A Ddwarf-unwind.c91 int idx = callchain_param.order == ORDER_CALLER ? in unwind_entry()
149 callchain_param.order = ORDER_CALLER; in test_dwarf_unwind__compare()
153 callchain_param.order = ORDER_CALLEE; in test_dwarf_unwind__compare()
216 callchain_param.record_mode = CALLCHAIN_DWARF; in test__dwarf_unwind()
A Dhists_cumulate.c286 callchain_register_param(&callchain_param); in test1()
433 callchain_register_param(&callchain_param); in test2()
491 callchain_register_param(&callchain_param); in test3()
676 callchain_param = callchain_param_default; in test4()
677 callchain_register_param(&callchain_param); in test4()
/linux/tools/perf/ui/stdio/
A Dhist.c143 if (!next && (callchain_param.mode != CHAIN_GRAPH_REL || !remaining)) in __callchain__fprintf_graph()
160 if (callchain_param.mode == CHAIN_GRAPH_REL) in __callchain__fprintf_graph()
170 if (++entries_printed == callchain_param.print_limit) in __callchain__fprintf_graph()
174 if (callchain_param.mode == CHAIN_GRAPH_REL && in __callchain__fprintf_graph()
183 if (callchain_param.value == CCVAL_COUNT && child && child->parent) { in __callchain__fprintf_graph()
263 if (++entries_printed == callchain_param.print_limit) in callchain__fprintf_graph()
269 if (callchain_param.mode == CHAIN_GRAPH_REL) in callchain__fprintf_graph()
321 if (++entries_printed == callchain_param.print_limit) in callchain__fprintf_flat()
372 if (++entries_printed == callchain_param.print_limit) in callchain__fprintf_folded()
390 switch (callchain_param.mode) { in hist_entry_callchain__fprintf()
/linux/tools/perf/
A Dbuiltin-report.c124 callchain_param.min_percent = pcnt; in report__config()
378 } else if (!callchain_param.enabled && in report__setup_sample_type()
379 callchain_param.mode != CHAIN_NONE && in report__setup_sample_type()
382 if (callchain_register_param(&callchain_param) < 0) { in report__setup_sample_type()
1023 struct callchain_param *callchain = opt->value; in report_parse_callchain_opt()
1110 callchain_param.min_percent = pcnt; in parse_percent_limit()
1389 callchain_param.order = ORDER_CALLER; in cmd_report()
1391 callchain_param.order = ORDER_CALLER; in cmd_report()
1462 callchain_param.key = CCKEY_ADDRESS; in cmd_report()
1463 callchain_param.branch_callstack = true; in cmd_report()
[all …]
A Dbuiltin-top.c1022 evlist__config(evlist, opts, &callchain_param); in perf_top__start_counters()
1067 static int callchain_param__setup_sample_type(struct callchain_param *callchain) in callchain_param__setup_sample_type()
1239 ret = callchain_param__setup_sample_type(&callchain_param); in __cmd_top()
1369 struct callchain_param *callchain = opt->value; in parse_callchain_opt()
1500 OPT_CALLBACK_NOOPT('g', NULL, &callchain_param, in cmd_top()
1503 OPT_CALLBACK(0, "call-graph", &callchain_param, in cmd_top()
1651 if (top.stitch_lbr && !(callchain_param.record_mode == CALLCHAIN_LBR)) { in cmd_top()
1661 if (opts->branch_stack && callchain_param.enabled) in cmd_top()
1720 if (!callchain_param.enabled) { in cmd_top()
1725 if (symbol_conf.cumulate_callchain && !callchain_param.order_set) in cmd_top()
[all …]
A Dbuiltin-c2c.c2553 struct callchain_param *callchain = opt->value; in parse_callchain_opt()
2582 if (!callchain_param.enabled && in setup_callchain()
2583 callchain_param.mode != CHAIN_NONE && in setup_callchain()
2586 if (callchain_register_param(&callchain_param) < 0) { in setup_callchain()
2598 callchain_param.record_mode = mode; in setup_callchain()
2599 callchain_param.min_percent = 0; in setup_callchain()
2747 OPT_CALLBACK_DEFAULT('g', "call-graph", &callchain_param, in perf_c2c__report()
A Dbuiltin-record.c920 evlist__config(evlist, opts, &callchain_param); in record__open()
2094 static void callchain_debug(struct callchain_param *callchain) in callchain_debug()
2106 struct callchain_param *callchain, in record_opts__parse_callchain()
2134 return record_opts__parse_callchain(opt->value, &callchain_param, arg, unset); in record_parse_callchain_opt()
2141 struct callchain_param *callchain = opt->value; in record_callchain_opt()
2522 OPT_CALLBACK_NOOPT('g', NULL, &callchain_param,
A Dbuiltin-diff.c1992 callchain_param.mode = CHAIN_FLAT; in cmd_diff()
1993 callchain_param.key = CCKEY_SRCLINE; in cmd_diff()
1994 callchain_param.branch_callstack = 1; in cmd_diff()
1996 callchain_register_param(&callchain_param); in cmd_diff()
A Dbuiltin-trace.c3184 evsel__config_callchain(sys_enter, &trace->opts, &callchain_param);
3185 evsel__config_callchain(sys_exit, &trace->opts, &callchain_param);
3190 if (callchain_param.enabled && !trace->kernel_syscallchains) {
3942 evsel__config_callchain(pgfault_maj, &trace->opts, &callchain_param);
3950 evsel__config_callchain(pgfault_min, &trace->opts, &callchain_param);
3997 evlist__config(evlist, &trace->opts, &callchain_param);
5037 if ((trace.min_stack || max_stack_user_set) && !callchain_param.enabled) {
5038 record_opts__parse_callchain(&trace.opts, &callchain_param, "dwarf", false);
5042 if (callchain_param.enabled) {
A Dbuiltin-sched.c2882 callchain_param.mode = CHAIN_FOLDED; in timehist_print_summary()
2883 callchain_param.value = CCVAL_PERIOD; in timehist_print_summary()
2885 callchain_register_param(&callchain_param); in timehist_print_summary()
2899 callchain_param.sort(&itr->sorted_root.rb_root, &itr->callchain, in timehist_print_summary()
2900 0, &callchain_param); in timehist_print_summary()
/linux/tools/perf/ui/gtk/
A Dhists.c259 if (callchain_param.mode == CHAIN_GRAPH_REL) in perf_gtk__add_callchain_graph()
273 if (callchain_param.mode == CHAIN_FLAT) in perf_gtk__add_callchain()
275 else if (callchain_param.mode == CHAIN_FOLDED) in perf_gtk__add_callchain()
389 if (callchain_param.mode == CHAIN_GRAPH_REL) in perf_gtk__show_hists()
486 if (callchain_param.mode == CHAIN_GRAPH_REL) in perf_gtk__add_hierarchy_entries()
/linux/tools/perf/ui/browsers/
A Dhists.c242 if (callchain_param.mode == CHAIN_FLAT) in callchain_node__count_rows()
244 else if (callchain_param.mode == CHAIN_FOLDED) in callchain_node__count_rows()
375 if (callchain_param.mode == CHAIN_FLAT || in callchain__init_have_children()
376 callchain_param.mode == CHAIN_FOLDED) in callchain__init_have_children()
1120 if (callchain_param.mode == CHAIN_GRAPH_REL) in hist_browser__show_callchain_graph()
1189 if (callchain_param.mode == CHAIN_FLAT) { in hist_browser__show_callchain()
1194 } else if (callchain_param.mode == CHAIN_FOLDED) { in hist_browser__show_callchain()
2916 hb->min_pcnt = callchain_param.min_percent = percent; in hist_browser__update_percent_limit()
2929 if (callchain_param.mode == CHAIN_GRAPH_REL) { in hist_browser__update_percent_limit()
2938 callchain_param.sort(&he->sorted_chain, he->callchain, in hist_browser__update_percent_limit()
[all …]

Completed in 88 milliseconds

12