From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751512AbbHTJad (ORCPT ); Thu, 20 Aug 2015 05:30:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39845 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751023AbbHTJac (ORCPT ); Thu, 20 Aug 2015 05:30:32 -0400 Date: Thu, 20 Aug 2015 11:30:28 +0200 From: Jiri Olsa To: kan.liang@intel.com Cc: acme@kernel.org, a.p.zijlstra@chello.nl, mingo@redhat.com, jolsa@kernel.org, namhyung@kernel.org, ak@linux.intel.com, eranian@google.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC 03/10] perf,tools: support option --socket Message-ID: <20150820093028.GA4640@krava.brq.redhat.com> References: <1439889946-28986-1-git-send-email-kan.liang@intel.com> <1439889946-28986-4-git-send-email-kan.liang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1439889946-28986-4-git-send-email-kan.liang@intel.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 On Tue, Aug 18, 2015 at 05:25:39AM -0400, kan.liang@intel.com wrote: > From: Kan Liang > > Introduce a new option for perf report to show the event information in > the same socket together. > When this option is set, perf report will force to sort by socket. > > $ perf report --stdio --socket > # To display the perf.data header info, please use > --header/--header-only options. > # > # > # Total Lost Samples: 0 > # > # Samples: 686 of event 'cycles' > # Event count (approx.): 349215462 > # > # > # Socket: 0 > # > # Overhead Command Shared Object Symbol > # ........ ......... ................ > ................................. > # > 97.05% test test [.] plusB_c > 0.98% test test [.] plusA_c > 0.16% test [kernel.vmlinux] [k] add_mm_counter_fast > 0.15% swapper [kernel.vmlinux] [k] note_gp_changes > 0.15% perf [kernel.vmlinux] [k] unmap_single_vma > 0.06% perf [kernel.vmlinux] [k] run_timer_softirq > 0.00% swapper [kernel.vmlinux] [k] native_write_msr > # > # Socket: 1 > # > # Overhead Command Shared Object Symbol > # ........ ......... ................ > ................................. > # > 0.93% perf [kernel.vmlinux] [k] smp_call_function_single > 0.19% perf [kernel.vmlinux] [k] page_fault > 0.19% swapper [kernel.vmlinux] [k] pm_qos_request > 0.12% rcu_sched [kernel.vmlinux] [k] > dyntick_save_progress_counter > 0.00% swapper [kernel.vmlinux] [k] wake_up_process > 0.00% swapper [kernel.vmlinux] [k] __do_softirq > 0.00% swapper [kernel.vmlinux] [k] run_timer_softirq > 0.00% swapper [kernel.vmlinux] [k] native_write_msr > 0.00% perf [kernel.vmlinux] [k] native_write_msr nice, but should this be handled by HIST_FILTER__* stuff? also having generic ability to 'zoom' in TUI for SOCKET/CPU would be great.. it's already there for thread and dso jirka