Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2204501imm; Thu, 27 Sep 2018 09:01:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV63Kj4FIS/+xx5aimW6bETfNIWgq/g7/rKzs4xB+OAnlMmwlwfPOUWDODpgDJ2IK+Nnj8TzI X-Received: by 2002:a63:7744:: with SMTP id s65-v6mr11035956pgc.197.1538064102803; Thu, 27 Sep 2018 09:01:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538064102; cv=none; d=google.com; s=arc-20160816; b=cEp6Rf9lvK6xFQ5xFrt5aFz1Dd7y2bHs2MkS672dH6AOVFHmuexy38OpVm26qnzIa1 +lsLuEamjO47WShoqTh6GvOMaszaWMC8WTzZ9660k6zUA6Fro6cpnASDas2yDlLRHfs8 HKyhcs4BjlCN+HfWJsO8siZ7QOm8MMxUNnplFQR1iJxDkZUCaSXt8x7yAhhh96GZtuEA +Izvk2hU/XzhoKp44+ImLeRxMmYC+mbkILiKTZgDD3DEPCVAbS6QStFHhOzsZgSLNOnc 7uAV7QU1XHynAJ1S/HGgxGJAICERyJmMa5reaJQLCkWftnee3CONIFqAM8qovO+efdqI 1fJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=qlQPLyH878NoMXyeWiUVL5FyzHhhzBV+ST4vZzJ2Ovc=; b=Y81zB9afS4QOOxbpxgkBcsSohpKHaJNmV1aPDrL6X1D4gZ90UTUnCgLC8Rh82FwjpX 9lrY+qfr+nErjhUiJ8kZZ3ocScmf0s9vjElin/A9rMyOw+2xdj17sGSWpw5JAgRyMrgs lMWY9n2S0JUan6lWXbgkXaRJnY+wOvbiFUTNoOu0T8Tpx7Mihi8SS8KBQisujUlmj3na eq6tCuUcaCy31amLoWT479r2HR0yHaCPmBLWv4PvhwcNGoYG8N6vMFjkwVju/hbG0lCR I2GI0TFB810QSllhjlw0coLloSQmf9K4tgZEBiC0zd/tz+j4ufV+6GayLDSj0GYqRqL9 GsrA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1-v6si2377758pfe.150.2018.09.27.09.01.26; Thu, 27 Sep 2018 09:01:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728385AbeI0WTo (ORCPT + 99 others); Thu, 27 Sep 2018 18:19:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:8977 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727410AbeI0WTo (ORCPT ); Thu, 27 Sep 2018 18:19:44 -0400 Received: from smtp.corp.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 38EDD308FF30; Thu, 27 Sep 2018 16:00:49 +0000 (UTC) Received: from krava (ovpn-116-113.ams2.redhat.com [10.36.116.113]) by smtp.corp.redhat.com (Postfix) with SMTP id DDA1B3022846; Thu, 27 Sep 2018 16:00:45 +0000 (UTC) Date: Thu, 27 Sep 2018 18:00:42 +0200 From: Jiri Olsa To: Milian Wolff Cc: acme@kernel.org, jolsa@kernel.org, yao.jin@linux.intel.com, namhyung@kernel.org, Linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Sandipan Das Subject: Re: [PATCH 2/3] perf report: use the offset address to find inline frames Message-ID: <20180927160042.GA6916@krava> References: <20180926135207.30263-1-milian.wolff@kdab.com> <20180926135207.30263-2-milian.wolff@kdab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180926135207.30263-2-milian.wolff@kdab.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Thu, 27 Sep 2018 16:00:49 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 26, 2018 at 03:52:06PM +0200, Milian Wolff wrote: > To correctly find inlined frames, we have to use the file offset > instead of the virtual memory address. This was already fixed for > displaying srcline information while displaying in commit > 2a9d5050dc84fa20 ("perf script: Show correct offsets for DWARF-based > unwinding"). We just need to use the same corrected address also when > trying to find inline frames. > > This is another follow-up to commit 19610184693c ("perf script: Show > virtual addresses instead of offsets"). > > Signed-off-by: Milian Wolff > Cc: Sandipan Das > Cc: Arnaldo Carvalho de Melo Acked-by: Jiri Olsa thanks, jirka