diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2015-01-22 13:52:55 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-01-22 14:16:31 +0000 |
| commit | 801c67b05f55d0cdafcda9fdcbb3da375b03c192 (patch) | |
| tree | 81b17b41e943adaf08650d3f09d413feeefa66c0 /tools/lib/api/fs/debugfs.h | |
| parent | tools lib fs: Adopt debugfs open strerrno method (diff) | |
| download | kernel-801c67b05f55d0cdafcda9fdcbb3da375b03c192.tar.gz kernel-801c67b05f55d0cdafcda9fdcbb3da375b03c192.zip | |
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.h | 2 |
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__ */ |
