linux/tools/build
Ian Rogers c5429ac2d1 tools build: Fix timerfd feature detection with clang
Clang's uninitialized-const-pointer warning causes a feature test to
fail when building perf with clang. This disables support for 'perf
kvm stat live'. Add default initialization to new_value as a
workaround.

  test-timerfd.c:15:30: error: variable 'new_value' is uninitialized when passed
			       as a const pointer argument here
			       [-Werror,-Wuninitialized-const-pointer]
     15 |         if (timerfd_settime(fd, 0, &new_value, NULL) != 0)
        |                                     ^~~~~~~~~
  1 error generated.

Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20260910213907.3206529-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2026-09-12 17:22:18 -03:00
..
Documentation
feature tools build: Fix timerfd feature detection with clang 2026-09-12 17:22:18 -03:00
tests License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Build tools build: Fix fixdep dependencies 2025-10-14 14:45:20 -07:00
Build.include tools build: Fix rust cross compilation 2026-03-04 11:37:30 -03:00
fixdep.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile perf build: Fix perf build issues with fixdep 2025-10-23 09:53:49 +02:00
Makefile.build tools build: Make in-target rule robust against too long argument error 2026-03-04 11:21:48 -03:00
Makefile.feature tools: Port perf ui from GTK 2 to GTK 4 2026-09-09 17:00:04 -03:00
Makefile.include tools build: Correct bpf fixdep dependencies 2024-08-05 12:19:48 -03:00