From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) (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 F36652F745D for ; Wed, 24 Jun 2026 16:06:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782317204; cv=none; b=IpvB0OCDnpMqoTgmtJwv7Q0I3hfUjF9rzJ8Xmq2blP0opGEc43YrqkLS/eIjbeiWwzIvgAwIpXNWj8NP0TKjeYebg6qVmA4wk3p69FPzWJFpQHJxn38KvZo//D9IERXdzc48afY382yWcAutPlpc+yQZdoyafQLECHv/UKL1uiU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782317204; c=relaxed/simple; bh=HYgL9G4BdGhjV8K2xNZxTbAEnkg2v25tRnyLrKh72EU=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=iRXCGKojblC5MNdxd2WExpxgSJELqSKGY/3WrWv/wDega/Xb33vwIferzfhZpUlO1pETEZTIhBpDJdDmLa/u03+F4s1REMqghzErbo/FxI66/cE4QWhx832BIYeYSXW2ok3DDz9OeYHq7dZiIi2Gzo04Z3U08nfAmDmeZBC1euc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=goodmis.org; spf=pass smtp.mailfrom=goodmis.org; arc=none smtp.client-ip=216.40.44.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=goodmis.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=goodmis.org Received: from omf20.hostedemail.com (lb01a-stub [10.200.18.249]) by unirelay04.hostedemail.com (Postfix) with ESMTP id E2D421A02D0; Wed, 24 Jun 2026 16:06:34 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: rostedt@goodmis.org) by omf20.hostedemail.com (Postfix) with ESMTPA id 704E720027; Wed, 24 Jun 2026 16:06:31 +0000 (UTC) Date: Wed, 24 Jun 2026 12:06:28 -0400 From: Steven Rostedt To: Linus Torvalds Cc: LKML , Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Sebastian Andrzej Siewior , John Ogness , Thomas Gleixner , Peter Zijlstra , Julia Lawall , Yury Norov Subject: [GIT PULL] tracing: More updates for 7.2 Message-ID: <20260624120628.72751cd8@fedora> X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-redhat-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Server: rspamout01 X-Rspamd-Queue-Id: 704E720027 X-Stat-Signature: ks1ctoue9augxfcztr8kipxqukg4i3yg X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Session-ID: U2FsdGVkX199br/8LcQwhNtxdCMmdEL0UkNFJsl2hvc= X-HE-Tag: 1782317191-666708 X-HE-Meta: U2FsdGVkX1+H/t5bFvqPOCduAdcmdYzgAC5QirXI2dpQ5VQzYjqbPCd8mtMLWLyY92U414iK2zSbwhRUkacocrtGSXN4+OGz/1J5GfGcAh8HU6NKEf9RvC134Z84z0vygP+i7ckNF1VE34AO0/DRMHHuuQ/9qcKmXMJNhmuZdtKO5JQBWkpuAz4lOYv42HSRgz/5yGyJgaVzcVjc7TmeCkFYP98fuk4yAmPgwOOwvNjT8xhWKTfi/Fhc6FH8EJoP0ehARUnw5FBlnboBNDqcRLjVsl4Fp9xxzdsOwijxQtUy5IbLbqoORnvwZeNLDmIKRPz5tkPAAoMODQtecJm2L7i4C4iqCiTa Linus, More tracing updates for 7.2: - Move non-trace_printk() functions into trace_controls.h Several tracing controls and output function prototypes were included in kernel.h. When trace_printk.h was created, all of them were moved from kernel.h into trace_printk.h. Several of those functions have nothing to do with trace_printk() but instead are used to start, stop tracing as well as trigger stack traces into the tracing buffer or dump it to the console. Create a new header called trace_controls.h and move these functions into that file from trace_printk.h. - Remove the include of trace_printk.h from kernel.h. Instead of having trace_printk.h indirectly included in all files of the kernel for debugging purposes, require trace_printk.h to be included on a per file bases when it is needed. The locations in the kernel that reference trace_printk() now have a direct include of trace_printk.h. Note, I applied and tested this on your latest commit from yesterday to make sure it works and I didn't miss other possible use cases that needed the includes. Please pull the latest trace-v7.2-2 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace-v7.2-2 Tag SHA1: 38ba0725f41b26abf4295138c02653d2372a8e26 Head SHA1: 9cbc3d9806d31abda2718ceac587ddee3a04849b Steven Rostedt (2): tracing: Move non-trace_printk prototypes into trace_controls.h tracing: Remove trace_printk.h from kernel.h ---- arch/powerpc/kvm/book3s_xics.c | 1 + arch/powerpc/xmon/xmon.c | 1 + arch/s390/kernel/ipl.c | 1 + arch/s390/kernel/machine_kexec.c | 1 + drivers/gpu/drm/i915/gt/intel_gtt.h | 1 + drivers/gpu/drm/i915/i915_gem.h | 2 ++ drivers/hwtracing/stm/dummy_stm.c | 1 + drivers/infiniband/hw/hfi1/trace_dbg.h | 1 + drivers/tty/sysrq.c | 1 + drivers/usb/early/xhci-dbc.c | 1 + fs/ext4/inline.c | 1 + include/linux/ftrace.h | 2 ++ include/linux/kernel.h | 1 - include/linux/sunrpc/debug.h | 1 + include/linux/trace_controls.h | 54 ++++++++++++++++++++++++++++++++ include/linux/trace_printk.h | 56 ++-------------------------------- kernel/debug/debug_core.c | 1 + kernel/panic.c | 1 + kernel/rcu/rcu.h | 2 ++ kernel/rcu/rcutorture.c | 1 + kernel/trace/ring_buffer_benchmark.c | 1 + kernel/trace/trace.h | 1 + kernel/trace/trace_benchmark.c | 1 + lib/sys_info.c | 1 + samples/fprobe/fprobe_example.c | 1 + samples/ftrace/ftrace-direct-too.c | 1 - samples/trace_printk/trace-printk.c | 1 + 27 files changed, 83 insertions(+), 55 deletions(-) create mode 100644 include/linux/trace_controls.h ---------------------------