/linux/tools/perf/util/ |
H A D | build-id.c | 93 if (!root_dir) in sysfs__sprintf_build_id() 94 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() 757 is_kallsyms, is_vdso, proper_name, root_dir); in __build_id_cache__add_s() 768 const char *root_dir) in build_id_cache__add_b() argument 775 is_vdso, proper_name, root_dir); in build_id_cache__add_b() 863 const char *root_dir = NULL; in dso__cache_build_id() local 876 if (*machine->root_dir) { in dso__cache_build_id() [all …]
|
H A 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);
|
H A 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);
|
H A 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()
|
H A D | machine.c | 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() 176 zfree(&machine->root_dir); in machine__exit() 205 const char *root_dir) in machines__add() argument 215 if (machine__init(machine, root_dir, pid) != 0) { in machines__add() 281 const char *root_dir = ""; in machines__findnew() local 304 root_dir = path; in machines__findnew() 307 machine = machines__add(machines, pid, root_dir); in machines__findnew() 1295 sprintf(version, "%s/proc/version", root_dir); in get_kernel_version() [all …]
|
H A 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);
|
H A D | symbol.c | 897 machine->root_dir, module); in maps__split_kallsyms() 1791 char *root_dir = (char *) ""; in dso__load() local 1846 root_dir = machine->root_dir; in dso__load() 1885 root_dir, name, PATH_MAX)) in dso__load() 2263 sprintf(path, "%s/proc/kallsyms", machine->root_dir); in dso__load_guest_kernel_sym()
|
H A 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()
|
/linux/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 | 762 rv_root.root_dir = rv_create_dir("rv", NULL); in rv_init_interface() 763 if (!rv_root.root_dir) in rv_init_interface() 766 rv_root.monitors_dir = rv_create_dir("monitors", rv_root.root_dir); in rv_init_interface() 770 tmp = rv_create_file("available_monitors", RV_MODE_READ, rv_root.root_dir, NULL, in rv_init_interface() 775 tmp = rv_create_file("enabled_monitors", RV_MODE_WRITE, rv_root.root_dir, NULL, in rv_init_interface() 780 tmp = rv_create_file("monitoring_on", RV_MODE_WRITE, rv_root.root_dir, NULL, in rv_init_interface() 784 retval = init_rv_reactors(rv_root.root_dir); in rv_init_interface() 793 rv_remove(rv_root.root_dir); in rv_init_interface()
|
H A D | rv_reactors.c | 481 int init_rv_reactors(struct dentry *root_dir) in init_rv_reactors() argument 486 available = rv_create_file("available_reactors", RV_MODE_READ, root_dir, NULL, in init_rv_reactors() 491 reacting = rv_create_file("reacting_on", RV_MODE_WRITE, root_dir, NULL, &reacting_on_fops); in init_rv_reactors()
|
/linux/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()
|
/linux/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()
|
/linux/fs/befs/ |
H A D | super.c | 50 befs_sb->root_dir = fsrun_to_cpu(sb, disk_sb->root_dir); in befs_load_sb()
|
H A D | befs.h | 55 befs_inode_addr root_dir; member
|
H A D | befs_fs_types.h | 138 befs_disk_inode_addr root_dir; member
|
H A D | debug.c | 193 tmp_run = fsrun_to_cpu(sb, sup->root_dir); in befs_dump_super_block()
|
/linux/samples/bpf/ |
H A D | run_cookie_uid_helper_example.sh | 4 root_dir=$local_dir/../..
|
/linux/fs/exfat/ |
H A D | super.c | 381 exfat_chain_set(&ei->dir, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in exfat_read_root() 383 ei->start_clu = sbi->root_dir; in exfat_read_root() 389 ei->hint_stat.clu = sbi->root_dir; in exfat_read_root() 392 exfat_chain_set(&cdir, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in exfat_read_root() 411 ei->i_pos = ((loff_t)sbi->root_dir << 32) | 0xffffffff; in exfat_read_root() 527 sbi->root_dir = le32_to_cpu(p_boot->root_cluster); in exfat_read_boot_sector()
|
H A D | balloc.c | 83 exfat_chain_set(&clu, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in exfat_load_bitmap()
|
H A D | nls.c | 753 clu.dir = sbi->root_dir; in exfat_create_upcase_table()
|
H A D | exfat_fs.h | 259 unsigned int root_dir; /* root dir cluster */ member
|
/linux/tools/perf/scripts/python/ |
H A 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)
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | base.py | 241 root_dir = (script_dir / "../../../../..").resolve() 242 bpf_dir = root_dir / "drivers/hid/bpf/progs"
|
/linux/fs/ocfs2/ |
H A D | ocfs2_trace.h | 1710 TP_PROTO(char *label, char *uuid_str, unsigned long long root_dir, 1712 TP_ARGS(label, uuid_str, root_dir, system_dir, cluster_bits), 1716 __field(unsigned long long, root_dir) 1723 __entry->root_dir = root_dir; 1728 __entry->root_dir, __entry->system_dir, __entry->cluster_bits)
|