Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp661719lqb; Wed, 29 May 2024 07:09:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUTUA9K3qro+U7wuFuseo/BDhhc0p6rJ6JtAeG2BK/2U23YxRuDMjVlMLdZIzgcJslcdP6/6MnT8Vfc7MR+fnodANNQdU3TeBsiDsJv3g== X-Google-Smtp-Source: AGHT+IGzLl6rC0I8tb62WXqsREJYrElK0U3xZ1rJ3zz8D+3PTvpOykgHKEd+bmwH8N9z9yyn5QN0 X-Received: by 2002:a05:6a20:8411:b0:1af:d51a:1ba9 with SMTP id adf61e73a8af0-1b212cc7544mr16424378637.3.1716991751150; Wed, 29 May 2024 07:09:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716991751; cv=pass; d=google.com; s=arc-20160816; b=cOGv80ocY39vsGhO0123nB0iLHJpQzmcOlz8RVu1TbRBEC2TipxpFVvf2qK9BlHT56 gz1dZipY7bMiqCQuNOfivY74FNIYKigCdInNlHcxB3Jr4UeYJiqkuIu0tRNLruT3qqvA zPHaUOpa//bbd4Bknph2dSNKOrF9CmWHfwKgs1pinU7pc1e47wNcnruzJ3DgDx3FYowD ffkN/tWVa/bpDXaLj1bB1BUGhxylUJPvrk5D3BuzIMqKlWc6AiIKmXF0uEt8v57AkoRg zgcJvlhXhzoRdeqUHsQAtstVbV3K51iWNB5GvbJuk5mglGrvkWdijV7xa+sjiH4nFUGu vuhg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3+YfjDF0ef2v9C8NRcTVpuqQiMCKvTiJhRITtBvlk/E=; fh=4RoJHT5UweISTU3P4Is8T+9WwM1ioAyopenKTZEavZM=; b=L5TtkGojsBev32UDaZjU86BADDWdehXji2yxQaQV4AYpmNFYLFGIDyjIiYtxGf3k4j jt+bdZTQQd16MENvI/v4/a7x42I2ujZVCZWHFrtnDoQ1o/zqY/NmwcKRo71F6sWnfLgF /zwSp524SuOO6dpWdUDyEyRJZF/4R4BaG5JVnbigPsPay08Tp8qzkh0mqRZv1q7NUt09 xBY/hLoMPVG0GjqenKtOQSaABGDhzezLUNW1yUQ9n3MCpTHm4cxVv7PjQGkXmn5ygn66 GGLMqcT8Q2LO29duhPQyqdCdX+vR4K8OlMXgjOv52YvHC95J3r7Te3nw/fheMp8kmWNP SAvA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ct1xZNh+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-194209-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194209-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822b040c1asi10439737a12.819.2024.05.29.07.09.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 07:09:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194209-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ct1xZNh+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-194209-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194209-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BF8F8B277AB for ; Wed, 29 May 2024 13:53:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D68BC1BF54; Wed, 29 May 2024 13:53:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ct1xZNh+" 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 0B60118EBF; Wed, 29 May 2024 13:53:02 +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=1716990783; cv=none; b=fAOIn/Y29J4E4QRCYx8Q3neyl0lxMDYDE41h6gRc1r7KpclnkoQz0EU1VF22hzDJniFztN2OS3d3kdDjB0PqOGFYwSJDG5ZXzQbJ+3X4wflfKQVR4mh0n8zNmM88z6wVQy7NI56ebzywzxIufeHLRZQIfOK80N+0S4tXRiiVgIM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716990783; c=relaxed/simple; bh=HG1qwdrauwGJMJ/oA0LWphOoXDVfdosUPwm+vgiq+oQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=MgmpOItcPbwH53J2jeVEbhtTiSJ506SUATpg/1ujSrw4z47PiYlO35mlu656M5u7E52L3oj9fI6O3R1rW/8Tx8oF9URT7uKm+Go60DJG5aasX+wVwDU4GOzboYkwW3nuZAOJ25ZMbxG4LVJIcMe+7s4Giqy7ay3eZeqff7n1HY8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Ct1xZNh+; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E1C5C116B1; Wed, 29 May 2024 13:53:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716990782; bh=HG1qwdrauwGJMJ/oA0LWphOoXDVfdosUPwm+vgiq+oQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ct1xZNh+L9P9j7w4jiyfk5UCVDwcUslSnN81JH8uYFUyS1G5z1lzkB4NuCPMvM05r +pB24dhrSIlzYxtbODm3wzYzcV5gFdm0dB00VewMcnvNvLazFwoGe0vdnzV9JBdWRm LN/hhaIGYHqV/ZlkOh8nb5bBbLwZQhKmghBkgQBT3Bdb5AJPfAJPzStKk/nKSyYtzE rcKgUDiesy9BNn/6A73VntcASRDUET8wkZoD8HLzCQImkd2fSskl3ZAzTN/qlZIKJ7 FdupN2eVDJ3FfXgUJ8koE5mathxCOCM3AIGx20WmSoUQVwArMSnYTF8zdRgF0VmFPf 5wJ93/mBBLI/g== Date: Wed, 29 May 2024 10:52:59 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: "Steinar H. Gunderson" , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, irogers@google.com, Arnaldo Carvalho de Melo Subject: Re: [PATCH v7 1/4] perf report: Support LLVM for addr2line() Message-ID: References: <20240526182212.544525-1-sesse@google.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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, May 28, 2024 at 08:56:47PM -0700, Namhyung Kim wrote: > On Sun, May 26, 2024 at 11:22 AM Steinar H. Gunderson wrote: > > +#elif defined(HAVE_LIBBFD_SUPPORT) > Hmm.. it's unfortunate that we have only one addr2line > implementation at a time. Maybe we can do the same thing > like in annotate with objdump so that it can fallback to another > method when failing. But it'd require more changes beyond > this work and I'm not sure if it's really worth it. Right, I think we shouldn't delay processing these patches because of that, we can do it as follow up patches, both for fallbacks in case we can detect problems like we did with capstone -> objdump disasm and also to be able to compare outputs in 'perf test' shell scripts, discounting known/expected minor differences. - Arnaldo