[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200316135228.GG9917@kernel.org>
Date: Mon, 16 Mar 2020 10:52:28 -0300
From: Arnaldo Carvalho de Melo <arnaldo.melo@...il.com>
To: Jiri Olsa <jolsa@...nel.org>
Cc: lkml <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Michael Petlan <mpetlan@...hat.com>,
Andi Kleen <ak@...ux.intel.com>,
Kajol Jain <kjain@...ux.ibm.com>
Subject: Re: [PATCH perf/urgent] perf expr: Fix copy/paste mistake
Em Sun, Mar 15, 2020 at 04:56:09PM +0100, Jiri Olsa escreveu:
> Copy/paste leftover from recent refactor.
This has not made into perf/urgent, so I've applied it to my perf/core
branch, thanks,
[acme@...co perf]$ git tag --contains 26226a97724d
perf-core-for-mingo-5.7-20200310
[acme@...co perf]$
- Arnaldo
> Fixes: 26226a97724d ("perf expr: Move expr lexer to flex")
> Signed-off-by: Jiri Olsa <jolsa@...nel.org>
> ---
> tools/perf/util/expr.l | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/perf/util/expr.l b/tools/perf/util/expr.l
> index 1928f2a3dddc..eaad29243c23 100644
> --- a/tools/perf/util/expr.l
> +++ b/tools/perf/util/expr.l
> @@ -79,10 +79,10 @@ symbol {spec}*{sym}*{spec}*{sym}*
> {
> int start_token;
>
> - start_token = parse_events_get_extra(yyscanner);
> + start_token = expr_get_extra(yyscanner);
>
> if (start_token) {
> - parse_events_set_extra(NULL, yyscanner);
> + expr_set_extra(NULL, yyscanner);
> return start_token;
> }
> }
> --
> 2.24.1
>
--
- Arnaldo
Powered by blists - more mailing lists