From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757055AbcAUEHR (ORCPT ); Wed, 20 Jan 2016 23:07:17 -0500 Received: from LGEAMRELO13.lge.com ([156.147.23.53]:49843 "EHLO lgeamrelo13.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752036AbcAUEHO (ORCPT ); Wed, 20 Jan 2016 23:07:14 -0500 X-Original-SENDERIP: 156.147.1.126 X-Original-MAILFROM: namhyung@kernel.org X-Original-SENDERIP: 165.244.98.150 X-Original-MAILFROM: namhyung@kernel.org X-Original-SENDERIP: 10.177.227.17 X-Original-MAILFROM: namhyung@kernel.org Date: Thu, 21 Jan 2016 13:07:10 +0900 From: Namhyung Kim To: Arnaldo Carvalho de Melo CC: Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , David Ahern , Stephane Eranian , Andi Kleen , Wang Nan Subject: Re: [PATCH 08/17] perf hists browser: Fix context menu item Message-ID: <20160121040710.GC10179@sejong> References: <1452960197-5323-1-git-send-email-namhyung@kernel.org> <1452960197-5323-9-git-send-email-namhyung@kernel.org> <20160121005245.GM18367@kernel.org> MIME-Version: 1.0 In-Reply-To: <20160121005245.GM18367@kernel.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-MIMETrack: Itemize by SMTP Server on LGEKRMHUB02/LGE/LG Group(Release 8.5.3FP6|November 21, 2013) at 2016/01/21 13:07:10, Serialize by Router on LGEKRMHUB02/LGE/LG Group(Release 8.5.3FP6|November 21, 2013) at 2016/01/21 13:07:10, Serialize complete at 2016/01/21 13:07:10 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 20, 2016 at 09:52:45PM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, Jan 17, 2016 at 01:03:08AM +0900, Namhyung Kim escreveu: > > When symbol sort key is not given, it doesn't show any item other than > > exit. Check sort key to select possible items. Also check items more > > strictly using sort key information. > > So, without this patch when I press enter on 'perf top' I can zoom into > threads, with it I lose that option. Yes, but it was incorrect information. The default sort key of 'perf top' doesn't contain 'comm' (or 'pid') so hist entries it shows can have samples from different threads. The result is that it only shows thread of the first sample of the entry. Filtering based on this incorrect info should be avoided IMHO. Thanks, Namhyung