Home
last modified time | relevance | path

Searched refs:root_dir (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.1.9/tools/perf/util/
Dbuild-id.c117 int sysfs__sprintf_build_id(const char *root_dir, char *sbuild_id) in sysfs__sprintf_build_id() argument
123 if (!root_dir) in sysfs__sprintf_build_id()
124 root_dir = ""; in sysfs__sprintf_build_id()
126 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() argument
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() argument
730 debugfile = build_id_cache__find_debug(sbuild_id, nsi, root_dir); in build_id_cache__add()
798 const char *proper_name, const char *root_dir) in __build_id_cache__add_s() argument
[all …]
Dbuild-id.h28 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);
Dmachine.h49 char *root_dir; member
168 const char *root_dir);
180 int machine__init(struct machine *machine, const char *root_dir, pid_t pid);
Ddso.c72 char *root_dir, char *filename, size_t size) in dso__read_binary_type_filename() argument
193 root_dir, dso->long_name); in dso__read_binary_type_filename()
497 char *root_dir = (char *)""; in __open_dso() local
506 root_dir = machine->root_dir; in __open_dso()
509 root_dir, name, PATH_MAX)) in __open_dso()
1389 sprintf(path, "%s/sys/kernel/notes", machine->root_dir); in dso__read_running_kernel_build_id()
1395 const char *root_dir) in dso__kernel_module_get_build_id() argument
1406 root_dir, (int)strlen(name) - 1, name); in dso__kernel_module_get_build_id()
Dmachine.c95 int machine__init(struct machine *machine, const char *root_dir, pid_t pid) in machine__init() argument
120 machine->root_dir = strdup(root_dir); in machine__init()
121 if (machine->root_dir == NULL) in machine__init()
144 zfree(&machine->root_dir); in machine__init()
236 zfree(&machine->root_dir); in machine__exit()
280 const char *root_dir) in machines__add() argument
290 if (machine__init(machine, root_dir, pid) != 0) { in machines__add()
356 const char *root_dir = ""; in machines__findnew() local
379 root_dir = path; in machines__findnew()
382 machine = machines__add(machines, pid, root_dir); in machines__findnew()
[all …]
Ddso.h277 int dso__kernel_module_get_build_id(struct dso *dso, const char *root_dir);
281 char *root_dir, char *filename, size_t size);
Dsymbol.c864 machine->root_dir, module); in maps__split_kallsyms()
1783 char *root_dir = (char *) ""; in dso__load() local
1838 root_dir = machine->root_dir; in dso__load()
1877 root_dir, name, PATH_MAX)) in dso__load()
2326 sprintf(path, "%s/proc/kallsyms", machine->root_dir); in dso__load_guest_kernel_sym()
Dsynthetic-events.c441 machine->root_dir, pid, pid); in perf_event__synthesize_mmap_events()
481 machine->root_dir, pid, pid); in perf_event__synthesize_mmap_events()
785 machine->root_dir, pid); in __event__synthesize_thread()
1020 snprintf(proc_path, sizeof(proc_path), "%s/proc", machine->root_dir); in perf_event__synthesize_threads()
Dunwind-libunwind-local.c378 machine->root_dir, debuglink, PATH_MAX); in read_unwind_spec_debug_frame()
/linux-6.1.9/kernel/trace/rv/
Drv.h5 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
Drv.c765 rv_root.root_dir = rv_create_dir("rv", NULL); in rv_init_interface()
766 if (!rv_root.root_dir) in rv_init_interface()
769 rv_root.monitors_dir = rv_create_dir("monitors", rv_root.root_dir); in rv_init_interface()
773 tmp = rv_create_file("available_monitors", RV_MODE_READ, rv_root.root_dir, NULL, in rv_init_interface()
778 tmp = rv_create_file("enabled_monitors", RV_MODE_WRITE, rv_root.root_dir, NULL, in rv_init_interface()
783 tmp = rv_create_file("monitoring_on", RV_MODE_WRITE, rv_root.root_dir, NULL, in rv_init_interface()
787 retval = init_rv_reactors(rv_root.root_dir); in rv_init_interface()
796 rv_remove(rv_root.root_dir); in rv_init_interface()
Drv_reactors.c482 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()
/linux-6.1.9/kernel/irq/
Ddebugfs.c246 struct dentry *root_dir; in irq_debugfs_init() local
249 root_dir = debugfs_create_dir("irq", NULL); in irq_debugfs_init()
251 irq_domain_debugfs_init(root_dir); in irq_debugfs_init()
253 irq_dir = debugfs_create_dir("irqs", root_dir); in irq_debugfs_init()
/linux-6.1.9/tools/perf/
Dbuiltin-buildid-cache.c36 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-6.1.9/fs/befs/
Dsuper.c50 befs_sb->root_dir = fsrun_to_cpu(sb, disk_sb->root_dir); in befs_load_sb()
Dbefs.h55 befs_inode_addr root_dir; member
Dbefs_fs_types.h138 befs_disk_inode_addr root_dir; member
Ddebug.c193 tmp_run = fsrun_to_cpu(sb, sup->root_dir); in befs_dump_super_block()
/linux-6.1.9/samples/bpf/
Drun_cookie_uid_helper_example.sh4 root_dir=$local_dir/../..
/linux-6.1.9/fs/exfat/
Dsuper.c347 exfat_chain_set(&ei->dir, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in exfat_read_root()
349 ei->start_clu = sbi->root_dir; in exfat_read_root()
355 ei->hint_stat.clu = sbi->root_dir; in exfat_read_root()
358 exfat_chain_set(&cdir, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in exfat_read_root()
378 ei->i_pos = ((loff_t)sbi->root_dir << 32) | 0xffffffff; in exfat_read_root()
497 sbi->root_dir = le32_to_cpu(p_boot->root_cluster); in exfat_read_boot_sector()
Dballoc.c102 exfat_chain_set(&clu, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in exfat_load_bitmap()
Dnls.c759 clu.dir = sbi->root_dir; in exfat_create_upcase_table()
Dexfat_fs.h226 unsigned int root_dir; /* root dir cluster */ member
/linux-6.1.9/tools/perf/scripts/python/
Dexport-to-postgresql.py983 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-6.1.9/fs/ocfs2/
Docfs2_trace.h1711 TP_PROTO(char *label, char *uuid_str, unsigned long long root_dir,
1713 TP_ARGS(label, uuid_str, root_dir, system_dir, cluster_bits),
1717 __field(unsigned long long, root_dir)
1724 __entry->root_dir = root_dir;
1729 __entry->root_dir, __entry->system_dir, __entry->cluster_bits)

12