Searched refs:fpath (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/tools/perf/pmu-events/ |
D | jevents.c | 784 static int process_mapfile(FILE *outfp, char *fpath) in process_mapfile() argument 794 pr_info("%s: Processing mapfile %s\n", prog, fpath); in process_mapfile() 800 mapfp = fopen(fpath, "r"); in process_mapfile() 803 fpath); in process_mapfile() 830 prog, fpath, line_num); in process_mapfile() 909 static int is_leaf_dir(const char *fpath) in is_leaf_dir() argument 915 d = opendir(fpath); in is_leaf_dir() 930 sprintf(path, "%s/%s", fpath, dir->d_name); in is_leaf_dir() 960 static int preprocess_arch_std_files(const char *fpath, const struct stat *sb, in preprocess_arch_std_files() argument 966 if (level == 1 && is_file && is_json_file(fpath)) in preprocess_arch_std_files() [all …]
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
D | cgroup.c | 242 static int do_show_tree_fn(const char *fpath, const struct stat *sb, in do_show_tree_fn() argument 252 cgroup_fd = open(fpath, O_RDONLY); in do_show_tree_fn() 254 p_err("can't open cgroup %s: %s", fpath, strerror(errno)); in do_show_tree_fn() 261 fpath, strerror(errno)); in do_show_tree_fn() 271 jsonw_string_field(json_wtr, "cgroup", fpath); in do_show_tree_fn() 275 printf("%s\n", fpath); in do_show_tree_fn()
|
D | perf.c | 150 static int show_proc(const char *fpath, const struct stat *sb, in show_proc() argument 160 pch = fpath + 5; in show_proc()
|
D | common.c | 395 static int do_build_table_cb(const char *fpath, const struct stat *sb, in do_build_table_cb() argument 407 fd = open_obj_pinned(fpath, true); in do_build_table_cb() 426 obj_node->path = strdup(fpath); in do_build_table_cb()
|
/kernel/linux/linux-5.10/tools/perf/bench/ |
D | inject-buildid.c | 78 static int add_dso(const char *fpath, const struct stat *sb __maybe_unused, in add_dso() argument 87 if (filename__read_build_id(fpath, &bid) < 0) in add_dso() 90 dso->name = realpath(fpath, NULL); in add_dso() 95 pr_debug2(" Adding DSO: %s\n", fpath); in add_dso()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ |
D | utils.c | 142 int read_sysfs_file(char *fpath, char *result, size_t result_size) in read_sysfs_file() argument 147 strncat(path, fpath, PATH_MAX - strlen(path) - 1); in read_sysfs_file()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | probe-finder.c | 958 char *fpath; in find_probe_point_lazy() local 968 ret = find_source_path(pf->fname, sbuild_id, comp_dir, &fpath); in find_probe_point_lazy() 975 ret = find_lazy_match_lines(pf->lcache, fpath, in find_probe_point_lazy() 977 free(fpath); in find_probe_point_lazy()
|