Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1217927rdb; Fri, 9 Feb 2024 14:18:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGWL13V7oY8Quni44MkKivG4wZ6OQZbWGLsNn5d9qnCFQvxH+M4vbaYOaRLiStBver7eBpJ X-Received: by 2002:a05:620a:3183:b0:785:9b60:da63 with SMTP id bi3-20020a05620a318300b007859b60da63mr3884194qkb.35.1707517095731; Fri, 09 Feb 2024 14:18:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707517095; cv=pass; d=google.com; s=arc-20160816; b=jUUI/Bj/RVH2CaHoT3YP/EsVxVdrJQ2fmv9GDlLWNFZphqkYFs0qogTDDTdzUyfEjW XtLMUV7h3WcWd2Ephe1ThjjBhM00/StmnbkU06B1ukgx2zg/iQaPj8QeCSX8V5m90x9g rkmjS4CjfOIZsfczytlzu65DkZC8WV77gLZ60zOFkwZq85Hb+N0j1MuPgcD4VxOE4Lvh 0Dc7t0rUhBXjQFFmc5j5YMnzb29opEx+podKqc9siwoNVr0R/wDaLnTyDtoIGWG75dsb UtVzKalP/nk+6gKQWcFM1nenHc46VYWw+AB2r6i799Sks5CEbAPvMoFDxJVlS/GRHNfD Ijdw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=h/zAoGKU1EjdU4rlUI8FkvEY71lD7PHrkG8qQYsdT9M=; fh=AtCAx8YwW+LnIqKwqUKgB6wm8Y7EJCUS3mQHqZyZnng=; b=nOEqMV6pr2rpUhEjX5fcbNH4hg88x+MmrLn/FVZVRIpoMdDrnMP3kktj6CfsRIrO0r Jr9ztAgZiQ0k/wIHQ6H2RkSQXEr0Nb4TChZ5MvoRHT49OfrYFpqP0+YWOKlkBk1dPnLl 9pxmtzWyTu5h9FT2/pDIKsOH7SUkRlgd5cPuVq/2XeVLNZ/MVzZCUwcyjtTpD4M8jVr5 NNLIgugcUuxD2NDGLO5nxVZlJ4G6svIDgAJoLYiDESKIDabheKm7P/mjRy1dAlXZLnGx HQnMAR6yCTdUtBVAIdhBptpvuyZCU5WEYzmTy/qGmoadQBqc0X6M7TtwinjGyoTmYrFW tZtw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e10Jisck; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-60082-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60082-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCX9rSVO4+5BreINyQYqB1wC79EzUzMp+IE1WAi7dZALoppasYmpZYuyYcuw1CRAO1pLlObdtwv5zHwRksb+cOYFxDUTz2a63DGZHom61A== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h5-20020ac85845000000b0042c41b11b1asi2840246qth.695.2024.02.09.14.18.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 14:18:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60082-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e10Jisck; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-60082-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60082-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7B89C1C2199B for ; Fri, 9 Feb 2024 22:18:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1BC513A1C7; Fri, 9 Feb 2024 22:16:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="e10Jisck" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F1483A1AE; Fri, 9 Feb 2024 22:16:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707516974; cv=none; b=HIfkJ5n8oJ/D5oNY70pHKK8lveSdV5MDdtg5XraaEwehG/LVATfV7ScFnYbGUPesx+Lgrtx1vRHjC3qrmomYVZQtPX8KgKzQlhB0tQvSXqvLZ1/EcWr0S6tHXXvRy7JSFdAIxauxfZPS6Kqdtw8JiGwmtZqabVDopuXTpn++QZQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707516974; c=relaxed/simple; bh=dx0uTAcPvK5EaAlFfSoV6xr64M9844uNyE8l2N+7hGM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=SgHt9qf5YUkEmrr96p86pCmg9ku6kNNhyLOFXqSFu9iQ1gVE2ipwvrPu70QOeWBHOWwHxq4Z2Y/ODB+Thpd3YdKa/sJoRiXZ42sUtW0jU2Z4BDaFL30t0jh+NbfK3IUTKT0nqZn/j3vNem6Xqk17+QUZ2osyPQoEdgNiZlyiN2g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=e10Jisck; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7441DC43330; Fri, 9 Feb 2024 22:16:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707516973; bh=dx0uTAcPvK5EaAlFfSoV6xr64M9844uNyE8l2N+7hGM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e10Jisck0cSj/BUd92CiHK4hUvmXZfUjeGWSN2kn8kE2LtM+fmXbmxJ8wD4wvlP+S 4Orqd/ATY19ywgWM0s045GK84GPRqdJ/jBhVp8YMXEuMkGP+UHWnA43csVZuJ715p5 10waB5SKR2n46AX5XtHjiZQShDhSfUL0tk6TT0Lq0XNqZywv1IC04nV8E1LcIH1q6E TLq1irZb1DvmyAEKo5/3+C0yDqZ7XBEQOgKxG/Ftc2FnnqzjXxBbJw3t/I/7KqzROu lNAaDg3lreRlu11t5nFPV9KI80/e1UAwxAymFg22MPdtD117VdEtpYMNe31yfQV1mc 213+gO9cbM81g== From: Namhyung Kim To: Adrian Hunter , Arnaldo Carvalho de Melo Cc: Like Xu , Ian Rogers , Jiri Olsa , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V3 0/2] perf symbols: Slightly improve module file executable section mappings Date: Fri, 9 Feb 2024 14:16:10 -0800 Message-ID: <170751693770.1169242.13110612989281667030.b4-ty@kernel.org> X-Mailer: git-send-email 2.43.0.687.g38aa6559b0-goog In-Reply-To: <20240208085326.13432-1-adrian.hunter@intel.com> References: <20240208085326.13432-1-adrian.hunter@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Thu, 8 Feb 2024 10:53:24 +0200, Adrian Hunter wrote: > Currently perf does not record module section addresses except for > the .text section. In general that means perf cannot get module section > mappings correct (except for .text) when loading symbols from a kernel > module file. (Note using --kcore does not have this issue) > > Here are a couple of patches to help shed light upon and slightly improve > the situation. > > [...] Applied to perf-tools-next, thanks! Best regards, -- Namhyung Kim