/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | build-id.c | 119 int sysfs__sprintf_build_id(const char *root_dir, char *sbuild_id) in sysfs__sprintf_build_id() argument 125 if (!root_dir) in sysfs__sprintf_build_id() 126 root_dir = ""; in sysfs__sprintf_build_id() 128 scnprintf(notes, sizeof(notes), "%s/sys/kernel/notes", root_dir); in sysfs__sprintf_build_id() 626 const char *root_dir) in build_id_cache__find_debug() 639 if (root_dir) { in build_id_cache__find_debug() 640 path__join(dirbuf, PATH_MAX, root_dir, dirname); in build_id_cache__find_debug() 680 const char *proper_name, const char *root_dir) in build_id_cache__add() 734 debugfile = build_id_cache__find_debug(sbuild_id, nsi, root_dir); in build_id_cache__add() 802 const char *proper_name, const char *root_dir) in __build_id_cache__add_s() 624 build_id_cache__find_debug(const char *sbuild_id, struct nsinfo *nsi, const char *root_dir) build_id_cache__find_debug() argument 678 build_id_cache__add(const char *sbuild_id, const char *name, const char *realname, struct nsinfo *nsi, bool is_kallsyms, bool is_vdso, const char *proper_name, const char *root_dir) build_id_cache__add() argument 800 __build_id_cache__add_s(const char *sbuild_id, const char *name, struct nsinfo *nsi, bool is_kallsyms, bool is_vdso, const char *proper_name, const char *root_dir) __build_id_cache__add_s() argument 824 build_id_cache__add_b(const struct build_id *bid, const char *name, struct nsinfo *nsi, bool is_kallsyms, bool is_vdso, const char *proper_name, const char *root_dir) build_id_cache__add_b() argument 923 const char *root_dir = NULL; dso__cache_build_id() local [all...] |
H A D | build-id.h | 28 int sysfs__sprintf_build_id(const char *root_dir, char *sbuild_id); 70 const char *proper_name, const char *root_dir); 74 const char *proper_name, const char *root_dir);
|
H A D | machine.h | 49 char *root_dir; member 172 const char *root_dir); 184 int machine__init(struct machine *machine, const char *root_dir, pid_t pid);
|
H A D | dso.c | 105 char *root_dir, char *filename, size_t size) in dso__read_binary_type_filename() 226 root_dir, dso->long_name); in dso__read_binary_type_filename() 535 char *root_dir = (char *)""; in __open_dso() local 544 root_dir = machine->root_dir; in __open_dso() 547 root_dir, name, PATH_MAX)) in __open_dso() 1432 sprintf(path, "%s/sys/kernel/notes", machine->root_dir); in dso__read_running_kernel_build_id() 1438 const char *root_dir) in dso__kernel_module_get_build_id() 1449 root_dir, (int)strlen(name) - 1, name); in dso__kernel_module_get_build_id() 103 dso__read_binary_type_filename(const struct dso *dso, enum dso_binary_type type, char *root_dir, char *filename, size_t size) dso__read_binary_type_filename() argument 1437 dso__kernel_module_get_build_id(struct dso *dso, const char *root_dir) dso__kernel_module_get_build_id() argument
|
H A D | machine.c | 112 int machine__init(struct machine *machine, const char *root_dir, pid_t pid) in machine__init() argument 137 machine->root_dir = strdup(root_dir); in machine__init() 138 if (machine->root_dir == NULL) in machine__init() 161 zfree(&machine->root_dir); in machine__init() 253 zfree(&machine->root_dir); in machine__exit() 287 const char *root_dir) in machines__add() 297 if (machine__init(machine, root_dir, pid) != 0) { in machines__add() 363 const char *root_dir = ""; in machines__findnew() local 386 root_dir in machines__findnew() 286 machines__add(struct machines *machines, pid_t pid, const char *root_dir) machines__add() argument 1491 get_kernel_version(const char *root_dir) get_kernel_version() argument [all...] |
/kernel/linux/linux-6.6/kernel/trace/rv/ |
H A D | rv.h | 5 struct dentry *root_dir; member 52 int init_rv_reactors(struct dentry *root_dir); 64 static inline int init_rv_reactors(struct dentry *root_dir) in init_rv_reactors() argument
|
H A D | rv.c | 763 rv_root.root_dir = rv_create_dir("rv", NULL); in rv_init_interface() 764 if (!rv_root.root_dir) in rv_init_interface() 767 rv_root.monitors_dir = rv_create_dir("monitors", rv_root.root_dir); in rv_init_interface() 771 tmp = rv_create_file("available_monitors", RV_MODE_READ, rv_root.root_dir, NULL, in rv_init_interface() 776 tmp = rv_create_file("enabled_monitors", RV_MODE_WRITE, rv_root.root_dir, NULL, in rv_init_interface() 781 tmp = rv_create_file("monitoring_on", RV_MODE_WRITE, rv_root.root_dir, NULL, in rv_init_interface() 785 retval = init_rv_reactors(rv_root.root_dir); in rv_init_interface() 794 rv_remove(rv_root.root_dir); in rv_init_interface()
|
H A D | rv_reactors.c | 482 int init_rv_reactors(struct dentry *root_dir) in init_rv_reactors() argument 487 available = rv_create_file("available_reactors", RV_MODE_READ, root_dir, NULL, in init_rv_reactors() 492 reacting = rv_create_file("reacting_on", RV_MODE_WRITE, root_dir, NULL, &reacting_on_fops); in init_rv_reactors()
|
/kernel/linux/linux-5.10/kernel/irq/ |
H A D | debugfs.c | 241 struct dentry *root_dir; in irq_debugfs_init() local 244 root_dir = debugfs_create_dir("irq", NULL); in irq_debugfs_init() 246 irq_domain_debugfs_init(root_dir); in irq_debugfs_init() 248 irq_dir = debugfs_create_dir("irqs", root_dir); in irq_debugfs_init()
|
/kernel/linux/linux-6.6/kernel/irq/ |
H A D | debugfs.c | 247 struct dentry *root_dir; in irq_debugfs_init() local 250 root_dir = debugfs_create_dir("irq", NULL); in irq_debugfs_init() 252 irq_domain_debugfs_init(root_dir); in irq_debugfs_init() 254 irq_dir = debugfs_create_dir("irqs", root_dir); in irq_debugfs_init()
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-buildid-cache.c | 35 char root_dir[PATH_MAX]; in build_id_cache__kcore_buildid() local 38 strlcpy(root_dir, proc_dir, sizeof(root_dir)); in build_id_cache__kcore_buildid() 40 p = strrchr(root_dir, '/'); in build_id_cache__kcore_buildid() 44 return sysfs__sprintf_build_id(root_dir, sbuildid); in build_id_cache__kcore_buildid()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A 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()
|
/kernel/linux/linux-5.10/fs/befs/ |
H A D | super.c | 50 befs_sb->root_dir = fsrun_to_cpu(sb, disk_sb->root_dir); in befs_load_sb()
|
/kernel/linux/linux-6.6/fs/befs/ |
H A D | super.c | 50 befs_sb->root_dir = fsrun_to_cpu(sb, disk_sb->root_dir); in befs_load_sb()
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | run_cookie_uid_helper_example.sh | 4 root_dir=$local_dir/../..
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | run_cookie_uid_helper_example.sh | 4 root_dir=$local_dir/../..
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | machine.h | 48 char *root_dir; member 161 const char *root_dir); 171 int machine__init(struct machine *machine, const char *root_dir, pid_t pid);
|
H A D | machine.c | 85 int machine__init(struct machine *machine, const char *root_dir, pid_t pid) in machine__init() argument 107 machine->root_dir = strdup(root_dir); in machine__init() 108 if (machine->root_dir == NULL) in machine__init() 132 zfree(&machine->root_dir); in machine__init() 224 zfree(&machine->root_dir); in machine__exit() 267 const char *root_dir) in machines__add() 277 if (machine__init(machine, root_dir, pid) != 0) { in machines__add() 341 const char *root_dir = ""; in machines__findnew() local 364 root_dir in machines__findnew() 266 machines__add(struct machines *machines, pid_t pid, const char *root_dir) machines__add() argument 1305 get_kernel_version(const char *root_dir) get_kernel_version() argument [all...] |
H A D | dso.c | 69 char *root_dir, char *filename, size_t size) in dso__read_binary_type_filename() 190 root_dir, dso->long_name); in dso__read_binary_type_filename() 487 char *root_dir = (char *)""; in __open_dso() local 495 root_dir = machine->root_dir; in __open_dso() 498 root_dir, name, PATH_MAX)) in __open_dso() 1359 sprintf(path, "%s/sys/kernel/notes", machine->root_dir); in dso__read_running_kernel_build_id() 1365 const char *root_dir) in dso__kernel_module_get_build_id() 1376 root_dir, (int)strlen(name) - 1, name); in dso__kernel_module_get_build_id() 67 dso__read_binary_type_filename(const struct dso *dso, enum dso_binary_type type, char *root_dir, char *filename, size_t size) dso__read_binary_type_filename() argument 1364 dso__kernel_module_get_build_id(struct dso *dso, const char *root_dir) dso__kernel_module_get_build_id() argument
|
H A D | build-id.h | 24 int sysfs__sprintf_build_id(const char *root_dir, char *sbuild_id);
|
H A D | dso.h | 267 int dso__kernel_module_get_build_id(struct dso *dso, const char *root_dir); 271 char *root_dir, char *filename, size_t size);
|
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | export-to-postgresql.py | 347 'root_dir varchar(4096))') 500 'root_dir,' 980 def machine_table(machine_id, pid, root_dir, *x): 981 root_dir = toserverstr(root_dir) 982 n = len(root_dir) 984 value = struct.pack(fmt, 3, 8, machine_id, 4, pid, n, root_dir)
|
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | export-to-postgresql.py | 347 'root_dir varchar(4096))') 502 'root_dir,' 983 def machine_table(machine_id, pid, root_dir, *x): 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)
|
/kernel/linux/linux-5.10/fs/exfat/ |
H A D | super.c | 338 exfat_chain_set(&ei->dir, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in exfat_read_root() 340 ei->start_clu = sbi->root_dir; in exfat_read_root() 346 ei->hint_stat.clu = sbi->root_dir; in exfat_read_root() 349 exfat_chain_set(&cdir, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in exfat_read_root() 368 ei->i_pos = ((loff_t)sbi->root_dir << 32) | 0xffffffff; in exfat_read_root() 487 sbi->root_dir = le32_to_cpu(p_boot->root_cluster); in exfat_read_boot_sector()
|
/kernel/linux/linux-6.6/fs/exfat/ |
H A D | super.c | 338 exfat_chain_set(&ei->dir, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in exfat_read_root() 340 ei->start_clu = sbi->root_dir; in exfat_read_root() 346 ei->hint_stat.clu = sbi->root_dir; in exfat_read_root() 349 exfat_chain_set(&cdir, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in exfat_read_root() 368 ei->i_pos = ((loff_t)sbi->root_dir << 32) | 0xffffffff; in exfat_read_root() 486 sbi->root_dir = le32_to_cpu(p_boot->root_cluster); in exfat_read_boot_sector()
|