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