From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F856C433F5 for ; Sun, 19 Dec 2021 13:04:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235697AbhLSNEv (ORCPT ); Sun, 19 Dec 2021 08:04:51 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:38057 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235694AbhLSNEv (ORCPT ); Sun, 19 Dec 2021 08:04:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639919090; 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=eXmHN81vfmm8jQ+V+OC16FdNhEz31y0+JZmjNOAeaus=; b=MUkWoDBbFbhi5nYtdQYTEWsHMkFYsYQgVJrLbMr6lWZek2Q5oa2Ky9bSmCR4Fw/P+NUWBr RzEk/ksyozt8os6KXEW5toKOCe8SqXYtTncx3weevC3BKN8sVXe0FwL3VhB222OQDbg8J1 TofO7vi66lhQPpsu4e+0EuiAZI8al/k= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-117-AferXSO4M2-6q-2lyAvgzQ-1; Sun, 19 Dec 2021 08:04:49 -0500 X-MC-Unique: AferXSO4M2-6q-2lyAvgzQ-1 Received: by mail-ed1-f71.google.com with SMTP id h7-20020a05640250c700b003f800db4193so5478458edb.1 for ; Sun, 19 Dec 2021 05:04:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=eXmHN81vfmm8jQ+V+OC16FdNhEz31y0+JZmjNOAeaus=; b=jtNELA8zSaA1gowIy+MVrIBU6T3p2JHjp8OnbWe75eMRqjziQpet+asLK1LCngqXmC IChoq4FYZ7g6S+qBiKabJTAFZBnDgW+kjYVF/MD//NywCHG1ob8u7TNgYbmi+4H68DW2 nQjTDsaGMs5S0ToJgXOG/ALaFuYlmspE9nabdbTkfIefwKG8XJdJiYtosxKoFL54aw/u JYKIDVu5Vuz85kxUM+CWK8B/nGtYYuzEOfp5PU1CMMFx6x8ct1vKPl3qdJlh9A8CFE2T HPTt5JaIvZ0E9DKgXjEuaCVetNth3A0xf3JNHzGBwbLHEizsZXHWblTOgYMWRg9/t/1T eidg== X-Gm-Message-State: AOAM533XEBSJ+qvx5YwfJGmp4ZQUXR1ZTV31yWJt+rPAY1xjL4dZKi8s O1xIFBYoiBzAkyb79+h95HSCbB6XL+AVcIFnb5GUFWYwQu4Z415xxFeVktDRCSMego4fw5Mb0q0 YYcm+gnDNTL3J6pw95PYhOH0wBkbn1g== X-Received: by 2002:a05:6402:849:: with SMTP id b9mr11128665edz.373.1639919088152; Sun, 19 Dec 2021 05:04:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJwuMSvCz6jgAqcDfr8JZ5Redg8BT9D2bwd830D7+OFEPcqMx3S2r88Rr14WTIghJYYLW8PS6g== X-Received: by 2002:a05:6402:849:: with SMTP id b9mr11128643edz.373.1639919087909; Sun, 19 Dec 2021 05:04:47 -0800 (PST) Received: from krava (nat-pool-brq-u.redhat.com. [213.175.37.12]) by smtp.gmail.com with ESMTPSA id dm7sm1422567edb.7.2021.12.19.05.04.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Dec 2021 05:04:47 -0800 (PST) Date: Sun, 19 Dec 2021 14:04:45 +0100 From: Jiri Olsa To: "Frank Ch. Eigler" Cc: Namhyung Kim , Arnaldo Carvalho de Melo , lkml , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Michael Petlan , Ian Rogers , linux-perf-users Subject: Re: [RFC] perf record: Disable debuginfod by default Message-ID: References: <20211209200425.303561-1-jolsa@kernel.org> <20211210165010.GA30236@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211210165010.GA30236@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org On Fri, Dec 10, 2021 at 11:50:10AM -0500, Frank Ch. Eigler wrote: > Hi - > > On Fri, Dec 10, 2021 at 01:23:32PM +0100, Jiri Olsa wrote: > > [...] > > at the end of the perf record we populate buildid cache > > with profiled binaries for the current perf.data > > > > **IF** there's DEBUGINFOD_URLS defined, that code will > > also ask debuginfod for binaries it could not find on > > the system > > Consider doing this only at the end of the run, and in the background, > just as a prefetch for the perf report step? The main downside there > could be if one runs many perf record jobs in close proximity, > overlapping larger prefetch download tasks. That might waste some > network traffic. right, IMO it's too much for default behaviour but I think could do this under new (config) option, if there's a need for that thanks, jirka