debugfs.h 621 B

123456789101112131415161718
  1. #ifndef __DEBUGFS_H__
  2. #define __DEBUGFS_H__
  3. const char *debugfs_find_mountpoint(void);
  4. int debugfs_valid_mountpoint(const char *debugfs);
  5. int debugfs_valid_entry(const char *path);
  6. char *debugfs_mount(const char *mountpoint);
  7. int debugfs_umount(void);
  8. void debugfs_set_path(const char *mountpoint);
  9. int debugfs_write(const char *entry, const char *value);
  10. int debugfs_read(const char *entry, char *buffer, size_t size);
  11. void debugfs_force_cleanup(void);
  12. int debugfs_make_path(const char *element, char *buffer, int size);
  13. extern char debugfs_mountpoint[];
  14. extern char tracing_events_path[];
  15. #endif /* __DEBUGFS_H__ */