aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2023-08-30 00:07:51 -0700
committerArnaldo Carvalho de Melo <[email protected]>2023-08-30 23:03:03 -0300
commit6beb6cfddff98cb53e01c0bebb0da8030506fb76 (patch)
tree64c907412ba90fa02c43b3a52b600685b5ddf35c
parent196e355877a767674ea9c35af1686e642294885a (diff)
perf parse-events: Minor help message improvements
Be more specific and fix a typo. Signed-off-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: James Clark <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r--tools/perf/util/parse-events.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/parse-events.y b/tools/perf/util/parse-events.y
index 3a9d4e2513b5..4a370c36a0d5 100644
--- a/tools/perf/util/parse-events.y
+++ b/tools/perf/util/parse-events.y
@@ -342,7 +342,7 @@ PE_NAME opt_pmu_config
struct parse_events_error *error = parse_state->error;
char *help;
- if (asprintf(&help, "Unabled to find PMU or event on a PMU of '%s'", $1) < 0)
+ if (asprintf(&help, "Unable to find PMU or event on a PMU of '%s'", $1) < 0)
help = NULL;
parse_events_error__handle(error, @1.first_column,
strdup("Bad event or PMU"),
@@ -368,7 +368,7 @@ PE_NAME sep_dc
struct parse_events_error *error = parse_state->error;
char *help;
- if (asprintf(&help, "Unabled to find PMU or event on a PMU of '%s'", $1) < 0)
+ if (asprintf(&help, "Unable to find event on a PMU of '%s'", $1) < 0)
help = NULL;
parse_events_error__handle(error, @1.first_column, strdup("Bad event name"), help);
free($1);