Searched refs:fpath (Results 1 – 6 of 6) sorted by relevance
| /tools/bpf/bpftool/ |
| A D | cgroup.c | 400 static int do_show_tree_fn(const char *fpath, const struct stat *sb, in do_show_tree_fn() argument 410 cgroup_fd = open(fpath, O_RDONLY); in do_show_tree_fn() 412 p_err("can't open cgroup %s: %s", fpath, strerror(errno)); in do_show_tree_fn() 419 fpath, strerror(errno)); in do_show_tree_fn() 429 jsonw_string_field(json_wtr, "cgroup", fpath); in do_show_tree_fn() 433 printf("%s\n", fpath); in do_show_tree_fn()
|
| A D | common.c | 549 static int do_build_table_cb(const char *fpath, const struct stat *sb, in do_build_table_cb() argument 561 fd = open_obj_pinned(fpath, true, NULL); in do_build_table_cb() 573 path = strdup(fpath); in do_build_table_cb()
|
| /tools/perf/util/ |
| A D | cgroup.c | 216 static int add_cgroup_name(const char *fpath, const struct stat *sb __maybe_unused, in add_cgroup_name() argument 224 cn = malloc(sizeof(*cn) + strlen(fpath) + 1); in add_cgroup_name() 229 strcpy(cn->name, fpath); in add_cgroup_name() 235 static int check_and_add_cgroup_name(const char *fpath) in check_and_add_cgroup_name() argument 240 if (!strcmp(cn->name, fpath)) in check_and_add_cgroup_name() 245 return add_cgroup_name(fpath, NULL, FTW_D, NULL); in check_and_add_cgroup_name()
|
| A D | probe-finder.c | 853 char *fpath; in find_probe_point_lazy() local 865 ret = find_source_path(pf->fname, sbuild_id, comp_dir, &fpath); in find_probe_point_lazy() 872 ret = find_lazy_match_lines(pf->lcache, fpath, in find_probe_point_lazy() 874 free(fpath); in find_probe_point_lazy()
|
| /tools/perf/bench/ |
| A D | inject-buildid.c | 79 static int add_dso(const char *fpath, const struct stat *sb __maybe_unused, in add_dso() argument 88 if (filename__read_build_id(fpath, &bid) < 0) in add_dso() 91 dso->name = realpath(fpath, NULL); in add_dso() 96 pr_debug2(" Adding DSO: %s\n", fpath); in add_dso()
|
| /tools/testing/selftests/powerpc/ |
| A D | utils.c | 493 int read_sysfs_file(char *fpath, char *result, size_t result_size) in read_sysfs_file() argument 497 strncat(path, fpath, PATH_MAX - strlen(path) - 1); in read_sysfs_file()
|
Completed in 17 milliseconds