Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp887898pxt; Fri, 6 Aug 2021 17:03:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUOzCo5OIKUkt2cAWddF3LEErPR7M0Ro6yFPPpKy4UpuCTxcK38FvF6twr/yXGAqtJk2Mo X-Received: by 2002:a05:6638:43:: with SMTP id a3mr11845101jap.133.1628294615802; Fri, 06 Aug 2021 17:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628294615; cv=none; d=google.com; s=arc-20160816; b=VifKLL7OZ7CLXGhBI28dE8aDM6qTHwluMwB1ydwyFs4WCO0KuI0QPa8nz9y4AogkqQ GHyg36pTHjcP3B5/G8fyfAz4WQVQr8OXzm1VKRtZrXjH6k6eRkVKtOXrv+G5fVyOq808 3YYHz11OUuMrc9++C2ty9uzoqehchOtx0nE5wGENjKgzX/DHEblY+d6v0t7Gm7fYDpEl pWHuiyOxc+otxm2QVBRMJgV7c+jK7W+vQ1+UF+BbJx7zlELkPDyK5T3phW5kec0sljU1 OiXscY/vmANG7Wj00X7vcb7fJTJIJ2mr4+wJnHihwA4C6aCJYBT2FfgNhrc52UU9u2iE AT7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VdApc292+AxEwIerFHCStlTOS1wabsJkQOWiwG4B1v4=; b=VRUFuXjaToMQk5R08wCmfjtpPltPKucxwoCD9IPHfz3wAWN1iqO5355cqmy60zqtnh f4lxEywdu3a96a2h8HlGYcX0I+x/6X7Lf+x4Yo3ZFlsUJhvWIc5dCum6+/YHq4z8JAPW ONLUlq34lCsM5G05FmY/nY9Ygtk7BDXUbBYa/F8uZ60anbcg0B9xPzO0zrA7ZCkHD3LF yA8UZozEp6Ie8o4FP7n/pM9WmejnbCxzb+ZtRHZ1KiKz6luAjM9d11kQ8IvBlfDIP8jJ VncZE9ZLUsTG9/hvXwjdUfzcj+jntyg9t/JrFEVcGsw+GiB853QsPQQdM2eYz5a2uELz LX+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b0dcrqEe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id z9si11115679jat.41.2021.08.06.17.03.25; Fri, 06 Aug 2021 17:03:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b0dcrqEe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S243173AbhHFSg5 (ORCPT + 99 others); Fri, 6 Aug 2021 14:36:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:43024 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231889AbhHFSg4 (ORCPT ); Fri, 6 Aug 2021 14:36:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id F34D061050; Fri, 6 Aug 2021 18:36:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628275000; bh=7kLgMLAVZMaJQW537DPU6fs5U4Fhrbh8Tm4DF6ri2dQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=b0dcrqEet9R8gwt+oDL0E0Qj0oqZQcdhtOl7MuumECaoK5Kp//8beIqZw4I95Gigp +Gm7N3EVsRSZwRKDkmjD0i1zMtNLEK85NwaxaxtLzfR9cinwd/5Fhg2VdXL+S22kHQ RR294vVfhE8cJoFEDDRBaEJzPwSsIMXseYADtL5+rAS8trGtaZiWFAS1aZ6guIFTW4 ZbDRhjWLsAsHE8uI60vTF9K5Nh0egokV3OwK06/cE0y47lmVZ1vV0peqG9ac6jKQ1P Oco1bav07uN5vNZ+1/gT2pCwWT/61IB5iraAMgwwFa5nHz1RfhF8q3LyC7xp42e1jL h5x8Rmo33sW1A== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 44EE9403F2; Fri, 6 Aug 2021 15:36:37 -0300 (-03) Date: Fri, 6 Aug 2021 15:36:37 -0300 From: Arnaldo Carvalho de Melo To: James Clark Cc: Leo Yan , mathieu.poirier@linaro.org, coresight@lists.linaro.org, linux-perf-users@vger.kernel.org, suzuki.poulose@arm.com, mike.leach@linaro.org, Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , John Garry , Will Deacon , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [RFC PATCH 6/6] perf cs-etm: Add warnings for missing DSOs Message-ID: References: <20210729155805.2830-1-james.clark@arm.com> <20210729155805.2830-7-james.clark@arm.com> <20210802154145.GC148327@leoy-ThinkPad-X240s> <20210803140122.GC247709@leoy-ThinkPad-X240s> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Aug 05, 2021 at 01:59:49PM +0100, James Clark escreveu: > > > On 03/08/2021 15:01, Leo Yan wrote: > >> one can also use debuginfod-client, which, as time passes, probably will > >> be the main way of finding DSOs now that we have build-ids in > >> PERF_RECORD_MMAP2 and debuginfod servers such as: > >> > >> export DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/ > > If so, maybe should use more general description for missing DSO. > > > >> https://fedoraproject.org/wiki/Debuginfod > >> > >>> With this improvement, the patch looks good to me: > >>> > >>> Reviewed-by: Leo Yan > >> Does this apply to the other 5 patches in this series? > > I finished to reivew patches 01, 04, 05, 06/06, so my review tag can > > apply on these patches. Current patch 06/06 needs James to improve for > > the comments. > > Thanks for the reviews, I've submitted v2. > > I also had a play around with debuginfod, it looks promising. > Especially if it's integrated with perf report, which I assume is the plan? Yeah, code is needed for that in the underlying symbols library so that we can tune its usage, i.e. the threshold of samples to trigger asking for the auto-download of debuginfo files. - Arnaldo