projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tools: Remove hists from evsel
[cascardo/linux.git]
/
tools
/
perf
/
builtin-annotate.c
diff --git
a/tools/perf/builtin-annotate.c
b/tools/perf/builtin-annotate.c
index
a5969fa
..
e7417fe
100644
(file)
--- a/
tools/perf/builtin-annotate.c
+++ b/
tools/perf/builtin-annotate.c
@@
-326,7
+326,10
@@
int cmd_annotate(int argc, const char **argv, const char *prefix __maybe_unused)
"Show event group information together"),
OPT_END()
};
- int ret;
+ int ret = hists__init();
+
+ if (ret < 0)
+ return ret;
argc = parse_options(argc, argv, options, annotate_usage, 0);