From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 1741F4A33F3 for ; Thu, 2 Jul 2026 13:43:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782999802; cv=none; b=ajHad2vY/9uELabEDvcDQoFZPqQ2R+JqK7DI/KMPzOK7y22WnDb5Q76qF8n++F5VZUjfwUbusJlW1OGz3Qd2nCA8bhZ/LdbcdVW4CHEBp4y4QOimcxIVoviQpXcej6r9iNMrYxcBaS3SnckuGDtyNisqncZ/ZsQlhKL50sHfIEo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782999802; c=relaxed/simple; bh=059Sgpkvr19sHrayqn7EdTrqkcsNUSuKUfN+RnozI38=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Hf2tIOaVR3qC/1SnqHFhbGa+sT2U3PkUsnu+PKhuzkB+I7fyV/9wzv5WNJ+kOPalD0hxm6f5xuWfhHCjGLcHcFI+4ICUowa63um5lSxmWl4U6URaIbQ/exMAL8KIpibc2ZL4CwJdM31W1Wt41/Nulad71J32Bnmq8TKLDREM5gc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=bow8Gq19; arc=none smtp.client-ip=209.85.221.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b="bow8Gq19" Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-473dc4cf238so1161952f8f.3 for ; Thu, 02 Jul 2026 06:43:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1782999797; x=1783604597; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=2ipKugtGaRqiVpTyYozYE/djPPJyYvvmbarq5DjbNW4=; b=bow8Gq19tjKSE6VRUV0fl12lvs6a55tWfk3b4JTMfkhF5D31Byp54a5SDK3STtuHjk LaFQqD7RRxyU674n4wvPpP7sjH2/SKaF8wsTFj2Y9yIrkFeMfV2aH+2joRsP8BI5W7J8 sjGjBBq8hnOBI/TGAKA6wzEiaHyHQssC2N1f9w2Wsn3mQkHGBgqLNeasQiTlS1YIRmqA 69Xhg/i3iBE30qExAP7tunwXKrzw4RuGEk5Y9GWoAgr11ljOFIIKq3iXlnoPLsw7MEE3 0PHVT6L5mwg1COATJjAGJuxNv9Ou8uxrJxkTY5P4eGEYT5Q8I40gPVL+r5RkrxnFMOgj zi0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782999797; x=1783604597; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2ipKugtGaRqiVpTyYozYE/djPPJyYvvmbarq5DjbNW4=; b=q9RNgxdPCHvXwgmcLkeQ3SQ52j8bGbKz4/tKoZ4aCXavL71VYP6zijym4JncDZ4wEE Gmz8e3wRzwb5O9Qa/BEAd2nbe7pRtuHob1JBt3QzuZI3rXqzOFIVB0aCN1r/DWFfreM+ V0ods131X8sO9lI9XdE6IGjoqyaWNFT0gzJGoZlh/vkwbgtui1eKEVfXe5/TLPl4a1Fi alBDWOc9jYm6M5Xz9k4+ay35dgorrdSEq79F5YA3RoTOtrr64qLOcsXzNBWsnWcaXp2q mxluuBY/+oRUzAyko7ezIS3C8ow1P0n0+tUeZVbX8ED9SJ0R3zD4dDv7j+SrFhzdIoPA jhRw== X-Forwarded-Encrypted: i=1; AHgh+Rr6o+bfJxpbtpNSpxpvt824/TGQnUpVUHBNwPFIfksbv6IBpZ05T3RNN8vT3TYlyjI+45NdM6WBhN3VtDQAitrO6eE=@vger.kernel.org X-Gm-Message-State: AOJu0YzeD1gohg4uPBOrnMiqijlNuUR78s9AwPRbwxNm63luoR9WBqYf rqsOcbq3ltJWM7qLSD/SEPGY/JNblm6PjRXKzgGRhiOxG7JpVc05rwLvtoi52rrJ2Ug= X-Gm-Gg: AfdE7clMXRFIo0SDowYps8Mkcx67EWDmFPtqlXaO0xj4fve4FOD49OWwxBRT5fgDILa n0nUPdl95TiWwfmo1VRYwwbPban6OFw7Ts7ezw3q3fjjVeGOhPBwwgQ4+U3C6p8aicHylcOpRkD byLBpmiwEcjBMlloHoxF4gwC1owx658aROFg7v+ldOSDdKK1ug1HsCDokOxVZ9RzgR2E1sd/ot3 z7nR8HlvuQyC2KDJrsFKhpzlFBD/AgwtStL6QmgIu+zm+2wNUnIezp9EMqcV6wvP3cLl6xcJzuP /KJivDOcB0p/GE7erTT7AZQW7aaYhnAlI5DF2je6C4j8SIbn+3gCwHbx1Oa8VExFEYWkUYj01h8 x/OLZA2PrC+RjG6wa+/XCiuSAoyyNJUvFXS8XwhnKaM1GGJmAjUhK7D9rtd32Khuabb/sg0Qir3 yKYZhFnfcw3MVc1NwR2TgASkZkhDl17iNyaxgX5rnrtizZOrbYxbFfBVx/Tse47IhaRRb9V9vA8 oIe X-Received: by 2002:a05:6000:290e:b0:462:e086:35f with SMTP id ffacd0b85a97d-477588e7d35mr9467489f8f.21.1782999797471; Thu, 02 Jul 2026 06:43:17 -0700 (PDT) Received: from localhost (p200300f65f47db04bdb9899c6dd79ae8.dip0.t-ipconnect.de. [2003:f6:5f47:db04:bdb9:899c:6dd7:9ae8]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-477db3dbb01sm9190047f8f.1.2026.07.02.06.43.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jul 2026 06:43:16 -0700 (PDT) Date: Thu, 2 Jul 2026 15:43:14 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Linus Torvalds , Sebastian Andrzej Siewior , John Ogness , Thomas Gleixner , Peter Zijlstra , Julia Lawall , Yury Norov , regressions@lists.linux.dev Subject: Re: [PATCH v3 2/2] tracing: Remove trace_printk.h from kernel.h Message-ID: References: <20260624081806.120105649@kernel.org> <20260624081948.301578807@kernel.org> Precedence: bulk X-Mailing-List: linux-trace-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="eimzpvi5zp6g4d27" Content-Disposition: inline In-Reply-To: <20260624081948.301578807@kernel.org> --eimzpvi5zp6g4d27 Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v3 2/2] tracing: Remove trace_printk.h from kernel.h MIME-Version: 1.0 Hello, On Wed, Jun 24, 2026 at 04:18:08AM -0400, Steven Rostedt wrote: > From: Steven Rostedt >=20 > There have been complaints about trace_printk.h causing more build time > for being in kernel.h. Move it out of kernel.h and place it in the headers > and C files that use it. >=20 > Link: https://lore.kernel.org/all/CAHk-=3DwikCBeVFjVXiY4o-oepdbjAoir5+TcA= gtL12c4u1TpZLQ@mail.gmail.com/ >=20 > Suggested-by: Yury Norov > Acked-by: Masami Hiramatsu (Google) > Signed-off-by: Steven Rostedt This patch became commit 9cbc3d9806d3 ("tracing: Remove trace_printk.h =66rom kernel.h") that currently is in next via https://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trac= e/fixes =2E It creates a build regression for an ARCH=3Darc allmodconfig build: CC lib/test_context-analysis.o In file included from include/linux/local_lock_internal.h:8, from include/linux/local_lock.h:5, from lib/test_context-analysis.c:9: include/linux/local_lock_internal.h: In function =E2=80=98local_lock_acqui= re=E2=80=99: include/linux/lockdep.h:541:87: error: =E2=80=98_THIS_IP_=E2=80=99 undecla= red (first use in this function) 541 | l) lock_acquire_exclusive(l, 0, 0, NULL, _THIS= _IP_) | ^~~~~= ~~~~ include/linux/lockdep.h:509:88: note: in definition of macro =E2=80=98lock= _acquire_exclusive=E2=80=99 509 | re_exclusive(l, s, t, n, i) lock_acquire(l, s, t, 0, 1, = n, i) | = ^ include/linux/local_lock_internal.h:46:9: note: in expansion of macro =E2= =80=98lock_map_acquire=E2=80=99 46 | lock_map_acquire(&l->dep_map); | ^~~~~~~~~~~~~~~~ include/linux/lockdep.h:541:87: note: each undeclared identifier is report= ed only once for each function it appears in 541 | l) lock_acquire_exclusive(l, 0, 0, NULL, _THIS= _IP_) | ^~~~~= ~~~~ include/linux/lockdep.h:509:88: note: in definition of macro =E2=80=98lock= _acquire_exclusive=E2=80=99 509 | re_exclusive(l, s, t, n, i) lock_acquire(l, s, t, 0, 1, = n, i) | = ^ include/linux/local_lock_internal.h:46:9: note: in expansion of macro =E2= =80=98lock_map_acquire=E2=80=99 46 | lock_map_acquire(&l->dep_map); | ^~~~~~~~~~~~~~~~ include/linux/local_lock_internal.h: In function =E2=80=98local_trylock_ac= quire=E2=80=99: include/linux/lockdep.h:542:87: error: =E2=80=98_THIS_IP_=E2=80=99 undecla= red (first use in this function) 542 | try(l) lock_acquire_exclusive(l, 0, 1, NULL, _THIS= _IP_) | ^~~~~= ~~~~ include/linux/lockdep.h:509:88: note: in definition of macro =E2=80=98lock= _acquire_exclusive=E2=80=99 509 | re_exclusive(l, s, t, n, i) lock_acquire(l, s, t, 0, 1, = n, i) | = ^ include/linux/local_lock_internal.h:53:9: note: in expansion of macro =E2= =80=98lock_map_acquire_try=E2=80=99 53 | lock_map_acquire_try(&l->dep_map); | ^~~~~~~~~~~~~~~~~~~~ include/linux/local_lock_internal.h: In function =E2=80=98local_lock_relea= se=E2=80=99: include/linux/lockdep.h:545:65: error: =E2=80=98_THIS_IP_=E2=80=99 undecla= red (first use in this function) 545 | fine lock_map_release(l) lock_release(l, _THIS= _IP_) | ^~~~~= ~~~~ include/linux/local_lock_internal.h:62:9: note: in expansion of macro =E2= =80=98lock_map_release=E2=80=99 62 | lock_map_release(&l->dep_map); | ^~~~~~~~~~~~~~~~ make[5]: *** [scripts/Makefile.build:289: lib/test_context-analysis.o] Err= or 1 make[4]: *** [scripts/Makefile.build:549: lib] Error 2 make[3]: *** [Makefile:2184: .] Error 2 make[2]: *** [Makefile:372: __build_one_by_one] Error 2 make[1]: *** [Makefile:248: __sub-make] Error 2 make[1]: Leaving directory '/home/uwe/work/kbuild/arc' make: *** [Makefile:248: __sub-make] Error 2 #regzbot introduced: 9cbc3d9806d3 Best regards Uwe --eimzpvi5zp6g4d27 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmpGau8ACgkQj4D7WH0S /k60mQf8DafTZ+RrM8iDR9Rps1Uq1SVO0/K+QKgsTcIoZGtz/2p/6sUenHyWfzyk I0/CaOrCjB6uJW7Qtf9LLr094QwXlcyDxLKJWXZzPSFAPM3rLSnmKXC7OL8o8Wo+ RFZ3o6CSwUUogCviA79eH5Ld6GgN6KOjpeTqF1mmvVPoiXlw379FNgXblkHKFLJ3 HOfVuexp5xg+K2i1N9DSPk7UbfF/jIbKBMHSvF1pU12vjiq3/fVd0uuW5SjULP5h 3qmQwZt9/jbLZgpHYBMp38wQcEB300pjw+mJ2Wpirxi21/vgQB/bcUg7J6gpLh02 F4Me2/KLpnQSUNOSpFmstcg5Potmvg== =oLO5 -----END PGP SIGNATURE----- --eimzpvi5zp6g4d27--