Message ID | ec004e900e02c9c85cf8c89d4c26d4168a6c5d18.1699487758.git.jpoimboe@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b129:0:b0:403:3b70:6f57 with SMTP id q9csp141637vqs; Wed, 8 Nov 2023 16:54:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IHhchIqKu1b2GbmR91Y2157ZkbMRk9qzKZN/d6ZijK96s0hg3ot2oHvYB3nWApB3MG9CogY X-Received: by 2002:a0d:ead1:0:b0:59f:761a:fe70 with SMTP id t200-20020a0dead1000000b0059f761afe70mr3649447ywe.19.1699491251555; Wed, 08 Nov 2023 16:54:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699491251; cv=none; d=google.com; s=arc-20160816; b=iBhO0BxIMM/B6oVV24IfF8LmYGTQ0NmqfBP9mrDkZTrX6uKdgILjlioLAGJgsd5z8j ud0nVGMXboYBmh/kqodwjcx8qF0QpW1g3wciZSsoJ4BFzKfYM8Ajgfhl4KjnSEDEk0oF Ddjw6AoL+KgQkeFwWXd2zzDfR58RfU5l1xsslIQoLdLRsNTkFOR8zN8ZswXVrsVHx5BV XxbezjndyHuf/o9HCwmoqoE8uveh9LMKxviBS8fvQofACEi463Zqpf4ypKiC6mCF8hDq 9Lhi3RTpzDov7KTv6ngzGcwl0aWW/uBS8RQBkn/l+CZyRLJpQrH0Ou4DpIhQB6Nkwhf1 ajrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=aGc3PCcr31c0bw1i3WuMQh79mnrWB0cFlHSc76iJo3I=; fh=3ahOA1+93SqEqAeT96I/cgRVlate7pzd5ZZzl/6KbbU=; b=UUjvhCKOSqJW0AGSQNVy8zGWxpqZsV8HqbJjrpQAfY4zUJxE6sVExr1Ce7iDjzL6ex esd1FovI9v62qaWCjtFvO801GBsyEhBn7zC0NzfA7OEcJXfz4khl8JwIaamYtM3J1uIs Z2aoC1PPqp46VXaMmKmX0X7JcRbpoLRQl4Fb4dYABKcK9De0oSRBTowyWMrSizJySgwG MF+j51NsyxJLeDyIUlCgkFEA6vDumsZRpX1107V/7PYidQsL+7x2NK5n5OsEEPu95yWE PX3v8jWEV9iXxBCs8N4DvgwaY+mxpeVuBBlbtsHprabOX6qga5BewNBQBuGPec1Khrcv 0kbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mDPeGyqP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id m5-20020a6562c5000000b005b503f56f03si5594034pgv.827.2023.11.08.16.54.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Nov 2023 16:54:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mDPeGyqP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id AFF3382A7568; Wed, 8 Nov 2023 16:54:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231523AbjKIAyB (ORCPT <rfc822;jaysivo@gmail.com> + 32 others); Wed, 8 Nov 2023 19:54:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232382AbjKIAnz (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 8 Nov 2023 19:43:55 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59AAF26B3; Wed, 8 Nov 2023 16:43:46 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62139C43397; Thu, 9 Nov 2023 00:43:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699490626; bh=8NHcfWQYiDrY3TdwV6wLuh/GROrzM7rVN7CxC7jZJZk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mDPeGyqPNnU7PAB45cqEq79LGLRkEdObLZzQGAG1qfceKrjCHpMV31YkpCXB8L4xd hI8sCYhCTeKSiJLUlMpQlxAqX1UQ2ircgRL9k/nvMBFVMXmZ242juUtWiLFRRfC57t nIKxHGRLWRTyTRRH5lFbgf1mu4zylFPvtvIyRpCXU3WzLnIRu7Xre6IGQxEEyXHfNC z/5lUvuvfyuUi9FHRb8w3B82gHViUaaTKIq0qsO8wzC/MjyHX0PRjyTJpgxXGPiDO0 RbTm6Y/bDOGG0qDwpFLNTd39iVmQn1kqZJOqXg04VjAI5SzNQdlQfBOkdsQtJO6QZb GCl0JIyobKx2Q== From: Josh Poimboeuf <jpoimboe@kernel.org> To: Peter Zijlstra <peterz@infradead.org>, Steven Rostedt <rostedt@goodmis.org>, Ingo Molnar <mingo@kernel.org>, Arnaldo Carvalho de Melo <acme@kernel.org> Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Indu Bhagat <indu.bhagat@oracle.com>, Mark Rutland <mark.rutland@arm.com>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>, Ian Rogers <irogers@google.com>, Adrian Hunter <adrian.hunter@intel.com>, linux-perf-users@vger.kernel.org, Mark Brown <broonie@kernel.org>, linux-toolchains@vger.kernel.org Subject: [PATCH RFC 10/10] unwind/x86/64: Add HAVE_USER_UNWIND_SFRAME Date: Wed, 8 Nov 2023 16:41:15 -0800 Message-ID: <ec004e900e02c9c85cf8c89d4c26d4168a6c5d18.1699487758.git.jpoimboe@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <cover.1699487758.git.jpoimboe@kernel.org> References: <cover.1699487758.git.jpoimboe@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 08 Nov 2023 16:54:10 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782045738658098811 X-GMAIL-MSGID: 1782045738658098811 |
Series |
perf: user space sframe unwinding
|
|
Commit Message
Josh Poimboeuf
Nov. 9, 2023, 12:41 a.m. UTC
Binutils 2.40 supports generating sframe for x86_64. It works well in
testing so enable it.
NOTE: An out-of-tree glibc patch is still needed to enable setting
PR_ADD_SFRAME for shared libraries and dlopens.
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
---
arch/x86/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 95939cd54dfe..770d0528e4c9 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -279,6 +279,7 @@ config X86 select HAVE_UNSTABLE_SCHED_CLOCK select HAVE_USER_RETURN_NOTIFIER select HAVE_USER_UNWIND + select HAVE_USER_UNWIND_SFRAME if X86_64 select HAVE_GENERIC_VDSO select HOTPLUG_PARALLEL if SMP && X86_64 select HOTPLUG_SMT if SMP