Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2845410ybb; Fri, 27 Mar 2020 13:11:10 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvIhOX1TYL84XxUOOZuyWPW3DuY5BPlaM/u2nCdGesLpMtGqI8hq4/e2+tjlmbPwYnQQadj X-Received: by 2002:a9d:5789:: with SMTP id q9mr349324oth.288.1585339869938; Fri, 27 Mar 2020 13:11:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585339869; cv=none; d=google.com; s=arc-20160816; b=nZKweKeepF4oLh4OC0ANWj40Y2TpKmp7GnAl44cXjFwxUS3H6/ml0T6xFoOv0mM0gl KilIcqnvFPmbA6eTbCWRNa/VkZHzHDH8LJCQnuZOne9WhftdyfHliPRfT3PAXaBEznAT mvZ/BbYJVn4BKa93mY+CeINRUH3wa04qEh/30G9KUXRLIth11YcwwikAJa7yDEdkgnxy mPGfseGe/Cz2aeextln+c0mMxOIXgwn8Fub9GY5jOOtnMlvu8Pdf2nibxDnbVlEEih0+ n2iAv9kn7wRmlduX7vXC3SU7/PUOjq4NvqOGuuW0fyrsVCKihPClEe5act/XuWnO0egj nXdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=iUfRpQKYpEjBMA59tQozU/kAkIs8RvCkpQKsUqH/J+U=; b=SxJK0eNOVUX7g/d5TOCurk2rc0n/+i5FT2/Ppazbxhle6qlhWi77rJ0OFftSYZUj5+ 2h6y8sxlN3ezKIkDT3oJLTyc70sRN7KWR986vMu1potoO6KtquylJ1FKyxdNF2Tw9BRS 68f2B28w4GCG2R8hFN6JCHK8HhdRX+QkHPJMljHtl6i2jLPCn5oxET1qb1MvrT8zJc/z y+Y9xf6CDVAY1UfDyuDRo3fi05byEC5pfRAsB+7uKFqSyKp52ayF5QumDW9fTgY9uWTO n8H0HTXDO553L5q85aE5WtYGsWdLas1tszkJcGaA5W/R4r1/3ExsrCwUIIRoigEhHXYR toAQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b17si2852480otq.269.2020.03.27.13.10.56; Fri, 27 Mar 2020 13:11:09 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727548AbgC0UJl (ORCPT + 99 others); Fri, 27 Mar 2020 16:09:41 -0400 Received: from mx2.suse.de ([195.135.220.15]:42696 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726959AbgC0UJl (ORCPT ); Fri, 27 Mar 2020 16:09:41 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 04FC9AE1A; Fri, 27 Mar 2020 20:09:40 +0000 (UTC) Date: Fri, 27 Mar 2020 13:09:34 -0700 From: Tony Jones To: Paul Clarke Cc: linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf tools: update docs regarding kernel/user space unwinding Message-ID: <20200327200934.GB2715@suse.de> References: <20200325164053.10177-1-tonyj@suse.de> <38ba2caa-dadd-52c4-c6ea-5e01b7e59ee2@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <38ba2caa-dadd-52c4-c6ea-5e01b7e59ee2@us.ibm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 26, 2020 at 04:32:26PM -0500, Paul Clarke wrote: > > + and 'lbr'. The value 'dwarf' is effective only if libunwind > > + (or a recent version of libdw) is present on the system; > > + the value 'lbr' only works for certain cpus. The method for > > + kernel space is controlled not by this option but by the > > + kernel config (CONFIG_UNWINDER_*). > > Your changes are just copying the old text, so this isn't a criticism of your patches. > > Do we have information to replace "a recent version of libdw", which will quickly get stale? Hi Paul. The original "(libunwind or a recent version of libdw)" text was from Feb 2016. So a while ago. bd0419e2a5a9f requires >= 0.157 but this is for probing. 0a4f2b6a3ba50 specifies >= 0.158 but I see no mention of why in the commit but since it's from 2014 and elfutils is now at 0.178, I think it's safe to just remove the reference. As an aside, there is a lot of detail in perf-config.txt that's available in some of the other subcomands help files. Seems a good way for things to get stale. It could also do with some grammatical cleanup. Tony