OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perf parse-events: Minor help message improvements
[tomoyo/tomoyo-test1.git]
/
tools
/
perf
/
util
/
parse-events.y
diff --git
a/tools/perf/util/parse-events.y
b/tools/perf/util/parse-events.y
index
3a9d4e2
..
4a370c3
100644
(file)
--- 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;
struct parse_events_error *error = parse_state->error;
char *help;
- if (asprintf(&help, "Unable
d
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"),
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;
struct parse_events_error *error = parse_state->error;
char *help;
- if (asprintf(&help, "Unable
d 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);
help = NULL;
parse_events_error__handle(error, @1.first_column, strdup("Bad event name"), help);
free($1);