/tools/perf/ |
D | builtin-buildid-cache.c | 27 char root_dir[PATH_MAX]; in build_id_cache__kcore_buildid() local 30 strlcpy(root_dir, proc_dir, sizeof(root_dir)); in build_id_cache__kcore_buildid() 32 p = strrchr(root_dir, '/'); in build_id_cache__kcore_buildid() 36 return sysfs__sprintf_build_id(root_dir, sbuildid); in build_id_cache__kcore_buildid()
|
/tools/perf/util/ |
D | build-id.h | 15 int sysfs__sprintf_build_id(const char *root_dir, char *sbuild_id);
|
D | machine.h | 32 char *root_dir; member 121 const char *root_dir); 132 int machine__init(struct machine *machine, const char *root_dir, pid_t pid);
|
D | machine.c | 26 int machine__init(struct machine *machine, const char *root_dir, pid_t pid) in machine__init() argument 51 machine->root_dir = strdup(root_dir); in machine__init() 52 if (machine->root_dir == NULL) in machine__init() 133 zfree(&machine->root_dir); in machine__exit() 159 const char *root_dir) in machines__add() argument 168 if (machine__init(machine, root_dir, pid) != 0) { in machines__add() 230 const char *root_dir = ""; in machines__findnew() local 253 root_dir = path; in machines__findnew() 256 machine = machines__add(machines, pid, root_dir); in machines__findnew() 730 scnprintf(buf, bufsz, "%s/proc/kallsyms", machine->root_dir); in machine__get_kallsyms_filename() [all …]
|
D | dso.c | 40 char *root_dir, char *filename, size_t size) in dso__read_binary_type_filename() argument 124 root_dir, dso->long_name); in dso__read_binary_type_filename() 351 char *root_dir = (char *)""; in __open_dso() local 358 root_dir = machine->root_dir; in __open_dso() 361 root_dir, name, PATH_MAX)) { in __open_dso() 1151 sprintf(path, "%s/sys/kernel/notes", machine->root_dir); in dso__read_running_kernel_build_id() 1158 const char *root_dir) in dso__kernel_module_get_build_id() argument 1169 root_dir, (int)strlen(name) - 1, name); in dso__kernel_module_get_build_id()
|
D | dso.h | 238 int dso__kernel_module_get_build_id(struct dso *dso, const char *root_dir); 242 char *root_dir, char *filename, size_t size);
|
D | build-id.c | 97 int sysfs__sprintf_build_id(const char *root_dir, char *sbuild_id) in sysfs__sprintf_build_id() argument 103 if (!root_dir) in sysfs__sprintf_build_id() 104 root_dir = ""; in sysfs__sprintf_build_id() 106 scnprintf(notes, sizeof(notes), "%s/sys/kernel/notes", root_dir); in sysfs__sprintf_build_id()
|
D | symbol.c | 748 machine->root_dir, module); in dso__split_kallsyms() 1396 char *root_dir = (char *) ""; in dso__load() local 1446 root_dir = machine->root_dir; in dso__load() 1482 root_dir, name, PATH_MAX)) in dso__load() 1835 sprintf(path, "%s/proc/kallsyms", machine->root_dir); in dso__load_guest_kernel_sym()
|
D | event.c | 259 machine->root_dir, pid, pid); in perf_event__synthesize_mmap_events() 467 machine->root_dir, pid); in __event__synthesize_thread() 607 snprintf(proc_path, sizeof(proc_path), "%s/proc", machine->root_dir); in perf_event__synthesize_threads()
|
/tools/perf/scripts/python/ |
D | export-to-postgresql.py | 668 def machine_table(machine_id, pid, root_dir, *x): argument 669 n = len(root_dir) 671 value = struct.pack(fmt, 3, 8, machine_id, 4, pid, n, root_dir)
|
/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 563 tuple_set_string(t, 2, machine->root_dir ? machine->root_dir : ""); in python_export_machine()
|