tracefs.h 476 B

123456789101112131415161718192021
  1. #ifndef __API_TRACEFS_H__
  2. #define __API_TRACEFS_H__
  3. #include "findfs.h"
  4. #ifndef TRACEFS_MAGIC
  5. #define TRACEFS_MAGIC 0x74726163
  6. #endif
  7. #ifndef PERF_TRACEFS_ENVIRONMENT
  8. #define PERF_TRACEFS_ENVIRONMENT "PERF_TRACEFS_DIR"
  9. #endif
  10. bool tracefs_configured(void);
  11. const char *tracefs_find_mountpoint(void);
  12. int tracefs_valid_mountpoint(const char *debugfs);
  13. char *tracefs_mount(const char *mountpoint);
  14. extern char tracefs_mountpoint[];
  15. #endif /* __API_DEBUGFS_H__ */