]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - tools/perf/util/path.h
Merge tag 'tty-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
[mirror_ubuntu-eoan-kernel.git] / tools / perf / util / path.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
9a3993d4
ACM
2#ifndef _PERF_PATH_H
3#define _PERF_PATH_H
4
06c3f2aa
JO
5struct dirent;
6
9a3993d4
ACM
7int path__join(char *bf, size_t size, const char *path1, const char *path2);
8int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3);
9
10bool is_regular_file(const char *file);
06c3f2aa 11bool is_directory(const char *base_path, const struct dirent *dent);
9a3993d4
ACM
12
13#endif /* _PERF_PATH_H */