Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1203418pxu; Mon, 23 Nov 2020 14:32:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJyf+CSlwWgBvMZ0czmXTguWdZaMgOGzP2V3O45zt4e/wGwd21nanCpzso74VtD2Sy0iKJXW X-Received: by 2002:a17:906:7698:: with SMTP id o24mr1539611ejm.447.1606170741742; Mon, 23 Nov 2020 14:32:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606170741; cv=none; d=google.com; s=arc-20160816; b=G4EVmev1uSXe9srO/KQr4uACrNvrlZkBxDlkq/1k/kYIZkW83ryHOG02BlqkJ9a3Xh HUOs/lgU4loXuCXz7xYP0o/kCtF8sv+WUlpixl6koZuM3t3eVOVMPxCqDa8b7Js7Dc8S 1U3C+pEHBz5cJkVXbqJtpn6D7hNrtFOorp3YIxI4XaJs969s2msMocNtyyENgtzkkLys fyTwziEWtL27hBmjSCaplpv2ZhhVo+iz3Iu93vIwx56HLl0juEZq+TZj7pLZhNmvBH9S U7TDpZiDjQj4CA5gXk7SkQCUTksH/B7J2A374DM7O4jp7eAkfWLajf+xj9k0B6EqNTvt ziAA== 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=o7dLfFtgRm9y3CEI8VoKW/G9H4I0NA/BgsiziAd56T0=; b=iVmtsKAuSuhnzLg3s4NC+GzWd++lDkTbzFn3z6OgyLARnwyZnHxs6oZZYDlWixfxJQ JM//iZbuXaimq4Ihe2zf3VR2NTY/r2bwpHE8ubrAeRQ54luX0P+v9uWKxUujxaYXvGUc F4I0k3TMWs3KttvvuzB04BAB9HXwSqlZx3LaaGvEP93HC4EigtQer54ZRssDn6zV3Z+6 jsaZk+l02EHE0mOr4PNMHWPYWYRCD6vScDVUhaYLAn483bro6w/XQTQtZ5O1Hz8aHVbo 3bBhLbOeSPzoN1EHMECvyR2t1wxHf99iFTpT/h0XWpOpbHjzxJcS8+vfSomCXRH+bvIc CXmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TKpzDrjE; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ho13si7142934ejc.11.2020.11.23.14.31.57; Mon, 23 Nov 2020 14:32:21 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=TKpzDrjE; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729529AbgKWW1M (ORCPT + 99 others); Mon, 23 Nov 2020 17:27:12 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:42695 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728895AbgKWW1M (ORCPT ); Mon, 23 Nov 2020 17:27:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606170430; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=o7dLfFtgRm9y3CEI8VoKW/G9H4I0NA/BgsiziAd56T0=; b=TKpzDrjETucAmcqiKG1pp+Sij57XiHxkw3MmDfmYONoOnTz4qTW1auxakg8eKT3S31VRKE rgquzCrURluFVcezP9c+XlggRLLYcbdRfPva68hGaQVemTn0v4rbNmbaECDYSLwfTgxF/H 481QAQ+rIdpGrEOuUUcOSOTBygTp6yQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-6-KeBH2hRiO7WzQIUoO-lTGA-1; Mon, 23 Nov 2020 17:27:07 -0500 X-MC-Unique: KeBH2hRiO7WzQIUoO-lTGA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0D58D5185; Mon, 23 Nov 2020 22:27:04 +0000 (UTC) Received: from krava (unknown [10.40.195.242]) by smtp.corp.redhat.com (Postfix) with SMTP id CF28810016FA; Mon, 23 Nov 2020 22:27:00 +0000 (UTC) Date: Mon, 23 Nov 2020 23:26:59 +0100 From: Jiri Olsa To: Ian Rogers Cc: Jiri Olsa , Arnaldo Carvalho de Melo , lkml , Peter Zijlstra , Ingo Molnar , Mark Rutland , Namhyung Kim , Alexander Shishkin , Michael Petlan , Song Liu , Stephane Eranian , Alexey Budankov , Andi Kleen , Adrian Hunter Subject: Re: [PATCH 22/24] perf buildid-cache: Add --debuginfod option Message-ID: <20201123222659.GA2088148@krava> References: <20201109215415.400153-1-jolsa@kernel.org> <20201109215415.400153-23-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 19, 2020 at 12:23:53PM -0800, Ian Rogers wrote: > On Mon, Nov 9, 2020 at 1:55 PM Jiri Olsa wrote: > > > Adding --debuginfod option to specify debuginfod url and > > support to do that through config file as well. > > > > Use following in ~/.perfconfig file: > > > > [buildid-cache] > > debuginfod=http://192.168.122.174:8002 > > > > Signed-off-by: Jiri Olsa > > --- > > .../perf/Documentation/perf-buildid-cache.txt | 4 +++ > > tools/perf/builtin-buildid-cache.c | 28 +++++++++++++++++-- > > 2 files changed, 29 insertions(+), 3 deletions(-) > > > > diff --git a/tools/perf/Documentation/perf-buildid-cache.txt > > b/tools/perf/Documentation/perf-buildid-cache.txt > > index b77da5138bca..0152d8b5cfbe 100644 > > --- a/tools/perf/Documentation/perf-buildid-cache.txt > > +++ b/tools/perf/Documentation/perf-buildid-cache.txt > > @@ -84,6 +84,10 @@ OPTIONS > > used when creating a uprobe for a process that resides in a > > different mount namespace from the perf(1) utility. > > > > +--debuginfod=URL:: > > + Specify debuginfod URL to be used when retrieving perf.data > > binaries, > > + it follows the same syntax as the DEBUGINFOD_URLS variable. > > + > > > > Acked-by: Ian Rogers > > Nit: the environment variable name hints at this being a list, perhaps > change URL:: above to URLs:: to keep this clear. true, will change that thanks, jirka