Lines Matching refs:callchain_param
43 struct callchain_param callchain_param = { variable
56 struct callchain_param callchain_param_default = {
62 int parse_callchain_record_opt(const char *arg, struct callchain_param *param) in parse_callchain_record_opt()
70 callchain_param.mode = CHAIN_GRAPH_ABS; in parse_callchain_mode()
74 callchain_param.mode = CHAIN_FLAT; in parse_callchain_mode()
78 callchain_param.mode = CHAIN_GRAPH_REL; in parse_callchain_mode()
82 callchain_param.mode = CHAIN_FOLDED; in parse_callchain_mode()
91 callchain_param.order = ORDER_CALLER; in parse_callchain_order()
92 callchain_param.order_set = true; in parse_callchain_order()
96 callchain_param.order = ORDER_CALLEE; in parse_callchain_order()
97 callchain_param.order_set = true; in parse_callchain_order()
106 callchain_param.key = CCKEY_FUNCTION; in parse_callchain_sort_key()
110 callchain_param.key = CCKEY_ADDRESS; in parse_callchain_sort_key()
114 callchain_param.key = CCKEY_SRCLINE; in parse_callchain_sort_key()
118 callchain_param.branch_callstack = 1; in parse_callchain_sort_key()
127 callchain_param.value = CCVAL_PERCENT; in parse_callchain_value()
131 callchain_param.value = CCVAL_PERIOD; in parse_callchain_value()
135 callchain_param.value = CCVAL_COUNT; in parse_callchain_value()
176 callchain_param.enabled = true; in __parse_callchain_report_opt()
184 callchain_param.mode = CHAIN_NONE; in __parse_callchain_report_opt()
185 callchain_param.enabled = false; in __parse_callchain_report_opt()
198 if (parse_callchain_record(tok, &callchain_param)) in __parse_callchain_report_opt()
202 if (callchain_param.record_mode == CALLCHAIN_DWARF) in __parse_callchain_report_opt()
215 callchain_param.dump_size = size; in __parse_callchain_report_opt()
219 callchain_param.min_percent = strtod(tok, &endptr); in __parse_callchain_report_opt()
225 callchain_param.print_limit = strtoul(tok, &endptr, 0); in __parse_callchain_report_opt()
233 if (callchain_register_param(&callchain_param) < 0) { in __parse_callchain_report_opt()
250 int parse_callchain_record(const char *arg, struct callchain_param *param) in parse_callchain_record()
322 return parse_callchain_record_opt(value, &callchain_param); in perf_callchain_config()
328 callchain_param.dump_size = size; in perf_callchain_config()
354 callchain_param.min_percent = strtod(value, &endptr); in perf_callchain_config()
361 callchain_param.print_limit = strtod(value, &endptr); in perf_callchain_config()
437 u64 min_hit, struct callchain_param *param __maybe_unused) in sort_chain_flat()
465 u64 min_hit, struct callchain_param *param __maybe_unused) in sort_chain_graph_abs()
495 u64 min_hit __maybe_unused, struct callchain_param *param) in sort_chain_graph_rel()
501 int callchain_register_param(struct callchain_param *param) in callchain_register_param()
715 switch (callchain_param.key) { in match_chain()
1150 bool show_addr = callchain_param.key == CCKEY_ADDRESS; in callchain_list__sym_name()
1151 bool show_srcline = show_addr || callchain_param.key == CCKEY_SRCLINE; in callchain_list__sym_name()
1183 if (callchain_param.mode == CHAIN_FOLDED) { in callchain_node__scnprintf_value()
1188 switch (callchain_param.value) { in callchain_node__scnprintf_value()
1212 if (callchain_param.mode == CHAIN_FOLDED) { in callchain_node__fprintf_value()
1217 switch (callchain_param.value) { in callchain_node__fprintf_value()
1608 callchain_param.record_mode = CALLCHAIN_DWARF; in callchain_param_setup()
1611 callchain_param.record_mode = CALLCHAIN_LBR; in callchain_param_setup()
1613 callchain_param.record_mode = CALLCHAIN_FP; in callchain_param_setup()