From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941919AbcJYV2A (ORCPT ); Tue, 25 Oct 2016 17:28:00 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35146 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751741AbcJYV16 (ORCPT ); Tue, 25 Oct 2016 17:27:58 -0400 Date: Wed, 26 Oct 2016 06:27:13 +0900 From: Namhyung Kim To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , David Ahern , Andi Kleen , Wang Nan , Josh Poimboeuf Subject: Re: [RFC/PATCH 2/2] perf sched: Make common options cascading Message-ID: <20161025212713.GB24538@danjae.aot.lge.com> References: <20161024030003.28534-1-namhyung@kernel.org> <20161024030003.28534-2-namhyung@kernel.org> <20161024170332.GE31643@krava> <20161025172132.GD4543@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20161025172132.GD4543@kernel.org> User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 25, 2016 at 02:21:32PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Oct 24, 2016 at 07:03:32PM +0200, Jiri Olsa escreveu: > > On Mon, Oct 24, 2016 at 12:00:03PM +0900, Namhyung Kim wrote: > > > The -i and -v options can be used in subcommands so enable cascading the > > > sched_options. This fixes the following inconvenience in 'perf sched': > > > > > > $ perf sched -i perf.data.sched map > > > ... (it works well) ... > > > > > > $ perf sched map -i perf.data.sched > > > Error: unknown switch `i' > > > > > > Usage: perf sched map [] > > > > > > --color-cpus > > > highlight given CPUs in map > > > --color-pids > > > highlight given pids in map > > > --compact map output in compact mode > > > --cpus display given CPUs in map > > > > > > With this patch, the second command line works with the perf.data.sched > > > data file. > > > > > > Cc: Josh Poimboeuf > > > Signed-off-by: Namhyung Kim > > > > good idea, I'll use it in c2c ;-) > > > > for both: > > > > Acked-by: Jiri Olsa > > Applied, I guess 'perf kvm' would be another user, to make it sane wrt > file_name, -i and -o being available for 'perf kvm record', etc. Yep, I think we have few more. I'll send the patch when I can find a time (FYI I'm travelling now). Thanks, Namhyung