Linux Perf
path.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PERF_PATH_H
3 #define _PERF_PATH_H
4 
5 struct dirent;
6 
7 int path__join(char *bf, size_t size, const char *path1, const char *path2);
8 int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3);
9 
10 bool is_regular_file(const char *file);
11 bool is_directory(const char *base_path, const struct dirent *dent);
12 
13 #endif /* _PERF_PATH_H */
size_t size
Definition: evsel.c:60
int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3)
Definition: path.c:66
bool is_directory(const char *base_path, const struct dirent *dent)
Definition: path.c:83
bool is_regular_file(const char *file)
Definition: path.c:72
int path__join(char *bf, size_t size, const char *path1, const char *path2)
Definition: path.c:61