From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760228AbcCDV72 (ORCPT ); Fri, 4 Mar 2016 16:59:28 -0500 Received: from mail.kernel.org ([198.145.29.136]:35512 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759326AbcCDV71 (ORCPT ); Fri, 4 Mar 2016 16:59:27 -0500 Date: Fri, 4 Mar 2016 18:59:23 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , David Ahern , Andi Kleen , Stephane Eranian , Wang Nan Subject: Re: [PATCH v2 2/8] perf tools: Introduce perf_hpp__setup_hists_formats() Message-ID: <20160304215923.GA3604@kernel.org> References: <1457103582-28396-1-git-send-email-namhyung@kernel.org> <1457103582-28396-3-git-send-email-namhyung@kernel.org> <20160304215822.GZ3604@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160304215822.GZ3604@kernel.org> X-Url: http://acmel.wordpress.com 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 Em Fri, Mar 04, 2016 at 06:58:22PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Mar 04, 2016 at 11:59:36PM +0900, Namhyung Kim escreveu: > > The perf_hpp__setup_hists_formats() is to build hists-specific output > > formats (and sort keys). Currently it's only used in order to build the > > output format in a hierarchy with same sort keys, but it could be used > > with different sort keys in non-hierarchy mode later. > > After applying this one: > rebuild it with DEBUG=1, run it on gdb, press 'q' to exit 'perf top': > (gdb) run top --stdio --hierarchy > Program received signal SIGSEGV, Segmentation fault. > 0x000000000051632b in hists_evsel__exit (evsel=0x19b95b0) at util/hist.c:2143 > 2143 perf_hpp_list__for_each_format_safe(&node->hpp, fmt, pos) { > Missing separate debuginfos, use: dnf debuginfo-install bzip2-libs-1.0.6-19.fc23.x86_64 glibc-2.22-10.fc23.x86_64 libunwind-1.1-10.fc23.x86_64 nss-softokn-freebl-3.22.0-1.0.fc23.x86_64 numactl-libs-2.0.10-3.fc23.x86_64 perl-libs-5.22.1-350.fc23.x86_64 python-libs-2.7.10-8.fc23.x86_64 slang-2.3.0-4.fc23.x86_64 Please continue from acme/perf/core, the first patch is there already. Thanks, - Arnaldo