Searched refs:fpath (Results 1 – 8 of 8) sorted by relevance
/linux/tools/perf/pmu-events/ |
A D | jevents.c | 875 mapfp = fopen(fpath, "r"); in process_mapfile() 878 fpath); in process_mapfile() 905 prog, fpath, line_num); in process_mapfile() 986 static int is_leaf_dir(const char *fpath) in is_leaf_dir() argument 992 d = opendir(fpath); in is_leaf_dir() 1007 sprintf(path, "%s/%s", fpath, dir->d_name); in is_leaf_dir() 1067 bname = (char *) fpath + ftwbuf->base - 2; in process_one_file() 1077 bname = (char *) fpath + ftwbuf->base; in process_one_file() 1081 level, sb->st_size, bname, fpath); in process_one_file() 1134 mapfile = strdup(fpath); in process_one_file() [all …]
|
/linux/tools/bpf/bpftool/ |
A 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()
|
A 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()
|
A D | common.c | 400 static int do_build_table_cb(const char *fpath, const struct stat *sb, in do_build_table_cb() argument 412 fd = open_obj_pinned(fpath, true); in do_build_table_cb() 424 path = strdup(fpath); in do_build_table_cb()
|
/linux/tools/perf/bench/ |
A 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()
|
/linux/tools/testing/selftests/powerpc/ |
A 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()
|
/linux/tools/perf/util/ |
A D | cgroup.c | 208 static int add_cgroup_name(const char *fpath, const struct stat *sb __maybe_unused, in add_cgroup_name() argument 216 cn = malloc(sizeof(*cn) + strlen(fpath) + 1); in add_cgroup_name() 221 strcpy(cn->name, fpath); in add_cgroup_name()
|
A D | probe-finder.c | 963 char *fpath; in find_probe_point_lazy() local 973 ret = find_source_path(pf->fname, sbuild_id, comp_dir, &fpath); in find_probe_point_lazy() 980 ret = find_lazy_match_lines(pf->lcache, fpath, in find_probe_point_lazy() 982 free(fpath); in find_probe_point_lazy()
|
Completed in 22 milliseconds