diff options
| author | Namhyung Kim <namhyung@kernel.org> | 2026-05-10 13:23:44 -0700 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-05-14 14:48:32 -0700 |
| commit | be81aed3f7492caa522493f7c67b9c4d3c8924a6 (patch) | |
| tree | 1fa01cfd4bfdccf75ab6f0deac7d08afdf5bb122 /tools | |
| parent | ad2cd6f9def4899591a75a96f71752e3aadb7579 (diff) | |
| download | linux-next-be81aed3f7492caa522493f7c67b9c4d3c8924a6.tar.gz linux-next-be81aed3f7492caa522493f7c67b9c4d3c8924a6.zip | |
perf build: Add make check-headers target
Don't print header differences during the perf build as it's noisy.
Mostly people won't care and find it annoying.
As it's to improve perf trace beautifier to catch up new changes mostly
in UAPIs, we can make it a separate build target and call it
occasionally. Make it and build-test related targets phony.
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/perf/Makefile | 5 | ||||
| -rw-r--r-- | tools/perf/Makefile.perf | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile index 816d5d84816b..5b713837eede 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile @@ -111,6 +111,9 @@ build-test: build-test-tarball: @$(MAKE) -f tests/make REUSE_FEATURES_DUMP=1 MK=Makefile SET_PARALLEL=1 --no-print-directory out +check-headers: + @./check-headers.sh + # # All other targets get passed through: # @@ -118,4 +121,4 @@ build-test-tarball: $(print_msg) $(make) -.PHONY: tags TAGS FORCE Makefile +.PHONY: tags TAGS FORCE Makefile build-test build-test-tarball check-headers diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index cee19c923c06..585637fc934f 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -285,7 +285,6 @@ goals := $(filter-out all sub-make, $(MAKECMDGOALS)) $(goals) all: sub-make sub-make: fixdep - @./check-headers.sh $(Q)$(MAKE) FIXDEP_BUILT=1 -f Makefile.perf $(goals) else # force_fixdep |
