Searched refs:fpath (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/tools/perf/pmu-events/ |
D | jevents.c | 748 static int process_mapfile(FILE *outfp, char *fpath) in process_mapfile() argument 757 pr_info("%s: Processing mapfile %s\n", prog, fpath); in process_mapfile() 763 mapfp = fopen(fpath, "r"); in process_mapfile() 766 fpath); in process_mapfile() 792 prog, fpath, line_num); in process_mapfile() 867 static int is_leaf_dir(const char *fpath) in is_leaf_dir() argument 873 d = opendir(fpath); in is_leaf_dir() 888 sprintf(path, "%s/%s", fpath, dir->d_name); in is_leaf_dir() 918 static int preprocess_arch_std_files(const char *fpath, const struct stat *sb, in preprocess_arch_std_files() argument 924 if (level == 1 && is_file && is_json_file(fpath)) in preprocess_arch_std_files() [all …]
|
/Linux-v4.19/tools/bpf/bpftool/ |
D | cgroup.c | 203 static int do_show_tree_fn(const char *fpath, const struct stat *sb, in do_show_tree_fn() argument 213 cgroup_fd = open(fpath, O_RDONLY); in do_show_tree_fn() 215 p_err("can't open cgroup %s: %s", fpath, strerror(errno)); in do_show_tree_fn() 224 fpath, strerror(errno)); in do_show_tree_fn() 241 jsonw_string_field(json_wtr, "cgroup", fpath); in do_show_tree_fn() 245 printf("%s\n", fpath); in do_show_tree_fn()
|
D | perf.c | 146 static int show_proc(const char *fpath, const struct stat *sb, in show_proc() argument 156 pch = fpath + 5; in show_proc()
|
/Linux-v4.19/tools/perf/util/ |
D | probe-finder.c | 887 char *fpath; in find_probe_point_lazy() local 893 ret = get_real_path(pf->fname, comp_dir, &fpath); in find_probe_point_lazy() 900 ret = find_lazy_match_lines(pf->lcache, fpath, in find_probe_point_lazy() 902 free(fpath); in find_probe_point_lazy()
|