projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b92356
)
perf tools: Fix parse_events_add_pmu caller
author
Jiri Olsa
<
[email protected]
>
Wed, 2 Sep 2015 07:56:31 +0000
(09:56 +0200)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Wed, 2 Sep 2015 12:58:57 +0000
(09:58 -0300)
Following commit changed parse_events_add_pmu interface:
36adec85a86f
perf tools: Change parse_events_add_pmu interface
but forgot to change one caller. Because of lessen compilation rules for
the bison parser, the compiler did not warn on that.
Signed-off-by: Jiri Olsa <
[email protected]
>
Cc: Raphael Beamonte <
[email protected]
>
Cc: David Ahern <
[email protected]
>
Cc: Matt Fleming <
[email protected]
>
Cc: Namhyung Kim <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Steven Rostedt <
[email protected]
>
Fixes: 36adec85a86f ("perf tools: Change parse_events_add_pmu interface")
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/util/parse-events.y
patch
|
blob
|
history
diff --git
a/tools/perf/util/parse-events.y
b/tools/perf/util/parse-events.y
index 591905a02b926b6029447a372f2e5f7b7d34864a..9cd70819c7950e2de1aaae29a17b0f951b593bda 100644
(file)
--- a/
tools/perf/util/parse-events.y
+++ b/
tools/perf/util/parse-events.y
@@
-255,7
+255,7
@@
PE_PMU_EVENT_PRE '-' PE_PMU_EVENT_SUF sep_dc
list_add_tail(&term->list, head);
ALLOC_LIST(list);
- ABORT_ON(parse_events_add_pmu(
list, &data->idx
, "cpu", head));
+ ABORT_ON(parse_events_add_pmu(
data, list
, "cpu", head));
parse_events__free_terms(head);
$$ = list;
}