/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-report.c | 115 symbol_conf.event_group = perf_config_bool(var, value); in report__config() 126 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in report__config() 171 } else if (symbol_conf.cumulate_callchain) { in hist_iter__report_callback() 251 .hide_unresolved = symbol_conf.hide_unresolved, in process_sample_event() 273 if (symbol_conf.hide_unresolved && al.sym == NULL) in process_sample_event() 291 } else if (symbol_conf.cumulate_callchain) { in process_sample_event() 363 if (symbol_conf.use_callchain && in report__setup_sample_type() 364 !symbol_conf.show_branchflag_count) { in report__setup_sample_type() 372 !symbol_conf.use_callchain) { in report__setup_sample_type() 373 symbol_conf in report__setup_sample_type() [all...] |
H A D | builtin-mem.c | 165 if (symbol_conf.field_sep) { in dump_raw_samples() 172 symbol_conf.field_sep = " "; in dump_raw_samples() 177 symbol_conf.field_sep, in dump_raw_samples() 179 symbol_conf.field_sep, in dump_raw_samples() 181 symbol_conf.field_sep, in dump_raw_samples() 183 symbol_conf.field_sep, in dump_raw_samples() 185 symbol_conf.field_sep, in dump_raw_samples() 187 symbol_conf.field_sep, in dump_raw_samples() 189 symbol_conf.field_sep, in dump_raw_samples() 193 if (symbol_conf in dump_raw_samples() [all...] |
H A D | builtin-annotate.c | 188 .hide_unresolved = symbol_conf.hide_unresolved, in process_branch_callback() 437 if (symbol_conf.event_group && !evsel__is_group_leader(pos)) in __cmd_annotate() 496 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate() 510 OPT_BOOLEAN(0, "ignore-vmlinux", &symbol_conf.ignore_vmlinux, in cmd_annotate() 512 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate() 514 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules, in cmd_annotate() 522 OPT_BOOLEAN_SET(0, "group", &symbol_conf.event_group, in cmd_annotate() 541 OPT_BOOLEAN(0, "group", &symbol_conf.event_group, in cmd_annotate() 543 OPT_BOOLEAN(0, "show-total-period", &symbol_conf.show_total_period, in cmd_annotate() 545 OPT_BOOLEAN('n', "show-nr-samples", &symbol_conf in cmd_annotate() [all...] |
H A D | builtin-kallsyms.c | 63 symbol_conf.sort_by_name = true; in cmd_kallsyms() 64 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in cmd_kallsyms()
|
H A D | builtin-top.c | 302 if (symbol_conf.event_group && !evsel__is_group_leader(pos)) { in perf_top__resort_hists() 351 top->min_percent, stdout, !symbol_conf.use_callchain); in perf_top__print_sym_table() 783 symbol_conf.kptr_restrict && in perf_event__process_sample() 813 if (symbol_conf.vmlinux_name) { in perf_event__process_sample() 817 symbol_conf.vmlinux_name, serr, msg); in perf_event__process_sample() 837 if (symbol_conf.cumulate_callchain) in perf_event__process_sample() 1368 symbol_conf.use_callchain = true; in callchain_opt() 1384 symbol_conf.use_callchain = false; in parse_callchain_opt() 1399 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in perf_top_config() 1463 OPT_STRING('k', "vmlinux", &symbol_conf in cmd_top() [all...] |
H A D | builtin-probe.c | 24 #include "util/symbol_conf.h" 553 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in __cmd_probe() 555 OPT_STRING('s', "source", &symbol_conf.source_prefix, in __cmd_probe() 575 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in __cmd_probe() 577 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in __cmd_probe() 580 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in __cmd_probe() 641 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in __cmd_probe() 648 if (!strchr("lda", params.command) && symbol_conf.vmlinux_name) in __cmd_probe() 649 symbol_conf in __cmd_probe() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | symbol.c | 56 struct symbol_conf symbol_conf = { variable 196 if (symbol_conf.allow_aliases) in symbols__fixup_duplicate() 300 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new() 305 if (symbol_conf.priv_size) { in symbol__new() 306 if (symbol_conf.init_annotation) { in symbol__new() 310 sym = ((void *)sym) + symbol_conf.priv_size; in symbol__new() 328 if (symbol_conf.priv_size) { in symbol__delete() 329 if (symbol_conf.init_annotation) { in symbol__delete() 335 free(((void *)sym) - symbol_conf in symbol__delete() [all...] |
H A D | hist.c | 75 !symbol_conf.col_width_list_str && !symbol_conf.field_sep && in hists__set_unres_dso_col_len() 76 !symbol_conf.dso_list) in hists__set_unres_dso_col_len() 221 if (symbol_conf.nanosecs) in hists__calc_col_len() 292 unsigned long time_quantum = symbol_conf.time_quantum; in hist_time() 332 if (symbol_conf.cumulate_callchain) in hists__decay_entry() 444 if (symbol_conf.cumulate_callchain) { in hist_entry__init() 478 if (hist_entry__has_callchains(he) && symbol_conf.use_callchain) in hist_entry__init() 493 if (symbol_conf.res_sample) { in hist_entry__init() 495 symbol_conf in hist_entry__init() [all...] |
H A D | symbol_conf.h | 10 struct symbol_conf { struct 82 extern struct symbol_conf symbol_conf;
|
H A D | thread.h | 12 #include "symbol_conf.h" 319 if (symbol_conf.comm_list && in thread__is_filtered() 320 !strlist__has_entry(symbol_conf.comm_list, thread__comm_str(thread))) { in thread__is_filtered() 324 if (symbol_conf.pid_list && in thread__is_filtered() 325 !intlist__has_entry(symbol_conf.pid_list, thread__pid(thread))) { in thread__is_filtered() 329 if (symbol_conf.tid_list && in thread__is_filtered() 330 !intlist__has_entry(symbol_conf.tid_list, thread__tid(thread))) { in thread__is_filtered()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | symbol.c | 51 struct symbol_conf symbol_conf = { variable 186 if (symbol_conf.allow_aliases) in symbols__fixup_duplicate() 286 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new() 291 if (symbol_conf.priv_size) { in symbol__new() 292 if (symbol_conf.init_annotation) { in symbol__new() 296 sym = ((void *)sym) + symbol_conf.priv_size; in symbol__new() 314 free(((void *)sym) - symbol_conf.priv_size); in symbol__delete() 829 if (!symbol_conf.use_modules) in maps__split_kallsyms() 950 if (symbol_conf in symbol__restricted_filename() [all...] |
H A D | thread.h | 12 #include "symbol_conf.h" 140 if (symbol_conf.comm_list && in thread__is_filtered() 141 !strlist__has_entry(symbol_conf.comm_list, thread__comm_str(thread))) { in thread__is_filtered() 145 if (symbol_conf.pid_list && in thread__is_filtered() 146 !intlist__has_entry(symbol_conf.pid_list, thread->pid_)) { in thread__is_filtered() 150 if (symbol_conf.tid_list && in thread__is_filtered() 151 !intlist__has_entry(symbol_conf.tid_list, thread->tid)) { in thread__is_filtered()
|
H A D | hist.c | 74 !symbol_conf.col_width_list_str && !symbol_conf.field_sep && in hists__set_unres_dso_col_len() 75 !symbol_conf.dso_list) in hists__set_unres_dso_col_len() 208 if (symbol_conf.nanosecs) in hists__calc_col_len() 278 unsigned long time_quantum = symbol_conf.time_quantum; in hist_time() 322 if (symbol_conf.cumulate_callchain) in hists__decay_entry() 434 if (symbol_conf.cumulate_callchain) { in hist_entry__init() 467 if (hist_entry__has_callchains(he) && symbol_conf.use_callchain) in hist_entry__init() 482 if (symbol_conf.res_sample) { in hist_entry__init() 484 symbol_conf in hist_entry__init() [all...] |
H A D | symbol_conf.h | 10 struct symbol_conf { struct 79 extern struct symbol_conf symbol_conf;
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-report.c | 127 symbol_conf.event_group = perf_config_bool(var, value); in report__config() 138 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in report__config() 193 } else if (symbol_conf.cumulate_callchain) { in hist_iter__report_callback() 275 .hide_unresolved = symbol_conf.hide_unresolved, in process_sample_event() 299 if (symbol_conf.hide_unresolved && al.sym == NULL) in process_sample_event() 317 } else if (symbol_conf.cumulate_callchain) { in process_sample_event() 389 if (symbol_conf.use_callchain && in report__setup_sample_type() 390 !symbol_conf.show_branchflag_count) { in report__setup_sample_type() 398 !symbol_conf.use_callchain) { in report__setup_sample_type() 399 symbol_conf in report__setup_sample_type() [all...] |
H A D | builtin-annotate.c | 195 .hide_unresolved = symbol_conf.hide_unresolved, in process_branch_callback() 460 if (symbol_conf.event_group && !evsel__is_group_leader(pos)) in __cmd_annotate() 537 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate() 555 OPT_BOOLEAN(0, "ignore-vmlinux", &symbol_conf.ignore_vmlinux, in cmd_annotate() 557 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate() 559 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules, in cmd_annotate() 567 OPT_BOOLEAN_SET(0, "group", &symbol_conf.event_group, in cmd_annotate() 588 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in cmd_annotate() 590 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in cmd_annotate() 592 OPT_BOOLEAN(0, "group", &symbol_conf in cmd_annotate() [all...] |
H A D | builtin-mem.c | 219 field_sep = symbol_conf.field_sep; in dump_raw_samples() 224 symbol_conf.field_sep = " "; in dump_raw_samples() 228 symbol_conf.field_sep, in dump_raw_samples() 230 symbol_conf.field_sep, in dump_raw_samples() 232 symbol_conf.field_sep, in dump_raw_samples() 234 symbol_conf.field_sep); in dump_raw_samples() 239 symbol_conf.field_sep); in dump_raw_samples() 245 symbol_conf.field_sep); in dump_raw_samples() 255 symbol_conf.field_sep, in dump_raw_samples() 257 symbol_conf in dump_raw_samples() [all...] |
H A D | builtin-top.c | 306 if (symbol_conf.event_group && !evsel__is_group_leader(pos)) { in perf_top__resort_hists() 355 top->min_percent, stdout, !symbol_conf.use_callchain); in perf_top__print_sym_table() 784 symbol_conf.kptr_restrict && in perf_event__process_sample() 814 if (symbol_conf.vmlinux_name) { in perf_event__process_sample() 819 symbol_conf.vmlinux_name, serr, msg); in perf_event__process_sample() 839 if (symbol_conf.cumulate_callchain) in perf_event__process_sample() 1376 symbol_conf.use_callchain = true; in callchain_opt() 1392 symbol_conf.use_callchain = false; in parse_callchain_opt() 1407 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in perf_top_config() 1475 OPT_STRING('k', "vmlinux", &symbol_conf in cmd_top() [all...] |
H A D | builtin-probe.c | 25 #include "util/symbol_conf.h" 574 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in __cmd_probe() 576 OPT_STRING('s', "source", &symbol_conf.source_prefix, in __cmd_probe() 596 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in __cmd_probe() 598 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in __cmd_probe() 601 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in __cmd_probe() 669 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in __cmd_probe() 676 if (!strchr("lda", params->command) && symbol_conf.vmlinux_name) in __cmd_probe() 677 symbol_conf in __cmd_probe() [all...] |
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | hists_cumulate.c | 94 if (symbol_conf.cumulate_callchain) in add_hist_entries() 197 symbol_conf.use_callchain, in do_test() 198 symbol_conf.cumulate_callchain); in do_test() 215 if (symbol_conf.cumulate_callchain) in do_test() 218 if (!symbol_conf.use_callchain) in do_test() 245 !symbol_conf.use_callchain || nr_expected == nr_callchain); in do_test() 281 symbol_conf.use_callchain = false; in test1() 282 symbol_conf.cumulate_callchain = false; in test1() 428 symbol_conf.use_callchain = true; in test2() 429 symbol_conf in test2() [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | hists_cumulate.c | 95 if (symbol_conf.cumulate_callchain) in add_hist_entries() 210 symbol_conf.use_callchain, in do_test() 211 symbol_conf.cumulate_callchain); in do_test() 228 if (symbol_conf.cumulate_callchain) in do_test() 231 if (!symbol_conf.use_callchain) in do_test() 258 !symbol_conf.use_callchain || nr_expected == nr_callchain); in do_test() 294 symbol_conf.use_callchain = false; in test1() 295 symbol_conf.cumulate_callchain = false; in test1() 441 symbol_conf.use_callchain = true; in test2() 442 symbol_conf in test2() [all...] |
/kernel/linux/linux-5.10/tools/perf/ui/stdio/ |
H A D | hist.c | 77 if (symbol_conf.show_branchflag_count) { in ipchain__fprintf_graph() 258 if (symbol_conf.show_branchflag_count) in callchain__fprintf_graph() 332 const char *sep = symbol_conf.field_sep ?: ";"; in __callchain__fprintf_folded() 387 if (symbol_conf.cumulate_callchain) in hist_entry_callchain__fprintf() 417 const char *sep = symbol_conf.field_sep; in __hist_entry__snprintf() 423 if (symbol_conf.exclude_other && !he->parent) in __hist_entry__snprintf() 462 const char *sep = symbol_conf.field_sep; in hist_entry__hierarchy_fprintf() 470 if (symbol_conf.exclude_other && !he->parent) in hist_entry__hierarchy_fprintf() 527 if (he->leaf && hist_entry__has_callchains(he) && symbol_conf.use_callchain) { in hist_entry__hierarchy_fprintf() 597 if (symbol_conf in hist_entry__fprintf() [all...] |
/kernel/linux/linux-6.6/tools/perf/ui/stdio/ |
H A D | hist.c | 77 if (symbol_conf.show_branchflag_count) { in ipchain__fprintf_graph() 258 if (symbol_conf.show_branchflag_count) in callchain__fprintf_graph() 332 const char *sep = symbol_conf.field_sep ?: ";"; in __callchain__fprintf_folded() 387 if (symbol_conf.cumulate_callchain) in hist_entry_callchain__fprintf() 417 const char *sep = symbol_conf.field_sep; in __hist_entry__snprintf() 423 if (symbol_conf.exclude_other && !he->parent) in __hist_entry__snprintf() 462 const char *sep = symbol_conf.field_sep; in hist_entry__hierarchy_fprintf() 470 if (symbol_conf.exclude_other && !he->parent) in hist_entry__hierarchy_fprintf() 527 if (he->leaf && hist_entry__has_callchains(he) && symbol_conf.use_callchain) { in hist_entry__hierarchy_fprintf() 597 if (symbol_conf in hist_entry__fprintf() [all...] |
/kernel/linux/linux-5.10/tools/perf/ui/ |
H A D | hist.c | 120 if (symbol_conf.field_sep) { in hpp__fmt() 137 if (!symbol_conf.cumulate_callchain) { in hpp__fmt_acc() 233 if (symbol_conf.group_sort_idx && symbol_conf.event_group) { in __hpp__sort() 235 symbol_conf.group_sort_idx); in __hpp__sort() 239 if (ret || !symbol_conf.event_group) in __hpp__sort() 269 if (symbol_conf.cumulate_callchain) { in __hpp__sort_acc() 277 if (a->thread != b->thread || !hist_entry__has_callchains(a) || !symbol_conf.use_callchain) in __hpp__sort_acc() 294 if (symbol_conf.event_group) in hpp__width_fn() 571 if (symbol_conf in perf_hpp__init() [all...] |
/kernel/linux/linux-6.6/tools/perf/ui/ |
H A D | hist.c | 121 if (symbol_conf.field_sep) { in hpp__fmt() 138 if (!symbol_conf.cumulate_callchain) { in hpp__fmt_acc() 234 if (symbol_conf.group_sort_idx && symbol_conf.event_group) { in __hpp__sort() 236 symbol_conf.group_sort_idx); in __hpp__sort() 240 if (ret || !symbol_conf.event_group) in __hpp__sort() 270 if (symbol_conf.cumulate_callchain) { in __hpp__sort_acc() 280 !hist_entry__has_callchains(a) || !symbol_conf.use_callchain) in __hpp__sort_acc() 297 if (symbol_conf.event_group) in hpp__width_fn() 574 if (symbol_conf in perf_hpp__init() [all...] |