Message ID | 20241026051410.2819338-1-xur@google.com (mailing list archive) |
---|---|
Headers | show
Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9350615B987 for <linux-kbuild@vger.kernel.org>; Sat, 26 Oct 2024 05:14:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729919659; cv=none; b=CJEnm5fJSrtdW4xhaNF8T3wLD2gbB6Fcckv/UAWrj2VijTETIM3kqFna9la4aQ3ungC14AlB+++Nzm4sWbxwYfIG/dqQQRVuQb6Mtjnalpv/wK+uvjHfXH65+S6AITxSm9WDTwj6jyVYQ2XnagnkAn3IXgl09KwEpQiucQtyfJs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729919659; c=relaxed/simple; bh=8jxnCa9bBnh0cUSNjwmOBKG3u5h44z/1CLU6uFISDKI=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=NbUsRTTmbfGL6d5bKnPF5Jxbq86TdaC5zNdHn4V5pN7SFjIMQIj4Ha4HseyjFk97Wxjj+xI5zdnYaacsZmieyPGPXEeNF16/+Of5nifEBJyWXtw516eM01kA4LTN8i4a6CG/nLGv1GBlR6VdJSz5rwdyMLreTgUmsGfSWixHnF4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--xur.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=LcGhaOYu; arc=none smtp.client-ip=209.85.219.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--xur.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="LcGhaOYu" Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-e28fdb4f35fso4521774276.0 for <linux-kbuild@vger.kernel.org>; Fri, 25 Oct 2024 22:14:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1729919654; x=1730524454; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:from:subject:message-id :mime-version:date:from:to:cc:subject:date:message-id:reply-to; bh=NpafRz12RMHb9cAnjjDqyyWVZC6gQUy/5u3D+YZnlos=; b=LcGhaOYutHazbzn2g8l0B8WxqB4a6k8zWtBZ3+B0ghZZkwsXKSEh4a7rIlIF5LxPnQ FCozytv6gOyA12jlU2wtbm43MWvsR0UuekU6aOVb3vl9tPh2t5HS8PkAhEZpUJYymqNl YsQdjfW5t+gr4NfkXiaLVJeKYMe67bx8dQZo2kPnZDy0iM7mHunG4jgJNZ7X1KXkD/Ap IwHg2mWjtRWzzbg7N5arkVK0NCBDGRbuNPmpFFAjd4nyCyot7b1R4fwZWJmYD4U1hfIC WX84UHEuDsjEtj08i9GzQgi5cTLSVmSClo4FxATfhw8GUsfTc1+kDL92ZrCfk0kjfQtr 1T2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729919654; x=1730524454; h=content-transfer-encoding:cc:to:from:subject:message-id :mime-version:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=NpafRz12RMHb9cAnjjDqyyWVZC6gQUy/5u3D+YZnlos=; b=ZMHEVtuXBMLIS8CohL6icHapVLPpDwlcrHnO0cQpJg8yaMDDsXUpIwBISv7ronOJcx MBx+klEPnAcG68PuUmNZ/JXyJyEwVU3ncrAYVTAY0GPdokMpx+OZ3YB1wSWiFqQhcyfk /00FKJqTjx3IYnXW1A71oINKug+pgU/8yKzl78exsqmdDVVKIj5ey8eOE79v7mg/ao2N vBZ+NAwKwpjv08iGAaCXnVWAdQsEZMXON81tF8xJl8cyH8k7DyXJYeNUWUq3QjG0qrXY aDGi3tMSY4cgO3N4cLYgYSVlkb3WNy+PJMfwENUGQpSXkeFlzj43XGvD0eZsml0lwl/h do/Q== X-Forwarded-Encrypted: i=1; AJvYcCW3EEBMOVJAdjr0CanCVaCYAj0ScmLz5SoK25tTl0F6iVOND2c/MHydewoBjl4Eyy6nb0X/0CuAepZHvNk=@vger.kernel.org X-Gm-Message-State: AOJu0Yx3fEoWe40K/b4Q5aLUdO6C8ncbK7gmcylSwcesNORAe/gouKzO pDxiu3A6w+DSlaMuq2L6sCVMBORdR0uSMZJAJNqHUiJ2Vii5gYCEEQgHIlaEkL8Mxg== X-Google-Smtp-Source: AGHT+IE7zs+5qn/XFmHpVTmO1EAjlj2/nUDZFw7Oohoteh4ZYKnOfvOJ45rgLepgiswFcMZ5wNEfWs4= X-Received: from xur.c.googlers.com ([fda3:e722:ac3:cc00:20:ed76:c0a8:2330]) (user=xur job=sendgmr) by 2002:a25:2d0b:0:b0:e28:f302:3582 with SMTP id 3f1490d57ef6-e3087a406damr1104276.2.1729919653984; Fri, 25 Oct 2024 22:14:13 -0700 (PDT) Date: Fri, 25 Oct 2024 22:14:02 -0700 Precedence: bulk X-Mailing-List: linux-kbuild@vger.kernel.org List-Id: <linux-kbuild.vger.kernel.org> List-Subscribe: <mailto:linux-kbuild+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kbuild+unsubscribe@vger.kernel.org> Mime-Version: 1.0 X-Mailer: git-send-email 2.47.0.163.g1226f6d8fa-goog Message-ID: <20241026051410.2819338-1-xur@google.com> Subject: [PATCH v6 0/7] Add AutoFDO and Propeller support for Clang build From: Rong Xu <xur@google.com> To: Alice Ryhl <aliceryhl@google.com>, Andrew Morton <akpm@linux-foundation.org>, Arnd Bergmann <arnd@arndb.de>, Bill Wendling <morbo@google.com>, Borislav Petkov <bp@alien8.de>, Breno Leitao <leitao@debian.org>, Brian Gerst <brgerst@gmail.com>, Dave Hansen <dave.hansen@linux.intel.com>, David Li <davidxl@google.com>, Han Shen <shenhan@google.com>, Heiko Carstens <hca@linux.ibm.com>, "H. Peter Anvin" <hpa@zytor.com>, Ingo Molnar <mingo@redhat.com>, Jann Horn <jannh@google.com>, Jonathan Corbet <corbet@lwn.net>, Josh Poimboeuf <jpoimboe@kernel.org>, Juergen Gross <jgross@suse.com>, Justin Stitt <justinstitt@google.com>, Kees Cook <kees@kernel.org>, Masahiro Yamada <masahiroy@kernel.org>, "Mike Rapoport (IBM)" <rppt@kernel.org>, Nathan Chancellor <nathan@kernel.org>, Nick Desaulniers <ndesaulniers@google.com>, Nicolas Schier <nicolas@fjasle.eu>, "Paul E. McKenney" <paulmck@kernel.org>, Peter Zijlstra <peterz@infradead.org>, Rong Xu <xur@google.com>, Sami Tolvanen <samitolvanen@google.com>, Thomas Gleixner <tglx@linutronix.de>, Wei Yang <richard.weiyang@gmail.com>, workflows@vger.kernel.org, Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>, Maksim Panchenko <max4bolt@gmail.com>, "David S. Miller" <davem@davemloft.net>, Andreas Larsson <andreas@gaisler.com>, Yonghong Song <yonghong.song@linux.dev>, Yabin Cui <yabinc@google.com>, Krzysztof Pszeniczny <kpszeniczny@google.com>, Sriraman Tallam <tmsriram@google.com>, Stephane Eranian <eranian@google.com> Cc: x86@kernel.org, linux-arch@vger.kernel.org, sparclinux@vger.kernel.org, linux-doc@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable |
Series |
Add AutoFDO and Propeller support for Clang build
|
expand
|
Hi Rong,
I tested this series by following the documentation added in the series
using Clang 19 and my standard distribution configuration on an Intel
platform with the combinations of
* AutoFDO
* AutoFDO + ThinLTO
* AutoFDO + Propeller
* AutoFDO + ThinLTO + Propeller
and I noticed no issues (it would be great to see create_llvm_prof
somewhere in LLVM upstream for ease of access but that's a small
complaint).
I did not do any real benchmarking to see if those combinations were
actually quicker but I think it is pretty clear from the cover letter
that any sort of gains are going to depend on the profiling and test
case so for time's sake, I did not bother.
Tested-by: Nathan Chancellor <nathan@kernel.org>
Cheers,
Nathan