Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1814380rwb; Fri, 12 Aug 2022 07:17:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR4ET+i8xH6I4ltohvsdabv+oQVbpSz8xNhuiffDGgQr/PpPNdoDDiuYwrVrmvHXp+UYm6CT X-Received: by 2002:a63:8243:0:b0:422:b70e:7542 with SMTP id w64-20020a638243000000b00422b70e7542mr895251pgd.10.1660313826103; Fri, 12 Aug 2022 07:17:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660313826; cv=none; d=google.com; s=arc-20160816; b=IqBnkbaa13aEZiPCV/lDQgdQv8niMYiWwAQTirbTfzb1lh8Cv/sZn8FNIHs7dJ6jat pzmx5IAQ1LwFDveOuuWyO4OyC5AFfGL4iM3qIaqbaM5772/Pi6CDUcopQ2e/HzXiABzj YwAgum3hxQpT6HrRKGK7H3H05fHWAONEIbzTpso8M4OFrsU6lOWCkiUJfgA0zgCZYet2 0ls2h5vNXXUHs9EGZ4R4ZFoPD3w6pypnIJ/1uHhhHWtx6XtN2GX7s7I3+HVAksYX7sZG vjRKyhdlgUgRr58ymxHibRGRTn9l3YNu8lKVAPSUziy0kJWgYzHhCnB3l12t7oPudMoA Ko9Q== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=nHd5xUbV0rXWa2E8RSPHPHQyFDAj32EPc1M+0B7TgsM=; b=O2YTbu/J2C+MmVNxf+vQOp/ra+3SIA5/o+ppd4LE3Jbxe2D1TD/ikMsNtmydEU8MFd VE8tiGdMAEo7snnfjm5EiePXuP105wyF+iKkaEJku1ZOl83DIMQ5PXT3m4MAnnlpY3uo djhdrIK6vEIzVv3IkMjTB00SOsOycyMYHSZLfDk8jKbQ3hAb0ymO4vl8mlmwKgKLgKy2 np8hO8Gy6poN9MiPAnuNaQMgFxVODgPipaWLAlzqgfQSoP6BqKOLYwvUjZGCEK79tarq rUMTV/vT5QXjaER7H0vXP9bu7qYECNoT5ex9CgvBXC5+lGNxoFEaw0NOFNAQzZEnrInK qNgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PHfRVx8n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k73-20020a62844c000000b00528a45a239fsi2366756pfd.273.2022.08.12.07.16.52; Fri, 12 Aug 2022 07:17:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PHfRVx8n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S236116AbiHLNY4 (ORCPT + 99 others); Fri, 12 Aug 2022 09:24:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232434AbiHLNYz (ORCPT ); Fri, 12 Aug 2022 09:24:55 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC54491083; Fri, 12 Aug 2022 06:24:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9E3F1B82438; Fri, 12 Aug 2022 13:24:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35BFBC433C1; Fri, 12 Aug 2022 13:24:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660310690; bh=YUlrJqV7OXDl0VwFu2JPlNjExMew8te/RhYglmsalYw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PHfRVx8n4zP2uuRfW8ZvQd6cxz4DngbJJzM+oFUaKToIZDr9SzgHbKy3mArN+4UiF KEv0RzI8VNULwIhIW0lYELftoWwPdHws4bljRMlot/26sQuUauaOt3x4x/K+QJNMzo WIRdS67JKCVdVX6pri5kHN+5x2jw1qL7Bne2ix45kVvkRXPCPu4QHBc2IM41sWBlq5 4PifvPMCrjXYpDbsRYcFjADIlUXLXPdeYzmMszmvvwKTSBO7FTUOZXto6VHxsQkRCi m7pP62WA9L26qO8BBTKavohU6aFxSiM2KQhPi171sZUe5smsYQoP6OthCiyIl03vBd CygdbU9DYgu8A== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 03C7E4035A; Fri, 12 Aug 2022 10:24:47 -0300 (-03) Date: Fri, 12 Aug 2022 10:24:47 -0300 From: Arnaldo Carvalho de Melo To: Martin =?utf-8?B?TGnFoWth?= Cc: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: Re: [PATCH] perf: Print debuginfod queries if -v option is used Message-ID: References: <2983e2e0-6850-ad59-79d8-efe83b22cffe@suse.cz> <325871cf-b71f-6237-8793-82182272ece8@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <325871cf-b71f-6237-8793-82182272ece8@suse.cz> X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Aug 12, 2022 at 01:43:53PM +0200, Martin Liška escreveu: > When ending a perf record session, the querying of a debuginfod > server can take quite some time. Inform a user about it when > -v options is used. Thanks, applied. - Arnaldo > Signed-off-by: Martin Liska > --- > tools/perf/util/build-id.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/tools/perf/util/build-id.c b/tools/perf/util/build-id.c > index 0cc68cdd84c8..d1cfce0613ee 100644 > --- a/tools/perf/util/build-id.c > +++ b/tools/perf/util/build-id.c > @@ -653,7 +653,9 @@ static char *build_id_cache__find_debug(const char *sbuild_id, > > #ifdef HAVE_DEBUGINFOD_SUPPORT > if (realname == NULL) { > - debuginfod_client* c = debuginfod_begin(); > + debuginfod_client* c; > + pr_debug("Downloading debug info with build id %s\n", sbuild_id); > + c = debuginfod_begin(); > if (c != NULL) { > int fd = debuginfod_find_debuginfo(c, > (const unsigned char*)sbuild_id, 0, > -- > 2.37.1 -- - Arnaldo