From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753102AbcD1P0i (ORCPT ); Thu, 28 Apr 2016 11:26:38 -0400 Received: from mail.kernel.org ([198.145.29.136]:35738 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752705AbcD1P0g (ORCPT ); Thu, 28 Apr 2016 11:26:36 -0400 Date: Thu, 28 Apr 2016 12:26:30 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: Kyeongmin Cho , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , linux-kernel@vger.kernel.org, Wang Nan , Adrian Hunter , Namhyung Kim Subject: Re: [PATCH 2/2] perf report: Add gcc option '-rdynamic' to define symbol callchain_param Message-ID: <20160428152630.GB3386@kernel.org> References: <1461848401-32125-1-git-send-email-korea.drzix@gmail.com> <1461848401-32125-2-git-send-email-korea.drzix@gmail.com> <20160428141216.GB17161@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160428141216.GB17161@krava> 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 Thu, Apr 28, 2016 at 04:12:16PM +0200, Jiri Olsa escreveu: > On Thu, Apr 28, 2016 at 10:00:01PM +0900, Kyeongmin Cho wrote: > > As libperf-gtk.so cannot find out undefined symbol 'callchain_param', > > '-rdynamic' option is needed to add the symbol to the dynamic symbol > > table. > > hi, > following command seems to work for me: > $ perf report --gtk > > could you please specify what's failing for you? I haven't tested this one, but I thought it was legit, as callchain_param is used in more places now, so perhaps you haven't updated the gtk.so thing that gets created with the perf gtk UI? - Arnaldo