aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/fs/debugfs.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2015-01-22 10:34:22 -0300
committerArnaldo Carvalho de Melo <[email protected]>2015-01-22 10:34:22 -0300
commite2726d99645c5fa1fd9abd6353270fde624696f8 (patch)
tree81c3ab212b91be44b180d712f43300c101e6e4d3 /tools/lib/api/fs/debugfs.h
parent566b5cfb035fb496280be61f976b5281563bfa27 (diff)
tools lib fs: Adopt debugfs open strerrno method
As this is not specific to an evlist and may be used with other tools. Cc: Adrian Hunter <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: David Ahern <[email protected]> Cc: Don Zickus <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> tools/perf/util/include/asm/hash.h
Diffstat (limited to 'tools/lib/api/fs/debugfs.h')
-rw-r--r--tools/lib/api/fs/debugfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/lib/api/fs/debugfs.h b/tools/lib/api/fs/debugfs.h
index f19d3df9609d..afa5043fec61 100644
--- a/tools/lib/api/fs/debugfs.h
+++ b/tools/lib/api/fs/debugfs.h
@@ -26,4 +26,6 @@ char *debugfs_mount(const char *mountpoint);
extern char debugfs_mountpoint[];
+int debugfs__strerror_open(int err, char *buf, size_t size);
+
#endif /* __API_DEBUGFS_H__ */