2009-11-08 08:01:37 -07:00
|
|
|
#ifndef __DEBUGFS_H__
|
|
|
|
#define __DEBUGFS_H__
|
|
|
|
|
2011-11-16 07:55:59 -07:00
|
|
|
const char *debugfs_find_mountpoint(void);
|
|
|
|
int debugfs_valid_mountpoint(const char *debugfs);
|
|
|
|
int debugfs_valid_entry(const char *path);
|
|
|
|
char *debugfs_mount(const char *mountpoint);
|
|
|
|
int debugfs_umount(void);
|
2011-11-16 09:03:07 -07:00
|
|
|
void debugfs_set_path(const char *mountpoint);
|
2011-11-16 07:55:59 -07:00
|
|
|
int debugfs_write(const char *entry, const char *value);
|
|
|
|
int debugfs_read(const char *entry, char *buffer, size_t size);
|
|
|
|
void debugfs_force_cleanup(void);
|
|
|
|
int debugfs_make_path(const char *element, char *buffer, int size);
|
2009-11-08 08:01:37 -07:00
|
|
|
|
2011-11-16 09:03:07 -07:00
|
|
|
extern char debugfs_mountpoint[];
|
|
|
|
extern char tracing_events_path[];
|
|
|
|
|
2009-11-08 08:01:37 -07:00
|
|
|
#endif /* __DEBUGFS_H__ */
|