Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp148061lqo; Thu, 16 May 2024 01:56:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXp6xYVp8Hx9gIiSyLNGiVvPYIMtGgcmT/CyJI2Hmq7Ri4Pze2ECh6GU876etWRdUhAU0QNDsBImwuuDGoqbLxt2SzvKX3Zf3Qex47pBg== X-Google-Smtp-Source: AGHT+IEqbXxeupmvqRTl3DQL4AGH9rcna8Krtr5hlIRpr58QEYWWRxsT6AjKkQt+CAdVGqAmlw5D X-Received: by 2002:a05:622a:14cc:b0:43e:3d29:4325 with SMTP id d75a77b69052e-43e3d2945efmr14017241cf.7.1715849770125; Thu, 16 May 2024 01:56:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715849770; cv=pass; d=google.com; s=arc-20160816; b=GCH3+s+5/keyO3Xj+o5+qVRulpC7/UeDdqG+IR2XDRAbhRGWK1ysKkWXs/Q7H8Fdf8 W6HiWv7v4iscgeg0QomafH89XPLJMJQ8v4MeN7rDtdPAcdjieK29VDVIMVB0ikEMF+Ci xpvwq1G1zBC7g0c+yQr8TcCex+Ra8XUfsyWmgNhEC7QZDW0ZddnxydEm3vBFYLrPw3IV 67A8RpQyRV3jCEvAPrfwbWCtYf1Y7z7C0HJIFHuRsI10t33WbCJaX8G6SZr9bE68MPif BwnBprYGZWTA9gpNWf0K2ktltCrNt2BcgIUEyCpmkk6plvNTCwCV2d1+uaDSBw+gf5sB BBVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=WYc0nREg6SxlVfwtyPk0Du396L7WsSnC0Euj/0owYro=; fh=WzFxTBCdNdWRay5HeIH34P+FknCXYVvwx5KE1Q9WU+g=; b=GOMFTlTcU5Bh6JDZXeKZHutiqmDKjKJu5SvuXnL+XlLWib3DLolOnqOAXaBT7WaA6Z 7gZwP9zehHG6WbxGNes60HoK4O2nVLzDN2Eyw+ArnxyUBEu012CdTsqb4JP295VxXdyj WjGT+4Y5xzMKimH7OKeooJ3FvzrWVvGz+DssbL4VphUVMjEAIoSEuJFkcyYUoYiYGhJu UnWODESasKuYp7b5sFgGS20hJjc17vZ6D4PjR/cxSfb53YMJhW/m4FY4w0CIdZUq44Pe Y8UyTGrTQ18pJkB3yCagki9zr2rkt+NpsAkTkabB2zvrm3RECRvKy8DbXSGwcqqIu03/ kM+Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-180803-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180803-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43df56d46f2si156055701cf.694.2024.05.16.01.56.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 01:56:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180803-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-180803-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180803-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 D25051C22946 for ; Thu, 16 May 2024 08:56:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3405B14373D; Thu, 16 May 2024 08:55:57 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7A3A143738; Thu, 16 May 2024 08:55:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715849756; cv=none; b=GheFbpxvq/KsQHH3buA7Rvy/Ofh+IvZj8qIARHx6SWmQTFqD0gxBiu8hnFKyH5dy/Ggj1VH4u0ZE8zCAWlCbgTPz/XFwntnvSiNEOTlLpDtCC594JuHxbJpuvdKAFZlLbENlGSuU99Gke3GePQeAHY4I1gTrVkX7IzfzLgDJ2ng= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715849756; c=relaxed/simple; bh=yjsbqCiWki3Ghwx9X9Ee4DgPf+NUK2fSlGhg28sW7oM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=f1eaiZ2AWt9gGCnZy+s7SqGs5oIJgVQyHFKdKws63SNdlGNY/hXVWPqYrOVavi/F1s5MuOQG/JrGEhPFy47YdJW26wMHspmZ7p6PqlZnzpGBVyodPXTAjxz3eVmCWECRCLCy0lKaKWmiVPr5eXclz4olWo8XJndh87zPUJ//xuY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.arm.com; spf=none smtp.mailfrom=foss.arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.arm.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=foss.arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 961BBDA7; Thu, 16 May 2024 01:56:18 -0700 (PDT) Received: from [10.2.76.71] (e132581.arm.com [10.2.76.71]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B8CC73F7A6; Thu, 16 May 2024 01:55:52 -0700 (PDT) Message-ID: <55f6701e-9a37-4cce-b063-af6e1776245e@foss.arm.com> Date: Thu, 16 May 2024 09:55:51 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/2] perf maps: Improve the kcore maps merging To: Ian Rogers Cc: Arnaldo Carvalho de Melo , Adrian Hunter , James Clark , Peter Zijlstra , Ingo Molnar , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Athira Rajeev , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240515211045.377080-1-leo.yan@arm.com> Content-Language: en-US From: Leo Yan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Ian, On 5/15/24 22:39, Ian Rogers wrote: [...] > Thanks Leo, testing this change on perf-tools-next with an x86 debian > laptop I see: > ``` > $ perf test 24 -v > 24: Object code reading: > --- start --- > test child forked, pid 3407499 > Looking at the vmlinux_path (8 entries long) > symsrc__init: build id mismatch for vmlinux. > symsrc__init: cannot get elf header. > overlapping maps in [kernel.kallsyms] (disable tui for more info) > Using /proc/kcore for kernel data > Using /proc/kallsyms for symbols > Parsing event 'cycles' > Using CPUID GenuineIntel-6-8D-1 > mmap size 528384B > Reading object code for memory address: 0xfffffffface8d64a > File is: /proc/kcore > On file address is: 0xfffffffface8d64a > dso__data_read_offset failed > ---- end(-1) ---- > 24: Object code reading : FAILED! > ``` > The test passes without the changes. Let me know if you need me to dig deeper. I can reproduce this test failure at my side. I will look into it. Thanks for testing! Leo