From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752955AbbI1Ucc (ORCPT ); Mon, 28 Sep 2015 16:32:32 -0400 Received: from mail.kernel.org ([198.145.29.136]:54313 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750901AbbI1Ucb (ORCPT ); Mon, 28 Sep 2015 16:32:31 -0400 Date: Mon, 28 Sep 2015 17:32:26 -0300 From: Arnaldo Carvalho de Melo To: He Kuang Cc: a.p.zijlstra@chello.nl, mingo@redhat.com, jolsa@kernel.org, kan.liang@intel.com, adrian.hunter@intel.com, wangnan0@huawei.com, pi3orama@163.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/4] perf tools: Adds the config_term callback for different type events Message-ID: <20150928203226.GE9392@kernel.org> References: <1443412336-120050-1-git-send-email-hekuang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1443412336-120050-1-git-send-email-hekuang@huawei.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, Sep 28, 2015 at 03:52:13AM +0000, He Kuang escreveu: > Currently, function config_term() is used for checking config terms of > all types of events, while unknown terms is not reported as an error > because pmu events have valid terms in sysfs. But this is wrong when > unknown terms are specificed to hw/sw events. This patch Adds the > config_term callback so we can use separate check routines for each > type of events. > > Signed-off-by: He Kuang Thanks, applied together with Jiri's acks, - Arnaldo