debugfs.h 608 B

1234567891011121314151617181920212223
  1. #ifndef __API_DEBUGFS_H__
  2. #define __API_DEBUGFS_H__
  3. #include "findfs.h"
  4. #ifndef DEBUGFS_MAGIC
  5. #define DEBUGFS_MAGIC 0x64626720
  6. #endif
  7. #ifndef PERF_DEBUGFS_ENVIRONMENT
  8. #define PERF_DEBUGFS_ENVIRONMENT "PERF_DEBUGFS_DIR"
  9. #endif
  10. bool debugfs_configured(void);
  11. const char *debugfs_find_mountpoint(void);
  12. char *debugfs_mount(const char *mountpoint);
  13. extern char debugfs_mountpoint[];
  14. int debugfs__strerror_open(int err, char *buf, size_t size, const char *filename);
  15. int debugfs__strerror_open_tp(int err, char *buf, size_t size, const char *sys, const char *name);
  16. #endif /* __API_DEBUGFS_H__ */