From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933365AbbLOIxS (ORCPT ); Tue, 15 Dec 2015 03:53:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60155 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933160AbbLOIxN (ORCPT ); Tue, 15 Dec 2015 03:53:13 -0500 Date: Tue, 15 Dec 2015 09:53:09 +0100 From: Jiri Olsa To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Ingo Molnar , Peter Zijlstra , LKML , David Ahern , Steven Rostedt , Frederic Weisbecker , Andi Kleen , Wang Nan Subject: Re: [PATCH 5/6] perf tools: Add dynamic sort key for tracepoint events Message-ID: <20151215085309.GD16565@krava.brq.redhat.com> References: <1450107973-2447-1-git-send-email-namhyung@kernel.org> <1450107973-2447-6-git-send-email-namhyung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1450107973-2447-6-git-send-email-namhyung@kernel.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 15, 2015 at 12:46:12AM +0900, Namhyung Kim wrote: SNIP > > $ perf report -s comm,sched:sched_switch.next_pid,sched:sched_switch.next_comm --stdio > ... > # Overhead Command next_pid next_comm > # ........ ............... .......... ................ > # > 20.86% swapper 17773 transmission-gt > 9.64% transmission-gt 0 swapper/0 > 9.16% transmission-gt 0 swapper/2 > 5.25% swapper 109 kworker/0:1H > 5.21% kworker/0:1H 0 swapper/0 > 2.14% netctl-auto 0 swapper/2 > 1.98% netctl-auto 0 swapper/0 > 1.98% swapper 6524 Xephyr > 1.98% swapper 27478 netctl-auto > 1.78% transmission-gt 0 swapper/3 > 1.53% Xephyr 0 swapper/0 > 1.29% netctl-auto 0 swapper/1 > 1.29% swapper 27476 netctl-auto > 1.21% netctl-auto 0 swapper/3 > 1.17% swapper 233 irq/33-iwlwifi > > Note that pid 0 exists for each cpu so have comm of 'swapper/N'. could we also add by default all tracepoint fields in case none is specified and the event to display is tracepoint? also an extra field that would hold/show the 'print fmt' display ? thanks, jirka