On Sat, Apr 06, 2024 at 06:35:21PM +0200, Zhu Yanjun wrote: > Got your point. There are about more 130 header files that define pr_fmt in > the kernel include directory. And these header files are included one > another. Is there any tool to clarify the including relationship between > these header files? No tool I am aware of, but if headers define it then they should be local to a subsystem and never included outside it. Such as what rxe is doing. Ideally they would be private headers not under include/ Jason