1 #ifndef __API_DEBUGFS_H__
2 #define __API_DEBUGFS_H__
7 #define DEBUGFS_MAGIC 0x64626720
10 #ifndef PERF_DEBUGFS_ENVIRONMENT
11 #define PERF_DEBUGFS_ENVIRONMENT "PERF_DEBUGFS_DIR"
14 bool debugfs_configured(void);
15 const char *debugfs_find_mountpoint(void);
16 char *debugfs_mount(const char *mountpoint);
18 extern char debugfs_mountpoint[];
20 int debugfs__strerror_open(int err, char *buf, size_t size, const char *filename);
21 int debugfs__strerror_open_tp(int err, char *buf, size_t size, const char *sys, const char *name);
23 #endif /* __API_DEBUGFS_H__ */