[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150902130053.GE12722@kernel.org>
Date: Wed, 2 Sep 2015 10:00:53 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Jiri Olsa <jolsa@...nel.org>
Cc: lkml <linux-kernel@...r.kernel.org>,
David Ahern <dsahern@...il.com>,
Ingo Molnar <mingo@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Matt Fleming <matt@...eblueprint.co.uk>,
Raphaƫl Beamonte <raphael.beamonte@...il.com>,
Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [PATCH 01/15] perf tools: Fix parse_events_add_pmu caller
Em Wed, Sep 02, 2015 at 09:56:31AM +0200, Jiri Olsa escreveu:
> 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.
Humm, wonder what can be done to improve this situation... No ideas?
Applying to perf/urgent,
Thanks,
- Arnaldo
> Link: http://lkml.kernel.org/n/tip-fda5a524tfapmpb85bmaigo2@git.kernel.org
> Signed-off-by: Jiri Olsa <jolsa@...nel.org>
> ---
> tools/perf/util/parse-events.y | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/util/parse-events.y b/tools/perf/util/parse-events.y
> index 591905a02b92..9cd70819c795 100644
> --- 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;
> }
> --
> 2.4.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists