aboutsummaryrefslogtreecommitdiffstats
path: root/tools/build
AgeCommit message (Expand)AuthorFilesLines
2 daysMerge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/bp...Mark Brown1-0/+2
3 dayslibbpf: Add __NR_bpf definition for LoongArchTiezhu Yang1-0/+2
2026-05-15tools build: Deduplicate test-libunwind for different architecturesIan Rogers10-170/+29
2026-04-18Merge tag 'perf-tools-for-v7.1-2026-04-17' of git://git.kernel.org/pub/scm/li...Linus Torvalds1-2/+8
2026-04-15Merge tag 'trace-rtla-v7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds3-0/+15
2026-03-26tools build: Correct link flags for libopensslLeo Yan1-2/+8
2026-03-04tools/build: Add feature test for libcheckCosta Shulyupin3-0/+15
2026-03-04tools build: Fix rust cross compilationDmitrii Dolgov1-0/+9
2026-03-04tools build: Make in-target rule robust against too long argument errorChangqing Li1-2/+4
2026-02-12tools build: Fix feature test for rust compilerDmitrii Dolgov2-8/+6
2026-02-10tools build: Emit dependencies file for test-rust.binDmitry Dolgov1-1/+1
2026-02-10tools build: Make test-rust.bin be removed by the 'clean' targetDmitrii Dolgov1-0/+1
2026-02-09tools build: Fix rust feature detectionArnaldo Carvalho de Melo1-2/+1
2026-02-08perf test workload: Add code_with_type test workloadDmitrii Dolgov1-0/+14
2026-02-08tools build: Add a feature test for rust compilerDmitrii Dolgov3-2/+15
2026-01-06perf build: Feature test for libbfd thread safety APIJames Clark3-0/+23
2026-01-06perf build: Remove unused libbfd-buildid feature testJames Clark3-13/+0
2025-12-27tools build: Fix the common set of features test wrt libopensslArnaldo Carvalho de Melo1-1/+1
2025-12-17tools/build: Add a feature test for libopensslNamhyung Kim4-4/+22
2025-12-07Merge tag 'perf-tools-for-v6.19-2025-12-06' of git://git.kernel.org/pub/scm/l...Linus Torvalds4-19/+0
2025-12-01Merge tag 'objtool-core-2025-12-01' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds3-3/+24
2025-11-21tool build: Remove annoying newline in build outputAlexandre Chartre1-1/+3
2025-11-13tool build: Remove __get_cpuid feature testIan Rogers4-19/+0
2025-11-13perf build: Don't fail fast path feature detection when binutils-devel is not...Arnaldo Carvalho de Melo1-2/+2
2025-10-23perf build: Fix perf build issues with fixdepJosh Poimboeuf1-2/+0
2025-10-14tools build: Fix fixdep dependenciesJosh Poimboeuf2-2/+23
2025-10-06perf build: Correct CROSS_ARCH for clangLeo Yan1-1/+1
2025-10-06tools build: Align warning options with perfLeo Yan1-2/+2
2025-10-03tools build: Remove libbpf-strings feature testIan Rogers3-15/+0
2025-10-03tools build: Remove feature-libslang-include-subdirIan Rogers2-11/+0
2025-10-03tools build: Remove get_current_dir_name feature checkIan Rogers4-21/+0
2025-10-02tools build: Don't assume libtracefs-devel is always availableArnaldo Carvalho de Melo2-6/+0
2025-09-19tools build: Make libperl opt-in rather than opt-out, deprecateIan Rogers2-9/+3
2025-06-26tools: Remove libcrypto dependencyYuzhuo Jing4-36/+0
2025-06-24perf build: The bfd features are opt-in, stop testing for them by defaultArnaldo Carvalho de Melo1-19/+0
2025-06-20perf build: detect support for libbpf's emit_strings optionBlake Jones3-0/+15
2025-06-09tools/build: Remove some unused libbpf pre-1.0 feature test logicIan Rogers2-27/+0
2025-04-10tools build: Don't show libbfd build status as it is opt-inArnaldo Carvalho de Melo1-2/+0
2025-04-10tools build: Don't show libunwind build status as it is opt-inArnaldo Carvalho de Melo1-1/+0
2025-04-10tools build: Don't set libunwind as available if test-all.c build succeedsArnaldo Carvalho de Melo1-1/+0
2025-03-31Merge tag 'perf-tools-for-v6.15-2025-03-27' of git://git.kernel.org/pub/scm/l...Linus Torvalds9-9/+13
2025-03-27Merge tag 'trace-tools-v6.15' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-1/+5
2025-03-26tools/build: Use SYSTEM_BPFTOOL for system bpftoolTomas Glozar1-1/+1
2025-03-24tools/build: Don't pass test log files to linkerIan Rogers1-1/+5
2025-03-04tools/build: Add bpftool-skeletons feature testTomas Glozar2-1/+5
2025-02-18tools: Unify top-level quiet infrastructureCharlie Jenkins1-7/+1
2025-02-12tools build: Fix a number of Wconversion warningsIan Rogers8-8/+8
2025-01-16perf tools: Expose quiet/verbose variables in Makefile.perfCharlie Jenkins1-20/+0
2025-01-10perf tools: Remove dependency on libauditCharlie Jenkins2-15/+0
2025-01-09perf tools: Create generic syscall table supportCharlie Jenkins1-0/+2
2024-12-18tools build: Add feature test for libelf with ZSTDLeo Yan4-0/+18
2024-12-18tools build: Test for presence of libtraceevent and libtracefs in test-all.cArnaldo Carvalho de Melo1-0/+10
2024-12-13tools build feature: Don't set feature-libslang-include-subdir=1 if test-all....Arnaldo Carvalho de Melo1-1/+0
2024-12-12tools build feature: Don't set feature-libcap=1 if libcap-devel isn't availableArnaldo Carvalho de Melo2-3/+1
2024-12-12tools build feature: Add some comments to explain the FEATURE_TESTS logicArnaldo Carvalho de Melo1-0/+35
2024-12-11tools build: Remove the libunwind feature tests from the ones detected when t...Arnaldo Carvalho de Melo1-7/+0
2024-12-09tools features: Don't check for libunwind devel files by defaultArnaldo Carvalho de Melo1-5/+0
2024-11-26Merge tag 'perf-tools-for-v6.13-2024-11-24' of git://git.kernel.org/pub/scm/l...Linus Torvalds9-87/+69
2024-11-22Merge tag 'trace-tools-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds3-0/+13
2024-11-08perf build: Include libtraceevent headers directly indicated by pkg-configYicong Yang1-1/+1
2024-10-18perf probe: Move elfutils support check to libdw checkIan Rogers1-1/+9
2024-10-18perf build: Combine test-dwarf-getcfi into test-libdwIan Rogers4-15/+9
2024-10-18perf build: Combine test-dwarf-getlocations into test-libdwIan Rogers5-25/+13
2024-10-18perf build: Combine libdw-dwarf-unwind into libdw feature testsIan Rogers5-26/+18
2024-10-18perf build: Rename test-dwarf to test-libdwIan Rogers4-14/+14
2024-10-17tools/build: Add libcpupower dependency detectionTomas Glozar3-0/+13
2024-10-02perf build: Fix build feature-dwarf_getlocations fail for old libdwYang Jihong1-0/+3
2024-10-02perf build: Fix static compilation error when libdw is not installedYang Jihong1-1/+1
2024-09-10perf build: Remove unused feature test targetJames Clark2-7/+0
2024-09-10perf build: Autodetect minimum required llvm-dev versionJames Clark3-1/+24
2024-09-03perf report: Support LLVM for addr2line()Steinar H. Gunderson1-0/+1
2024-08-29Revert "tools build: Remove leftover libcap tests that prevents fast path fea...Arnaldo Carvalho de Melo2-1/+25
2024-08-28tools build: Remove leftover libcap tests that prevents fast path feature det...Arnaldo Carvalho de Melo2-25/+1
2024-08-15tools build: Provide consistent build options for fixdepAlexander Gordeev1-1/+1
2024-08-14perf build: Fix up broken capstone feature detection fast pathArnaldo Carvalho de Melo1-4/+0
2024-08-05tools build: Correct bpf fixdep dependenciesBrian Norris1-1/+11
2024-08-05tools build: Avoid circular .fixdep-in.o.cmd issuesBrian Norris2-12/+2
2024-07-30Merge tag 'perf-tools-fixes-for-v6.11-2024-07-30' of git://git.kernel.org/pub...Linus Torvalds1-10/+43
2024-07-26perf: build: Link lib 'zstd' for static buildLeo Yan1-1/+1
2024-07-26perf: build: Link lib 'lzma' for static buildLeo Yan1-8/+8
2024-07-26perf: build: Only link libebl.a for old libdwLeo Yan1-1/+11
2024-07-26perf: build: Setup PKG_CONFIG_LIBDIR for cross compilationLeo Yan1-1/+24
2024-07-23Merge tag 'perf-tools-fixes-for-v6.11-2024-07-23' of git://git.kernel.org/pub...Linus Torvalds1-0/+18
2024-07-17tools: Make pkg-config dependency checks usable by other toolsGuilherme Amadio1-0/+18
2024-06-21perf build: Use pkg-config for feature check for libtrace{event,fs}Guilherme Amadio1-1/+1
2024-06-21tools: build: use correct lib name for libtracefs feature detectionDaniel Wagner2-2/+2
2024-02-20perf: build: introduce the libcapstoneChangbin Du4-0/+21
2023-11-27perf cs-etm: Bump minimum OpenCSD version to ensure a bugfix is presentJames Clark1-2/+2
2023-11-10perf build: Add feature check for dwarf_getcfi()Namhyung Kim3-0/+14
2023-10-30Merge tag 'perf-tools-fixes-for-v6.6-2-2023-10-20' into perf-tools-nextNamhyung Kim1-0/+14
2023-10-19tools build: Fix llvm feature detection, still used by bpftoolArnaldo Carvalho de Melo1-0/+14
2023-10-18tools/build: Fix -s detection code in tools/build/Makefile.buildJiri Olsa1-1/+9
2023-09-09Merge tag 'perf-tools-for-v6.6-1-2023-09-05' of git://git.kernel.org/pub/scm/...Linus Torvalds6-76/+14
2023-08-15perf bpf: Remove support for embedding clang for compiling BPF events (-e foo.c)Ian Rogers4-70/+0
2023-08-03perf build: Update feature check for clang and llvmThomas Richter1-6/+4
2023-08-03perf build: Update build rule for generated filesNamhyung Kim1-0/+10
2023-07-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2023-07-11perf build: Fix broken feature check for libtracefs due to external lib changesThomas Richter1-1/+1
2023-06-29bpf: Replace deprecated -target with --target= for ClangFangrui Song1-1/+1
2023-04-04tools build: Add a feature test for scandirat(), that is not implemented so f...Arnaldo Carvalho de Melo4-0/+23
2023-03-14tools build: Add feature test for abi::__cxa_demangleIan Rogers3-0/+22
2023-03-14perf build: Remove libbpf pre-1.0 feature testsIan Rogers8-64/+0
2023-03-14tools build: Pass libbpf feature only if libbpf 1.0+Ian Rogers1-0/+4
2023-02-03tools build: Add test echo-cmdIan Rogers1-0/+1
2022-10-25perf bpf: Fix build with libbpf 0.7.0 by checking if bpf_program__set_insns()...Arnaldo Carvalho de Melo3-0/+13
2022-10-04tools build: Display logical OR of a feature flavorsRoberto Sassu1-2/+25
2022-10-04tools build: Increment room for feature name in feature detection outputRoberto Sassu1-3/+3
2022-10-04tools build: Fix feature detection output due to eval expansionRoberto Sassu1-11/+8
2022-08-10tools build: Switch to new openssl API for test-libcryptoRoberto Sassu1-4/+11
2022-08-10Revert "perf build: Suppress openssl v3 deprecation warnings in libcrypto fea...Arnaldo Carvalho de Melo1-6/+0
2022-08-10tools, build: Retry detection of bfd-related featuresRoberto Sassu1-5/+9
2022-08-02perf build: Suppress openssl v3 deprecation warnings in libcrypto feature testZixuan Tan1-0/+6
2022-08-01tools build: Don't display disassembler-four-args feature testAndres Freund1-2/+1
2022-08-01tools build: Add feature test for init_disassemble_info API changesAndres Freund4-0/+22
2022-05-26perf build: Stop using __weak bpf_map_create() to handle older libbpf versionsArnaldo Carvalho de Melo3-0/+13
2022-05-26perf build: Stop using __weak btf__raw_data() to handle older libbpf versionsJiri Olsa2-0/+12
2022-05-26perf build: Stop using __weak bpf_object__next_map() to handle older libbpf v...Jiri Olsa3-0/+13
2022-05-26perf build: Stop using __weak bpf_object__next_program() to handle older libb...Jiri Olsa3-0/+13
2022-05-26perf build: Stop using __weak bpf_prog_load() to handle older libbpf versionsJiri Olsa3-0/+14
2022-05-26perf build: Fix btf__load_from_kernel_by_id() feature checkJiri Olsa1-2/+3
2022-05-20perf build: Fix check for btf__load_from_kernel_by_id() in libbpfArnaldo Carvalho de Melo3-0/+12
2022-04-09tools build: Filter out options and warnings not supported by clangArnaldo Carvalho de Melo1-0/+7
2022-04-09tools build: Use $(shell ) instead of `` to get embedded libperl's ccoptsArnaldo Carvalho de Melo1-1/+1
2022-02-15kbuild: replace $(if A,A,B) with $(or A,B)Masahiro Yamada1-1/+1
2022-01-13Merge remote-tracking branch 'torvalds/master' into perf/coreArnaldo Carvalho de Melo1-0/+6
2021-12-10Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-0/+6
2021-12-07tools build: Enable warnings through HOSTCFLAGSJohn Garry1-1/+1
2021-12-06tools build: Remove needless libpython-version feature check that breaks test...Arnaldo Carvalho de Melo4-21/+0
2021-11-26bpf, mips: Fix build errors about __NR_bpf undeclaredTiezhu Yang1-0/+6
2021-11-18tools build: Fix removal of feature-sync-compare-and-swap feature detectionArnaldo Carvalho de Melo1-1/+0
2021-11-04tools: Bump minimum LLVM C++ std to GNU++14Ian Rogers1-3/+3
2021-10-26tools build: Drop needless slang include path in test-allJohn Keeping1-1/+1
2021-09-28perf tools: Enable libtracefs dynamic linkingIan Rogers3-0/+15
2021-09-03perf cs-etm: Update OpenCSD decoder for ETEJames Clark1-2/+2
2021-09-01tools build: Fix feature detect clean for out of source buildsJames Clark1-1/+1
2021-08-09tools: Remove feature-sync-compare-and-swap feature detectionLeo Yan4-24/+0
2021-05-17tools build: Fix quiet cmd indentationKees Cook1-11/+11
2021-05-01Merge tag 'perf-tools-for-v5.13-2021-04-29' of git://git.kernel.org/pub/scm/l...Linus Torvalds3-10/+34
2021-04-29tools build: Allow deferring printing the results of feature detectionArnaldo Carvalho de Melo1-10/+17
2021-04-29perf tools: Enable libtraceevent dynamic linkingMichael Petlan3-0/+17
2021-04-25tools: do not include scripts/Kbuild.includeMasahiro Yamada1-0/+24
2021-03-06perf build: Move feature cleanup under tools/buildJiri Olsa1-1/+7
2021-02-22Merge tag 'perf-tools-for-v5.12-2020-02-19' of git://git.kernel.org/pub/scm/l...Linus Torvalds2-3/+5
2021-01-29tools: Factor Clang, LLC and LLVM utils definitionsSedat Dilek1-2/+2
2021-01-20perf cs-etm: Update ARM's CoreSight hardware tracing OpenCSD library to v1.0.0James Clark1-2/+2
2021-01-15perf build: Support build BPF skeletons with perfSong Liu1-1/+3
2020-12-17Merge remote-tracking branch 'torvalds/master' into perf/coreArnaldo Carvalho de Melo1-4/+0
2020-12-17tools build: Add missing libcap to test-all.bin targetJiri Olsa1-1/+1
2020-11-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-4/+0
2020-11-11tools: Factor HOSTCC, HOSTLD, HOSTAR definitionsJean-Philippe Brucker1-4/+0
2020-11-03tools feature: Fixup fast path feature detectionArnaldo Carvalho de Melo1-1/+0
2020-10-17Merge tag 'perf-tools-for-v5.10-2020-10-15' of git://git.kernel.org/pub/scm/l...Linus Torvalds4-14/+22
2020-09-09tools feature: Add missing -lzstd to the fast path feature detectionArnaldo Carvalho de Melo1-1/+1
2020-09-04perf tools: Make GTK2 support opt-inArnaldo Carvalho de Melo3-14/+3
2020-09-04tools features: Add feature test to check if libbfd has buildid supportArnaldo Carvalho de Melo4-0/+19
2020-08-28tools, bpf/build: Cleanup feature files on make cleanJesper Dangaard Brouer1-0/+2
2020-08-18tools: Remove feature-libelf-mmap feature detectionAndrii Nakryiko4-18/+0
2020-08-14perf build-ids: Fall back to debuginfod query if debuginfo not foundFrank Ch. Eigler3-1/+14
2020-08-13tools build feature: Quote CC and CXX for their argumentsDaniel Díaz1-1/+1
2020-08-06Mgerge remote-tracking branch 'torvalds/master' into perf/coreArnaldo Carvalho de Melo4-7/+13
2020-08-03tools, build: Propagate build failures from tools/build/Makefile.buildAndrii Nakryiko1-1/+2
2020-07-31tools build feature: Use CC and CXX from parentThomas Hebb2-3/+1
2020-06-22tools/bpftool: Generalize BPF skeleton support and generate vmlinux.hAndrii Nakryiko3-6/+11
2020-05-29perf build: Remove libaudit from the default feature checksArnaldo Carvalho de Melo3-8/+1
2020-05-05perf: cs-etm: Update to build with latest opencsd version.Mike Leach1-2/+2
2020-05-05tools feature: Add support for detecting libpfm4Stephane Eranian3-2/+16
2020-04-21tools/build: tweak unused value workaroundGeorge Burgess IV1-1/+1
2020-04-05Merge tag 'perf-urgent-2020-04-05' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds3-2/+23
2020-04-03Merge tag 'spdx-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds2-0/+2
2020-04-03perf tools: Add file-handle feature testNamhyung Kim3-2/+24
2020-03-25.gitignore: add SPDX License IdentifierMasahiro Yamada2-0/+2
2020-03-13bpftool: Only build bpftool-prog-profile if supported by clangSong Liu2-1/+12
2020-01-14perf/ui/gtk: Fix gtk2 buildJiri Olsa1-1/+1
2020-01-14tools build: Fix test-clang.cpp with Clang 8+Maciej S. Szmigiero1-0/+6
2019-11-26perf tools: Allow to link with libbpf dynamicalyJiri Olsa3-1/+13
2019-08-12tools build: Add capability-related feature detectionIgor Lubashev3-0/+26
2019-06-18tools build: Fix the zstd test in the test-all.c common case feature testArnaldo Carvalho de Melo1-1/+1
2019-06-18tools build: Add test to check if slang.h is in /usr/include/slang/Arnaldo Carvalho de Melo3-1/+12
2019-06-17perf tools: Don't hardcode host include path for libslangFlorian Fainelli1-1/+1
2019-06-17tools build feature tests: Add missing SPDX headersArnaldo Carvalho de Melo3-0/+3
2019-06-17tools build: Check if gettid() is available before providing helperArnaldo Carvalho de Melo4-0/+21
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner2-0/+2
2019-04-01tools build: Implement libzstd feature check, LIBZSTD_DIR and NO_LIBZSTD definesAlexey Budankov4-1/+24
2019-03-28perf cs-etm: Add missing case valueSolomon Tan1-2/+2
2019-03-20perf build: Check what binutils's 'disassembler()' signature to useSong Liu2-2/+9
2019-02-14tools build feature sched_getcpu: Undef _GNU_SOURCE at the endArnaldo Carvalho de Melo1-0/+2
2019-02-14tools build: Add test-reallocarray.c to test-all.c to fix the buildArnaldo Carvalho de Melo2-0/+7
2019-02-14perf unwind: Do not put libunwind-{x86,aarch64} in FEATURE_TESTS_BASICArnaldo Carvalho de Melo1-4/+4
2019-02-14perf coresight: Do not test for libopencsd by defaultArnaldo Carvalho de Melo2-6/+1
2019-02-14tools feature: Undef _GNU_SOURCE at the end of feature testsArnaldo Carvalho de Melo3-0/+3
2018-12-21perf build: Don't unconditionally link the libbfd feature test to -liberty an...Stanislav Fomichev2-7/+7
2018-12-17perf cs-etm: Support for ARM A32/T32 instruction sets in CoreSight traceRobert Walker1-0/+8
2018-12-17tools build feature: Check if libaio is availableAlexey Budankov4-3/+30
2018-11-21perf jvmti: Separate jvmti cmlr checkJiri Olsa3-1/+15
2018-11-21tools build feature: Check if eventfd() is availableArnaldo Carvalho de Melo4-0/+19
2018-11-19tools build feature: Check if get_current_dir_name() is availableArnaldo Carvalho de Melo4-0/+20
2018-08-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds3-0/+13
2018-07-20Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linuxDavid S. Miller2-4/+4
2018-07-18kbuild: Rename HOSTLDFLAGS to KBUILD_HOSTLDFLAGSLaura Abbott1-1/+1
2018-07-18kbuild: Rename HOSTCFLAGS to KBUILD_HOSTCFLAGSLaura Abbott1-1/+1