From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by sourceware.org (Postfix) with ESMTPS id AB0613870C27 for ; Mon, 9 May 2022 12:17:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AB0613870C27 Received: by mail-lf1-x12f.google.com with SMTP id d15so14945671lfk.5 for ; Mon, 09 May 2022 05:17:37 -0700 (PDT) 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=LJdDTpINQkYiB0wprTKwgkNQ9A85gxfAC+t5QEN50AI=; b=0Z971jrEXQu1g7wSM1AWBtQbBBKx5Dab3h5ddxpVuvmiWOYduuHvTCuS9keBmx1IYJ wV2mSPsj0OUUpMPtoKU8lg2z1rBHFqQzg//xPhR77T79Q3/cs5aswlo0oDc6064Aujwa ejmE9THAPkoj/QpYOUzMPzvCTgnEROncAtwtWsAiyYIWR6Y9zOpvw65unTQGOCukfsF/ l3SWjbJaSuEGpWFMEPduNrswAGfyw+jVqUCESVLbaVXc5pm/iKcg8jU8ybKL0NP/RLWA MkB/HtDYoNykGRiMa3ScfuCVCt2cb60YofvdeAB76Bo0SJ57r0C3c+q6Tgdi/DSKFkyZ lVnQ== X-Gm-Message-State: AOAM5330pYE+azN2cWZAq7E+Ed0oUrKUWsPukmvcSPk66XN6sVC0Lrk+ UBex5j20V1ZhiKuIP9R0O8PqWI4TaG1SmQ== X-Google-Smtp-Source: ABdhPJzBamxq30H5IumWzwrcLRhts5t9oiBy1A+jSUs3g+LzBkttKQQDZDgJzHMDnPZoIN5UTrGR9Q== X-Received: by 2002:a05:6512:c03:b0:447:7912:7e6b with SMTP id z3-20020a0565120c0300b0044779127e6bmr12413749lfu.508.1652098655687; Mon, 09 May 2022 05:17:35 -0700 (PDT) Received: from google.com ([2a00:79e0:18:10:6ef7:912f:ff08:3b72]) by smtp.gmail.com with ESMTPSA id t10-20020a2e9c4a000000b002509fcb66b8sm1389866ljj.65.2022.05.09.05.17.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 05:17:34 -0700 (PDT) Date: Mon, 9 May 2022 14:17:30 +0200 From: "Steinar H. Gunderson" To: binutils@sourceware.org Cc: sesse@chromium.org Subject: Re: [PATCH v4] Add a trie to map quickly from address range to compilation unit. Message-ID: References: <20220422102512.2279635-1-sesse@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220422102512.2279635-1-sesse@google.com> X-Spam-Status: No, score=-18.9 required=5.0 tests=BAYES_00, DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2022 12:17:39 -0000 On Fri, Apr 22, 2022 at 12:25:12PM +0200, Steinar H. Gunderson wrote: > When using perf to profile large binaries, _bfd_dwarf2_find_nearest_line() > becomes a hotspot, as perf wants to get line number information > (for inline-detection purposes) for each and every sample. In Chromium > in particular (the content_shell binary), this entails going through > 475k address ranges, which takes a long time when done repeatedly. Hi, Any news on getting this pushed? /* Steinar */