Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1699303ybh; Sun, 15 Mar 2020 08:56:54 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt8aPMYf7/OzsFv1v3C7JVQFQa7IOy24MDwFhREjZd63fRc/OL6RvJ5IH0fV5SFNvlp2KM6 X-Received: by 2002:aca:5109:: with SMTP id f9mr13859178oib.14.1584287814786; Sun, 15 Mar 2020 08:56:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584287814; cv=none; d=google.com; s=arc-20160816; b=nSFDQehlpD3S/IHIbo3j/UiWnNA4Qo+3Tc3YbdhFsFIg5jzjJgulwBdj5LN183gBcD jbNnYHwHfy1QsUnEISPde/LiJhvS9EppG7pwfxIQj7z88bkTa2W+K3XhSxAN2XZSNE3p nWG9yEfND5QsivyKZJISqvxhtdP1Bendl3BkaxChcLWsKGtmmPXzCvrFGSDGZ5KbhDHT tWEsxSjFG75GRxQdqITXuUeySSrRDLsxHf+Wej9YRftl68T0Tf58aHe6P5c7WUW1xgoJ UdUWnEZL+pveOWY+QbAHinbCucNDGZhhJBpWRQs/EjaH6mgBiqJ9QdPgsYfvN92rsGLt WGUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=v0K/KmAU8fcEqn7ZyP/3tdnhl/xNDO9TUTnK4Nnf6pQ=; b=LuwLhNq27QojKZN66+WtZDf05dajyZHNMuYdUjANfok3eSB/r+jwkg1DOQ6j/+GGOB gROQTnIRztEEner3D86nzLnlroaq4zb0WtAu0R7z9tNQ0I6/NetefWiE1lgn+kdt4Web GpHXMtnzRIUcomzBQb7Sk+wnI/AkZ+UyFg8l1pXDuELMTD1eWxxGeEuz2E/ThDEUikRr 9fevL3j7cfBB50H+u72iWVxp3jhK1w5I2OLGzKS52NPN0841v+8B1X3M4ymmDNtE6n3Y a8MIUWXd2oWs7SOhTvFEFsWpB9SsuvgzUHP7NnFt1n5b3jDA+IpIYFbxNMrutgiAx3+8 rNYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b9si4268680ots.148.2020.03.15.08.56.42; Sun, 15 Mar 2020 08:56:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728849AbgCOP4V convert rfc822-to-8bit (ORCPT + 99 others); Sun, 15 Mar 2020 11:56:21 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:31726 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728634AbgCOP4V (ORCPT ); Sun, 15 Mar 2020 11:56:21 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-210-XA3QFsmIPzmvSf13aYxi3Q-1; Sun, 15 Mar 2020 11:56:16 -0400 X-MC-Unique: XA3QFsmIPzmvSf13aYxi3Q-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A42A3477; Sun, 15 Mar 2020 15:56:12 +0000 (UTC) Received: from krava.redhat.com (ovpn-204-71.brq.redhat.com [10.40.204.71]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2B79C5DA76; Sun, 15 Mar 2020 15:56:09 +0000 (UTC) From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan , Andi Kleen , Kajol Jain Subject: [PATCH perf/urgent] perf expr: Fix copy/paste mistake Date: Sun, 15 Mar 2020 16:56:09 +0100 Message-Id: <20200315155609.603948-1-jolsa@kernel.org> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: kernel.org Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Copy/paste leftover from recent refactor. Fixes: 26226a97724d ("perf expr: Move expr lexer to flex") Signed-off-by: Jiri Olsa --- 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