Skip to content

RFC kbuild: create force-deps for fixdep for recordmcount

Steven Rostedt linux-kbuild lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kbuild: Add force-deps to fixdepscripts/Kbuild.include scripts/Makefile.build scripts/basic/fixdep.c+20 -50 replies
2/2ftrace/kbuild: Add recordmcount files to force full buildscripts/Makefile.build+2 -07 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC][PATCH 0/2] kbuild: create force-deps for fixdep for recordmcount

While doing a ktest patchcheck on several patches I've pulled, an update to recordmcount caused ftrace to fail. This is because ktest does a make mrproper for the first patch, but just uses the dependencies for the patches after that. But one of the patches modified both the way recordmcount worked, and what ftrace expected in the kernel. Since modification of recordmcount does not force updates to all object files, the expectation that ftrace had on the object files was incorrect and caused ftrace to fail.

This is an RFC to modify fixdep to allow addition of files that would be added as dependencies to all objects in the kernel.

Thoughts?

Steven Rostedt (2):
kbuild: Add force-deps to fixdep
ftrace/kbuild: Add recordmcount files to force full build

----

 scripts/Kbuild.include |    3 ++-
 scripts/Makefile.build |    6 ++++--
 scripts/basic/fixdep.c |   18 ++++++++++++++++--
 3 files changed, 22 insertions(+), 5 deletions(-)