1 #ifndef __API_TRACEFS_H__
2 #define __API_TRACEFS_H__
7 #define TRACEFS_MAGIC 0x74726163
10 #ifndef PERF_TRACEFS_ENVIRONMENT
11 #define PERF_TRACEFS_ENVIRONMENT "PERF_TRACEFS_DIR"
14 bool tracefs_configured(void);
15 const char *tracefs_find_mountpoint(void);
16 int tracefs_valid_mountpoint(const char *debugfs);
17 char *tracefs_mount(const char *mountpoint);
19 extern char tracefs_mountpoint[];
21 #endif /* __API_DEBUGFS_H__ */