| #ifndef __API_DEBUGFS_H__ |
| #define __API_DEBUGFS_H__ |
| * On most systems <limits.h> would have given us this, but not on some systems |
| #define DEBUGFS_MAGIC 0x64626720 |
| #ifndef PERF_DEBUGFS_ENVIRONMENT |
| #define PERF_DEBUGFS_ENVIRONMENT "PERF_DEBUGFS_DIR" |
| const char *debugfs_find_mountpoint(void); |
| int debugfs_valid_mountpoint(const char *debugfs); |
| char *debugfs_mount(const char *mountpoint); |
| extern char debugfs_mountpoint[]; |
| int debugfs__strerror_open(int err, char *buf, size_t size); |
| #endif /* __API_DEBUGFS_H__ */ |