Searched refs:fpath (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/tools/perf/pmu-events/ |
| D | jevents.c | 753 static int process_mapfile(FILE *outfp, char *fpath) in process_mapfile() argument 762 pr_info("%s: Processing mapfile %s\n", prog, fpath); in process_mapfile() 768 mapfp = fopen(fpath, "r"); in process_mapfile() 771 fpath); in process_mapfile() 797 prog, fpath, line_num); in process_mapfile() 872 static int is_leaf_dir(const char *fpath) in is_leaf_dir() argument 878 d = opendir(fpath); in is_leaf_dir() 893 sprintf(path, "%s/%s", fpath, dir->d_name); in is_leaf_dir() 923 static int preprocess_arch_std_files(const char *fpath, const struct stat *sb, in preprocess_arch_std_files() argument 929 if (level == 1 && is_file && is_json_file(fpath)) in preprocess_arch_std_files() [all …]
|
| /Linux-v5.4/tools/bpf/bpftool/ |
| D | cgroup.c | 227 static int do_show_tree_fn(const char *fpath, const struct stat *sb, in do_show_tree_fn() argument 237 cgroup_fd = open(fpath, O_RDONLY); in do_show_tree_fn() 239 p_err("can't open cgroup %s: %s", fpath, strerror(errno)); in do_show_tree_fn() 248 fpath, strerror(errno)); in do_show_tree_fn() 265 jsonw_string_field(json_wtr, "cgroup", fpath); in do_show_tree_fn() 269 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()
|
| /Linux-v5.4/tools/perf/util/ |
| D | probe-finder.c | 879 char *fpath; in find_probe_point_lazy() local 885 ret = get_real_path(pf->fname, comp_dir, &fpath); in find_probe_point_lazy() 892 ret = find_lazy_match_lines(pf->lcache, fpath, in find_probe_point_lazy() 894 free(fpath); in find_probe_point_lazy()
|