Home
last modified time | relevance | path

Searched refs:kallsyms_name (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/tools/perf/util/
Ddata.c521 char *kallsyms_name; in perf_data__kallsyms_name() local
527 if (asprintf(&kallsyms_name, "%s/kcore_dir/kallsyms", data->path) < 0) in perf_data__kallsyms_name()
530 if (stat(kallsyms_name, &st)) { in perf_data__kallsyms_name()
531 free(kallsyms_name); in perf_data__kallsyms_name()
535 return kallsyms_name; in perf_data__kallsyms_name()
540 char *kallsyms_name; in perf_data__guest_kallsyms_name() local
546 if (asprintf(&kallsyms_name, "%s/kcore_dir__%d/kallsyms", data->path, machine_pid) < 0) in perf_data__guest_kallsyms_name()
549 if (stat(kallsyms_name, &st)) { in perf_data__guest_kallsyms_name()
550 free(kallsyms_name); in perf_data__guest_kallsyms_name()
554 return kallsyms_name; in perf_data__guest_kallsyms_name()
Dsymbol_conf.h52 *kallsyms_name, member
Dbpf-event.c432 if (symbol_conf.kallsyms_name != NULL) in perf_event__synthesize_bpf_events()
433 kallsyms_filename = symbol_conf.kallsyms_name; in perf_event__synthesize_bpf_events()
Dsymbol.c2183 if (symbol_conf.kallsyms_name != NULL) { in dso__load_kernel_sym()
2184 kallsyms_filename = symbol_conf.kallsyms_name; in dso__load_kernel_sym()
2599 if (symbol_conf.kallsyms_name && in symbol__validate_sym_arguments()
2600 access(symbol_conf.kallsyms_name, R_OK)) { in symbol__validate_sym_arguments()
2601 pr_err("Invalid file: %s\n", symbol_conf.kallsyms_name); in symbol__validate_sym_arguments()
Dsession.c187 if (!symbol_conf.kallsyms_name && in __perf_session__new()
189 symbol_conf.kallsyms_name = perf_data__kallsyms_name(data); in __perf_session__new()
/linux-6.12.1/tools/perf/tests/
Dcode-reading.c572 symbol_conf.kallsyms_name = "/proc/kallsyms"; in do_test_code_reading()
/linux-6.12.1/tools/perf/
Dbuiltin-top.c1487 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_top()
Dbuiltin-report.c1316 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_report()
Dbuiltin-diff.c1268 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name,
Dbuiltin-lock.c2558 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_lock()
Dbuiltin-kwork.c2400 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_kwork()
Dbuiltin-inject.c2403 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, "file", in cmd_inject()
Dbuiltin-sched.c3808 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_sched()
Dbuiltin-script.c3991 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_script()