Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2530427imm; Thu, 7 Jun 2018 12:12:21 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ2529MQ0Z/vJ66tMnItGmb+BPtjAkvwO4YOkrplIwK3vbwZWjk4urCE3+Vxc05m6NTbni+ X-Received: by 2002:a63:aa4c:: with SMTP id x12-v6mr2489264pgo.387.1528398741239; Thu, 07 Jun 2018 12:12:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528398741; cv=none; d=google.com; s=arc-20160816; b=cwMpVB8Az4ZIoyWZ3sDud6T60hIH6MJ+vZqXqFynhzyiDQe2PwjzxqAKw8wgwIWgPH X6g7P7C6a/BTkhj1bU5ComuMGpzapfgxdoPimVHD53MaoNR8ovjHoNKGdlspFCeYcqVr PV+C2EYMdWI9RRUn6oAfJ2CO9lr3+CH6kahHUmTHlPgGRHHN1rfUcvnS4B88pFj619Bk 7hx/6dX/+kpJqYNEtDiLyZMuSLrpGMrAQVqqv5yWrYCNUbCpn/X5ZBbZgkfL0MobaRti BP6psLJ1JuV4gr/YkM7yn52kGMNt/eGg6VGMKjVKTmZJXfkRzXw0I6HgPkQt/HtUlFzG DOoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=bBNkedrtbzwIYMlakDh20wkpOFk2VzUkvmbC0fMtqEQ=; b=U6gxsqUbB/Jlyz2f6TG3Q3fsRZT3ou5XaxuPeEqTSLHEZ4yLjdRcpdPbPEa1ryfAgo d8EvY4mL30hbK7GYu1QPcMYOJTIFO8KTPlYGooLJsPdUyvW4ohKV/KtiMXJlpKMsQt9N SB6bJhj2bEvhDOIR+QJlbiFXKE3ILukmgC572shBliVwiMTPW8LMXsUEqI1CyrqHHeTf AYyIyc+ENVmarRB70nbBJQ3+xim+/3YjDzSg5QH/Hw/FDm7HUZ5N6ZdVbwszeaSU+Jc5 A5lgw3OktFcaRLjIQqiG6Ayd8HAPlMLJDpQUdXCWClq3BQOuQEaPKfCIqeW8x/KxSlV2 BwwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hBB1jT7m; 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=pass (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 w13-v6si4391280plp.51.2018.06.07.12.12.06; Thu, 07 Jun 2018 12:12:21 -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; dkim=pass header.i=@kernel.org header.s=default header.b=hBB1jT7m; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932642AbeFGSxQ (ORCPT + 99 others); Thu, 7 Jun 2018 14:53:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:37370 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932264AbeFGSxM (ORCPT ); Thu, 7 Jun 2018 14:53:12 -0400 Received: from jouet.infradead.org (unknown [190.15.121.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CC6FB20895; Thu, 7 Jun 2018 18:53:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1528397592; bh=THYrxVjExmuaQ+tQAoFKeee0aco41+apFLqM2PFWWok=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hBB1jT7mWpTbWFoGp/Caj2Hp0L6KPxSRWSBsXawbVLDYO/Cdr7ldsk1rJrxv6mMrJ lSQ3VJPUuJRbg/fxAmUhh0bIB8mjbKByXX9Xi2kdn6r4KLXRBrfTRwH/5ec28J3Gz2 Rc+/sjARy7okDM3FEbjtx0PtFm4B7Y9sK2ccurMU= Received: by jouet.infradead.org (Postfix, from userid 1000) id 8FAEF1468B9; Thu, 7 Jun 2018 15:53:09 -0300 (-03) Date: Thu, 7 Jun 2018 15:53:09 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: Peter Zijlstra , lkml , Ingo Molnar , Namhyung Kim , David Ahern , Alexander Shishkin , Stephane Eranian , Milian Wolff , Andi Kleen , Frederic Weisbecker Subject: Re: [PATCH 02/10] perf tools: Fix error index for pmu event parser Message-ID: <20180607185309.GA17292@kernel.org> References: <20180606221513.11302-1-jolsa@kernel.org> <20180606221513.11302-3-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180606221513.11302-3-jolsa@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Jun 07, 2018 at 12:15:05AM +0200, Jiri Olsa escreveu: > For events we provide specific error message we need to set > error column index, PMU parser is missing that, adding it. > > Before: > $ perf stat -e cycles,krava/cycles/ kill > event syntax error: 'cycles,krava/cycles/' > \___ Cannot find PMU `krava'. Missing kernel support? > > After: > $ perf stat -e cycles,krava/cycles/ kill > event syntax error: 'cycles,krava/cycles/' > \___ Cannot find PMU `krava'. Missing kernel support? Thanks, tested and applied. - Arnaldo