From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnaldo Carvalho de Melo Subject: Re: [PATCH 06/12] perf report/top: Add 'k' hotkey to zoom directly into the kernel map Date: Fri, 20 Dec 2019 09:17:23 -0300 Message-ID: <20191220121723.GC2032@kernel.org> References: <20191217144828.2460-1-acme@kernel.org> <20191217144828.2460-7-acme@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Namhyung Kim Cc: Jiri Olsa , Ingo Molnar , Thomas Gleixner , Clark Williams , linux-kernel , linux-perf-users , Arnaldo Carvalho de Melo , Adrian Hunter , Andi Kleen , Jin Yao , Kan Liang , Linus Torvalds List-Id: linux-perf-users.vger.kernel.org Em Fri, Dec 20, 2019 at 03:48:23PM +0900, Namhyung Kim escreveu: > On Tue, Dec 17, 2019 at 11:49 PM Arnaldo Carvalho de Melo wrote: > > From: Arnaldo Carvalho de Melo > > As a convenience, equivalent to pressing Enter in a line with a kernel > > symbol and then selecting "Zoom" into the kernel DSO. > We already have 'd' key for 'zoom into current dso'. Right, current DSO, 'k' is equivalent to: 1. Navigate to a kernel map entry 2. Press 'd' And also to: 1. Navigate to a kernel map entry 2. Press ENTER 3. Navigate to "Zoom into Kernel DSO" 4. Press ENTER One key versus 2 or four. > Do you really want 'k' for kernel specially? I thought kernel hackers would like the convenience, doing: perf top + k To get the main kernel samples looks faster than: perf top -e cycles:k And those are not even equivalent, as cycles:k will show everything in ring 0, while 'perf top + k' will show just what is in the kernel _and_ in the main kernel map. - Arnaldo