| /tools/perf/util/ |
| D | build-id.c | 87 int sysfs__sprintf_build_id(const char *root_dir, char *sbuild_id) in sysfs__sprintf_build_id() argument 93 if (!root_dir) in sysfs__sprintf_build_id() 94 root_dir = ""; in sysfs__sprintf_build_id() 96 scnprintf(notes, sizeof(notes), "%s/sys/kernel/notes", root_dir); in sysfs__sprintf_build_id() 566 const char *root_dir) in build_id_cache__find_debug() argument 579 if (root_dir) { in build_id_cache__find_debug() 580 path__join(dirbuf, PATH_MAX, root_dir, dirname); in build_id_cache__find_debug() 620 const char *proper_name, const char *root_dir) in build_id_cache__add() argument 674 debugfile = build_id_cache__find_debug(sbuild_id, nsi, root_dir); in build_id_cache__add() 742 const char *proper_name, const char *root_dir) in __build_id_cache__add_s() argument [all …]
|
| D | build-id.h | 26 int sysfs__sprintf_build_id(const char *root_dir, char *sbuild_id); 66 const char *proper_name, const char *root_dir); 70 const char *proper_name, const char *root_dir);
|
| D | machine.h | 39 char *root_dir; member 156 const char *root_dir); 168 int machine__init(struct machine *machine, const char *root_dir, pid_t pid);
|
| D | dso.c | 112 char *root_dir, char *filename, size_t size) in dso__read_binary_type_filename() argument 233 root_dir, dso__long_name(dso)); in dso__read_binary_type_filename() 550 char *root_dir = (char *)""; in __open_dso() local 559 root_dir = machine->root_dir; in __open_dso() 562 root_dir, name, PATH_MAX)) in __open_dso() 1558 sprintf(path, "%s/sys/kernel/notes", machine->root_dir); in dso__read_running_kernel_build_id() 1564 const char *root_dir) in dso__kernel_module_get_build_id() argument 1575 root_dir, (int)strlen(name) - 1, name); in dso__kernel_module_get_build_id()
|
| D | machine.c | 73 int machine__init(struct machine *machine, const char *root_dir, pid_t pid) in machine__init() argument 98 machine->root_dir = strdup(root_dir); in machine__init() 99 if (machine->root_dir == NULL) in machine__init() 122 zfree(&machine->root_dir); in machine__init() 178 zfree(&machine->root_dir); in machine__exit() 207 const char *root_dir) in machines__add() argument 217 if (machine__init(machine, root_dir, pid) != 0) { in machines__add() 283 const char *root_dir = ""; in machines__findnew() local 306 root_dir = path; in machines__findnew() 309 machine = machines__add(machines, pid, root_dir); in machines__findnew() [all …]
|
| D | symbol.c | 897 machine->root_dir, module); in maps__split_kallsyms() 1792 char *root_dir = (char *) ""; in dso__load() local 1847 root_dir = machine->root_dir; in dso__load() 1886 root_dir, name, PATH_MAX)) in dso__load() 2264 sprintf(path, "%s/proc/kallsyms", machine->root_dir); in dso__load_guest_kernel_sym()
|
| D | dso.h | 682 int dso__kernel_module_get_build_id(struct dso *dso, const char *root_dir); 686 char *root_dir, char *filename, size_t size);
|
| D | synthetic-events.c | 441 machine->root_dir, pid, pid); in perf_event__synthesize_mmap_events() 481 machine->root_dir, pid, pid); in perf_event__synthesize_mmap_events() 803 machine->root_dir, pid); in __event__synthesize_thread() 1038 snprintf(proc_path, sizeof(proc_path), "%s/proc", machine->root_dir); in perf_event__synthesize_threads()
|
| D | unwind-libunwind-local.c | 400 machine->root_dir, debuglink, PATH_MAX); in read_unwind_spec_debug_frame()
|
| /tools/perf/ |
| D | builtin-buildid-cache.c | 36 char root_dir[PATH_MAX]; in build_id_cache__kcore_buildid() local 39 strlcpy(root_dir, proc_dir, sizeof(root_dir)); in build_id_cache__kcore_buildid() 41 p = strrchr(root_dir, '/'); in build_id_cache__kcore_buildid() 45 return sysfs__sprintf_build_id(root_dir, sbuildid); in build_id_cache__kcore_buildid()
|
| D | builtin-record.c | 993 scnprintf(kcore, sizeof(kcore), "%s/proc/kcore", machine->root_dir); in record__kcore_readable() 1010 snprintf(from_dir, sizeof(from_dir), "%s/proc", machine->root_dir); in record__kcore_copy()
|
| /tools/perf/scripts/python/ |
| D | export-to-postgresql.py | 983 def machine_table(machine_id, pid, root_dir, *x): argument 984 root_dir = toserverstr(root_dir) 985 n = len(root_dir) 987 value = struct.pack(fmt, 3, 8, machine_id, 4, pid, n, root_dir)
|
| /tools/testing/selftests/hid/tests/ |
| D | base.py | 241 root_dir = (script_dir / "../../../../..").resolve() 242 bpf_dir = root_dir / "drivers/hid/bpf/progs"
|
| /tools/perf/util/scripting-engines/ |
| D | trace-event-python.c | 1176 tuple_set_string(t, 2, machine->root_dir ? machine->root_dir : ""); in python_export_machine()
|