Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / tools / perf / util / debugfs.h
blob4a878f735eb013961a0af6867ed6a6596b433018
1 #ifndef __DEBUGFS_H__
2 #define __DEBUGFS_H__
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);
15 extern char debugfs_mountpoint[];
16 extern char tracing_events_path[];
18 #endif /* __DEBUGFS_H__ */