From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758382AbcHCVxU (ORCPT ); Wed, 3 Aug 2016 17:53:20 -0400 Received: from mail-yw0-f170.google.com ([209.85.161.170]:35367 "EHLO mail-yw0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751898AbcHCVxT (ORCPT ); Wed, 3 Aug 2016 17:53:19 -0400 MIME-Version: 1.0 In-Reply-To: <20160731120310.GB12673@krava> References: <1469742143-22245-1-git-send-email-mathieu.poirier@linaro.org> <1469742143-22245-5-git-send-email-mathieu.poirier@linaro.org> <20160731120310.GB12673@krava> From: Mathieu Poirier Date: Wed, 3 Aug 2016 15:46:29 -0600 Message-ID: Subject: Re: [PATCH V3 4/6] perf tools: pushing driver configuration down to the kernel To: Jiri Olsa Cc: Arnaldo Carvalho de Melo , jolsa@kernel.org, Peter Zijlstra , Ingo Molnar , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31 July 2016 at 06:03, Jiri Olsa wrote: > On Thu, Jul 28, 2016 at 03:42:21PM -0600, Mathieu Poirier wrote: >> Now that PMU specific driver configuration are queued in >> evsel::config_terms, all we need to do is re-use the current >> ioctl() mechanism to push down the information to the kernel >> driver. >> >> Signed-off-by: Mathieu Poirier >> --- >> tools/perf/builtin-record.c | 9 +++++++++ >> tools/perf/builtin-stat.c | 8 ++++++++ > > how about perf top? It took me a while to notice the "event" option in cmd_top(). You are correct, it applies there as well. Mathieu > > jirka