projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'locks-v3.20-2' of git://git.samba.org/jlayton/linux
[firefly-linux-kernel-4.4.55.git]
/
tools
/
perf
/
builtin-evlist.c
diff --git
a/tools/perf/builtin-evlist.c
b/tools/perf/builtin-evlist.c
index 66e12f55c052869e32864ad52e19dda226d918c3..0f93f859b782ba1701b1457cb3f90c9d1ecf5995 100644
(file)
--- a/
tools/perf/builtin-evlist.c
+++ b/
tools/perf/builtin-evlist.c
@@
-28,7
+28,7
@@
static int __cmd_evlist(const char *file_name, struct perf_attr_details *details
session = perf_session__new(&file, 0, NULL);
if (session == NULL)
- return -
ENOMEM
;
+ return -
1
;
evlist__for_each(session->evlist, pos)
perf_evsel__fprintf(pos, details, stdout);