Revert "perf augmented_syscalls: Drop 'write', 'poll' for testing without self pid...
[linux/fpc-iii.git] / tools / perf / util / path.h
blobf014f905df509385a78afeae81921a91a4b03487
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PERF_PATH_H
3 #define _PERF_PATH_H
5 struct dirent;
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);
10 bool is_regular_file(const char *file);
11 bool is_directory(const char *base_path, const struct dirent *dent);
13 #endif /* _PERF_PATH_H */