Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1949435imu; Thu, 17 Jan 2019 06:03:32 -0800 (PST) X-Google-Smtp-Source: ALg8bN72FVW8AkJCAMcxQyK70y+Hx06n1Rbi4pGHpqhZaLrnC4z2rYV1qzywgMtbrTe3B1bDuDgR X-Received: by 2002:a62:1e87:: with SMTP id e129mr14955623pfe.221.1547733812785; Thu, 17 Jan 2019 06:03:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547733812; cv=none; d=google.com; s=arc-20160816; b=ThboP6IIjZ5ZuPDMs/zw/gof7Tl0vZSpBY8s7l0gFuc7OX+JLNgwY5hK+/R9rXWR3j fBar73K1CFHDEUyVQRDu1qtOODaQEDN6zKI6hgdYS9rDeDNzczBlyvGJ5FcHhifMpnfr 3vUeBGkMpEMly4wq6exUfUScgEM9PGmMe6GGB4tk64r1K5ksMCXmxBf/v0hA/vTBLIIJ UspJE3CxYnnmvme6AONk4A6hI0vOVxkI5+Rz6+64oKNhCFcI0xJcr4RSYHkO/f4gumgu We2O9VbQsw9wDow9k3KIReZccZMkim9pjxkD/Uzo18fu6J+PSBo6NLFS/BqLwEuWMHAc glTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=epCsIMw6oB8u3vDjVH0/xuHIbfbkh35I4SwL9lN7Cis=; b=NTPkOgocPumoGQXJKLGry51bmo5q9ibNQy4phDfo8iAGyPqSiHQWDjogDu0jxbFwRn iXT2AAoiAT7zGOkuvAnNCX/hXd+IeHwEmJIYIwpSiW8BWDLRa+LMhcn+eA9rbNd7lOv0 eE8GAXhPYRqUsM/MoD2d6cI+yK2eMI4V2SFiBI+mJ+amZjRNK0WcyDssC6Rr7gZm+2YR /8ndDmph+JRR80FtpnLQfvoCCT9P84BooXy87kNWcyoyxCGBAVSP3BdpH42wkZJX4qKF ceMtUJEMf5PGSJyyUolYyqx0aiCLfZBf9Ze/ZumIDqRwZSLCBAdYMpDl/ZcLz262IKK9 MjrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YFTT0O74; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3si1649014pgh.496.2019.01.17.06.03.12; Thu, 17 Jan 2019 06:03:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YFTT0O74; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726818AbfAQN0R (ORCPT + 99 others); Thu, 17 Jan 2019 08:26:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:36012 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725868AbfAQN0R (ORCPT ); Thu, 17 Jan 2019 08:26:17 -0500 Received: from quaco.ghostprotocols.net (unknown [190.15.121.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 236DE20657; Thu, 17 Jan 2019 13:26:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547731576; bh=yKvky8E4Nm1jthZwE/JbLv4cRdicncJi3szgaxFAUfM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YFTT0O74OpIilQM38QAPwcMcP612RCY7Iz0u39kX2d8K254ntUN9z4LAQkSvrurae AjaaJ0HwtKjn8a2QLRklqfOXvFVfuTkOqeARIuwug+yB/F6KrP5dVCg3JsWSGlMwPm lUbShHclpHmxG0qyWFyhA86iHPZ0PGtY8azOIrj0= Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 180D141AB5; Thu, 17 Jan 2019 10:26:13 -0300 (-03) Date: Thu, 17 Jan 2019 10:26:13 -0300 From: Arnaldo Carvalho de Melo To: Nick Clifton Cc: Namhyung Kim , Jiri Olsa , lkml , Ingo Molnar , Alexander Shishkin , Peter Zijlstra , Michael Petlan , Masami Hiramatsu , kernel-team@lge.com Subject: Re: [RFC] perf tools: Filter out hidden symbols from labels Message-ID: <20190117132612.GI11922@kernel.org> References: <20190115135354.11572-1-jolsa@kernel.org> <960f0b83-a623-67a6-ab55-d56139d10ba2@redhat.com> <20190115163540.GA20159@kernel.org> <20190116043735.GA31070@sejong> <35bf274a-f91e-1b4f-398a-dbe6f4105dfd@redhat.com> <20190116133117.GA2243@kernel.org> <20190116160422.GH2243@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Jan 17, 2019 at 10:25:24AM +0000, Nick Clifton escreveu: > Hi Arnaldo, > > >>> Humm, is -fno-omit-frame-pointer there by any chance? :-) > > > Would be interestint to have that info, as we could hint the user that > > backtraces should be done with something else than '--call-graph fp' :-) > > OK, well I have added the feature to annobin 8.67, now in Fedora > rawhide. Unfortunately it will take a while before the information > actually gets into binaries, since the new data is only recorded > when a package is rebuilt. So basically you are looking at Fedora 30 > at the earliest. That is not a problem, I have containers for rawhide, so I can just go ahead and do a podman pull + build, build some binary, and then add the feature, the warning will get into effect when that note is found and userspace callchains are used without DWARF info for such binaries. > If you want to see the plugin in action, build something on a rawhide > system (or a mock chroot) using the gcc command line option -fplugin=annobin. Right, that is what I'll do as soon as I get the time. > (Make sure that you have annobin-8.67 installed). Then once the binary > is built run "readelf --wide --notes | grep omit" to see the > omit-frame-pointer notes. Thanks for the hints, I'll get you CCed when I get to work on this. - Arnaldo