aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/fs/debugfs.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2015-01-22 10:52:55 -0300
committerArnaldo Carvalho de Melo <[email protected]>2015-01-22 11:16:31 -0300
commit801c67b05f55d0cdafcda9fdcbb3da375b03c192 (patch)
tree81b17b41e943adaf08650d3f09d413feeefa66c0 /tools/lib/api/fs/debugfs.h
parente2726d99645c5fa1fd9abd6353270fde624696f8 (diff)
tools lib fs: Pass filename to debugfs__strerror_open
It was hardcoded for one specific tracepoint, leftover from its initial user: 'perf trace'. 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]>
Diffstat (limited to 'tools/lib/api/fs/debugfs.h')
-rw-r--r--tools/lib/api/fs/debugfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/api/fs/debugfs.h b/tools/lib/api/fs/debugfs.h
index afa5043fec61..a1799aecd4d5 100644
--- a/tools/lib/api/fs/debugfs.h
+++ b/tools/lib/api/fs/debugfs.h
@@ -26,6 +26,6 @@ char *debugfs_mount(const char *mountpoint);
extern char debugfs_mountpoint[];
-int debugfs__strerror_open(int err, char *buf, size_t size);
+int debugfs__strerror_open(int err, char *buf, size_t size, const char *filename);
#endif /* __API_DEBUGFS_H__ */