projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perf tools: Introduce usage_with_options_msg()
[deliverable/linux.git]
/
tools
/
perf
/
builtin-evlist.c
diff --git
a/tools/perf/builtin-evlist.c
b/tools/perf/builtin-evlist.c
index 695ec5a50cf22c56e72961ae98ae9580a98f2512..f4d62510acbbb5603ad246bea89a7dfb95c07f43 100644
(file)
--- a/
tools/perf/builtin-evlist.c
+++ b/
tools/perf/builtin-evlist.c
@@
-61,8
+61,8
@@
int cmd_evlist(int argc, const char **argv, const char *prefix __maybe_unused)
usage_with_options(evlist_usage, options);
if (details.event_group && (details.verbose || details.freq)) {
usage_with_options(evlist_usage, options);
if (details.event_group && (details.verbose || details.freq)) {
- pr_err("--group option is not compatible with other options\n");
-
usage_with_options(evlist_usage, options
);
+ usage_with_options_msg(evlist_usage, options,
+
"--group option is not compatible with other options\n"
);
}
return __cmd_evlist(input_name, &details);
}
return __cmd_evlist(input_name, &details);
This page took
0.028818 seconds
and
5
git commands to generate.