diff options
| author | Masami Hiramatsu <[email protected]> | 2016-05-11 13:51:27 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-05-11 16:06:05 +0000 |
| commit | 357a54f32a065835d3e6a08b07a91a57e52f32c7 (patch) | |
| tree | 12054878d264df42d02d4a44b60742d3ab0fdcb8 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf trace: Move seccomp args beautifiers to tools/perf/trace/beauty/ (diff) | |
| download | kernel-357a54f32a065835d3e6a08b07a91a57e52f32c7.tar.gz kernel-357a54f32a065835d3e6a08b07a91a57e52f32c7.zip | |
perf tools: Fix lsdir to set errno correctly
Fix lsdir() to set correct positive error number (ENOMEM). Since
"errno" must have a positive error number instead of negative number,
fix lsdir to set it correctly.
Signed-off-by: Masami Hiramatsu <[email protected]>
Cc: Ananth N Mavinakayanahalli <[email protected]>
Cc: Brendan Gregg <[email protected]>
Cc: Hemant Kumar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Fixes: e1ce726e1db2 ("perf tools: Add lsdir() helper to read a directory")
Link: http://lkml.kernel.org/r/20160511135127.23943.40644.stgit@devbox
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
