Thread (36 messages) 36 messages, 9 authors, 2025-12-03

Re: [PATCH 3/3] tracing: move tracing declarations from kernel.h to a dedicated header

From: david laight <hidden>
Date: 2025-12-01 10:17:32
Also in: intel-gfx, linux-modules, lkml

On Mon, 1 Dec 2025 04:50:42 +0200
Andy Shevchenko [off-list ref] wrote:
On Sun, Nov 30, 2025 at 11:09:25PM +0000, david laight wrote:
quoted
On Sun, 30 Nov 2025 21:44:46 +0200
Andy Shevchenko [off-list ref] wrote:  
...
 
kernel.h elimination (in the form it exists right now) is very fruitful.
However, you may help with the (say) ioctl.h or whatever you consider
really fruitful, we all will thank you (no jokes).
This is the first #include path for ioctl.h

In file included from ../include/asm-generic/ioctl.h:5,
                 from ./arch/x86/include/generated/uapi/asm/ioctl.h:1,
                 from ../include/uapi/linux/ioctl.h:5,
                 from ../include/uapi/linux/random.h:12,
                 from ../include/linux/random.h:10,
                 from ../include/linux/nodemask.h:94,
                 from ../include/linux/numa.h:6,
                 from ../include/linux/cpumask.h:17,
                 from ../arch/x86/include/asm/paravirt.h:21,
                 from ../arch/x86/include/asm/irqflags.h:102,
                 from ../include/linux/irqflags.h:18,
                 from ../include/linux/spinlock.h:59,
                 from ../include/linux/swait.h:7,
                 from ../include/linux/completion.h:12,
                 from ../include/linux/crypto.h:15,
                 from ../arch/x86/kernel/asm-offsets.c:9:

Get past that and sched.h => processor.h => cpuid/api.h also
gets you to paravirt.h.
I suspect a lot of headers get pulled in like that.

	David
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help