Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp867830pxv; Thu, 1 Jul 2021 11:04:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyg9tLwBux1oLn2JAr8LZ+ERbzdXjtAaXonc1RVZKQlE7UrBlx1lQ/DF7rxmnEgQi8+6Q5u X-Received: by 2002:a17:906:4f91:: with SMTP id o17mr1211535eju.219.1625162691265; Thu, 01 Jul 2021 11:04:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625162691; cv=none; d=google.com; s=arc-20160816; b=j+ryB09C/fAsy1OGcbgJPEkr1zs8Mk1iSCDdvjkBRzgb+T/o8fY+PLUnVLj5uEGPuU nu4S18wEVuLvrjMUXOdJpLfImobumDH9j7fpIE+KzkJ4hXayUJ/tqivAPddvOW+NpvxG vDsqtjVzbyIr6qDZAYhiRn8IG1Dm7BrpnBvHWkbYkPbn+dKkCKaAmBxojd6AOXgBCzsW RJTJZa9TD9QCjle0Egjo9H2Mbod9Cd6+UelDnV+iqv7yKjzjoWAxd9DnA4t2iOUCpfdu fb6V6Kgpv1/QJv9oMd8k40qmgQEskCMUi4GgNKv3YUnGXvD+9Qs3MW2tj2B5G0WVnNC9 Sydw== 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=KeNb2hwORwvpVKbEo3oQn/LKnduYtIMfIFhB1PYSZNU=; b=FUgK1/1n7Yu1IUtLVizpr1d0ildi1OkE5jOsr73Jc8ZF68tQFvpwg/B7Po022D4j/Y Inb/DZ5EzIYHJSkGDEvBEtgwvAIdsf4OMXnYGJxUMnSioccAg4cz2Gm1PWOYlrTwk/Dv NIvSKOfxww0rwRhdEePflOLzGrsZQTzL/SRvya3UTZogZ+Y/t+cRh0DGdzTOZkJ67O53 7nh5qOpUF4FGZzFoQp3BqDbSh1L9zNvzOaNffyRWDpvnYIlclfQxKsxqEW84o8VaPpzP Wh2yWnyTYitK7VP2G0SdgxTYS+NnS/kEfvuRFqXeRr+Zg96Ss61DRPWuPcNrQXH5jDWp KHCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J5ViUQVs; 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 h1si699729ejo.462.2021.07.01.11.04.26; Thu, 01 Jul 2021 11:04:51 -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=J5ViUQVs; 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 S233554AbhGASFo (ORCPT + 99 others); Thu, 1 Jul 2021 14:05:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:34228 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233289AbhGASFo (ORCPT ); Thu, 1 Jul 2021 14:05:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2D5DD61417; Thu, 1 Jul 2021 18:03:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625162593; bh=eBef7UYGwVG2VJSwniI+dg3s1oug80U03mwQG161Yco=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=J5ViUQVsLV06jcs85c68IALmlehGXj4v8ccKbnew4cffkv9gM65OHwqMAc8FoKKau rJUUj+Eo/jqPa91vm15gRxdf2w6A5Y2JmTwhMvy9Nq+12cJ2YuSXb1xH070JI7ucnt IKeLChHD/EgpSOlwhWKBFfPyh0CtyRQQqaKdcJmQG2y4N4aEfqOUkC5smZ1vz4krWd vOTPRo5GIcV9PEghaYAbXZpsRF547w6UU0oCRnwMqCrUMhF/o3fVbLuqqDzf8cJgI1 sdTrTPJxsxHDIs0/IIs7lZ3UKG7QsXuWRv92NZR+rr3A3sSnaHpD1IDYZYJhqsBiuM VCJBroCyghdbw== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 22A1B40B1A; Thu, 1 Jul 2021 15:03:10 -0300 (-03) Date: Thu, 1 Jul 2021 15:03:10 -0300 From: Arnaldo Carvalho de Melo To: Ian Rogers Cc: Riccardo Mancini , Namhyung Kim , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Martin Liska , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] perf annotate: allow 's' on source code lines Message-ID: References: <20210624223423.189550-1-rickyman7@gmail.com> 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 Tue, Jun 29, 2021 at 08:00:31AM -0700, Ian Rogers escreveu: > On Fri, Jun 25, 2021 at 8:53 AM Riccardo Mancini wrote: > > On Thu, 2021-06-24 at 22:37 -0700, Ian Rogers wrote: > > > On Thu, Jun 24, 2021 at 3:37 PM Riccardo Mancini wrote: > > > comment nit, perhaps prefer "closest" rather than "next" due to > > > searching backward. > > > > The backward search is just a fallback in case the forward one finds no asm > > line, which I believe is unlikely. Maybe it's also impossible, but I don't > > really know how those lines are generated, so I put a fallback in place. > > Furthermore, "closest" would imply that a previous asm line could be chosen over > > a subsequent one if closer, even if the latter is present. > > > > Thanks, > > Riccardo > > Agreed, thanks for thinking about this. > > Acked-by: Ian Rogers Thanks, applied. - Arnaldo