aboutsummaryrefslogtreecommitdiffstats
path: root/tools/build/feature
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 Rogers9-169/+18
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-03-26tools build: Correct link flags for libopensslLeo Yan1-2/+8
2026-03-04tools/build: Add feature test for libcheckCosta Shulyupin2-0/+12
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-08tools build: Add a feature test for rust compilerDmitrii Dolgov2-0/+11
2026-01-06perf build: Feature test for libbfd thread safety APIJames Clark2-0/+22
2026-01-06perf build: Remove unused libbfd-buildid feature testJames Clark2-12/+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 Kim3-2/+18
2025-12-07Merge tag 'perf-tools-for-v6.19-2025-12-06' of git://git.kernel.org/pub/scm/l...Linus Torvalds3-17/+0
2025-11-13tool build: Remove __get_cpuid feature testIan Rogers3-17/+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-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 Rogers2-14/+0
2025-10-03tools build: Remove feature-libslang-include-subdirIan Rogers2-11/+0
2025-10-03tools build: Remove get_current_dir_name feature checkIan Rogers3-20/+0
2025-10-02tools build: Don't assume libtracefs-devel is always availableArnaldo Carvalho de Melo1-5/+0
2025-09-19tools build: Make libperl opt-in rather than opt-out, deprecateIan Rogers1-7/+2
2025-06-26tools: Remove libcrypto dependencyYuzhuo Jing3-34/+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 Jones2-0/+14
2025-06-09tools/build: Remove some unused libbpf pre-1.0 feature test logicIan Rogers1-21/+0
2025-03-31Merge tag 'perf-tools-for-v6.15-2025-03-27' of git://git.kernel.org/pub/scm/l...Linus Torvalds8-8/+8
2025-03-26tools/build: Use SYSTEM_BPFTOOL for system bpftoolTomas Glozar1-1/+1
2025-03-04tools/build: Add bpftool-skeletons feature testTomas Glozar1-0/+3
2025-02-12tools build: Fix a number of Wconversion warningsIan Rogers8-8/+8
2025-01-10perf tools: Remove dependency on libauditCharlie Jenkins2-15/+0
2024-12-18tools build: Add feature test for libelf with ZSTDLeo Yan3-0/+17
2024-12-18tools build: Test for presence of libtraceevent and libtracefs in test-all.cArnaldo Carvalho de Melo1-0/+10
2024-12-12tools build feature: Don't set feature-libcap=1 if libcap-devel isn't availableArnaldo Carvalho de Melo1-1/+1
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 Torvalds8-79/+66
2024-11-22Merge tag 'trace-tools-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-0/+12
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 Rogers3-14/+9
2024-10-18perf build: Combine test-dwarf-getlocations into test-libdwIan Rogers4-23/+13
2024-10-18perf build: Combine libdw-dwarf-unwind into libdw feature testsIan Rogers4-24/+18
2024-10-18perf build: Rename test-dwarf to test-libdwIan Rogers3-11/+11
2024-10-17tools/build: Add libcpupower dependency detectionTomas Glozar2-0/+12
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 Clark1-6/+0
2024-09-10perf build: Autodetect minimum required llvm-dev versionJames Clark2-0/+23
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-14perf build: Fix up broken capstone feature detection fast pathArnaldo Carvalho de Melo1-4/+0
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-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 Du3-0/+19
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 Kim2-0/+13
2023-10-19tools build: Fix llvm feature detection, still used by bpftoolArnaldo Carvalho de Melo1-0/+14
2023-09-09Merge tag 'perf-tools-for-v6.6-1-2023-09-05' of git://git.kernel.org/pub/scm/...Linus Torvalds5-76/+4
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-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 Melo3-0/+22
2023-03-14tools build: Add feature test for abi::__cxa_demangleIan Rogers2-0/+21
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
2022-10-25perf bpf: Fix build with libbpf 0.7.0 by checking if bpf_program__set_insns()...Arnaldo Carvalho de Melo2-0/+12
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: Add feature test for init_disassemble_info API changesAndres Freund3-0/+21
2022-05-26perf build: Stop using __weak bpf_map_create() to handle older libbpf versionsArnaldo Carvalho de Melo2-0/+12
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 Olsa2-0/+12
2022-05-26perf build: Stop using __weak bpf_object__next_program() to handle older libb...Jiri Olsa2-0/+12
2022-05-26perf build: Stop using __weak bpf_prog_load() to handle older libbpf versionsJiri Olsa2-0/+13
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 Melo2-0/+11
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
2021-12-10Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-0/+6
2021-12-06tools build: Remove needless libpython-version feature check that breaks test...Arnaldo Carvalho de Melo3-20/+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 Rogers2-0/+14
2021-09-03perf cs-etm: Update OpenCSD decoder for ETEJames Clark1-2/+2
2021-08-09tools: Remove feature-sync-compare-and-swap feature detectionLeo Yan3-23/+0
2021-04-29perf tools: Enable libtraceevent dynamic linkingMichael Petlan2-0/+16
2021-02-22Merge tag 'perf-tools-for-v5.12-2020-02-19' of git://git.kernel.org/pub/scm/l...Linus Torvalds1-2/+2
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
2020-12-17tools build: Add missing libcap to test-all.bin targetJiri Olsa1-1/+1
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 Torvalds3-11/+18
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 Melo2-11/+1
2020-09-04tools features: Add feature test to check if libbfd has buildid supportArnaldo Carvalho de Melo3-0/+17
2020-08-18tools: Remove feature-libelf-mmap feature detectionAndrii Nakryiko3-17/+0
2020-08-14perf build-ids: Fall back to debuginfod query if debuginfo not foundFrank Ch. Eigler2-0/+12
2020-08-06Mgerge remote-tracking branch 'torvalds/master' into perf/coreArnaldo Carvalho de Melo3-6/+11
2020-07-31tools build feature: Use CC and CXX from parentThomas Hebb1-2/+0
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 Melo2-6/+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 Eranian2-1/+14
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 Torvalds2-1/+21
2020-04-03Merge tag 'spdx-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-0/+1
2020-04-03perf tools: Add file-handle feature testNamhyung Kim2-1/+22
2020-03-25.gitignore: add SPDX License IdentifierMasahiro Yamada1-0/+1
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 Olsa2-0/+11
2019-08-12tools build: Add capability-related feature detectionIgor Lubashev2-0/+24
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 Melo2-0/+11
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 Melo3-0/+20
2019-04-01tools build: Implement libzstd feature check, LIBZSTD_DIR and NO_LIBZSTD definesAlexey Budankov3-1/+22
2019-03-28perf cs-etm: Add missing case valueSolomon Tan1-2/+2
2019-03-20perf build: Check what binutils's 'disassembler()' signature to useSong Liu1-0/+5
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 coresight: Do not test for libopencsd by defaultArnaldo Carvalho de Melo1-5/+0
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 Fomichev1-5/+5
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 Budankov3-1/+26
2018-11-21perf jvmti: Separate jvmti cmlr checkJiri Olsa3-1/+15
2018-11-21tools build feature: Check if eventfd() is availableArnaldo Carvalho de Melo3-0/+18
2018-11-19tools build feature: Check if get_current_dir_name() is availableArnaldo Carvalho de Melo3-0/+19
2018-07-11tools: bpf: make use of reallocarrayJakub Kicinski2-0/+12
2018-03-08perf build: Force llvm/clang test compile output to .make.outputJiri Olsa1-3/+6
2018-03-08perf build: Add llvm/clang make targets to FILESJiri Olsa1-1/+4
2018-01-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds2-0/+19
2018-01-25perf tools: Integrating the CoreSight decoding libraryMathieu Poirier3-1/+19
2018-01-17tools: bpftool: add -DPACKAGE when including bfd.hJiong Wang1-1/+1
2017-12-30tools/bpftool: fix bpftool build with bintutils >= 2.9Roman Gushchin2-0/+19
2017-12-05tools build feature: Check if pthread_barrier_t is availableArnaldo Carvalho de Melo3-0/+21
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman50-0/+50
2017-08-10Merge branch 'perf/urgent' into perf/core, to pick up fixesIngo Molnar1-0/+2
2017-08-04bpf, s390: fix build for libbpf and selftest suiteDaniel Borkmann1-0/+2
2017-07-18tools build: Add test for setns()Arnaldo Carvalho de Melo3-1/+17
2017-05-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-0/+1
2017-05-12Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+2
2017-05-11bpf: Add strict alignment flag for BPF_PROG_LOAD.David S. Miller1-0/+1
2017-05-04tools build: Fixup sched_getcpu feature testArnaldo Carvalho de Melo1-0/+2
2017-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-0/+3
2017-04-22bpf: Add sparc support to tools and samples.David S. Miller1-0/+3
2017-04-13tools build: Fix feature detection redefinion of build flagsDavid Carrillo-Cisneros1-5/+5
2017-04-12perf tools: Pass PYTHON config to feature detectionDavid Carrillo-Cisneros1-1/+1
2017-03-03tools build: Use the same CC for feature detection and actual buildArnaldo Carvalho de Melo1-2/+2
2017-03-03tools build: Add test for sched_getcpu()Arnaldo Carvalho de Melo3-1/+17
2016-12-06perf build: Check LLVM version in feature checkWang Nan3-2/+22
2016-12-05tools build: Move tabs to spaces where suitableJiri Olsa1-51/+51
2016-12-05tools build: Add feature detection for clangWang Nan2-0/+31
2016-12-05tools build: Add feature detection for LLVMWang Nan2-0/+16
2016-11-14tools build: Add jvmti feature detection supportJiri Olsa2-1/+18
2016-10-05tools build: Add feature detection for g++Wang Nan2-1/+24
2016-07-13perf build: Add sdt feature detectionMasami Hiramatsu3-1/+17
2016-07-12perf tools: Add feature detection for gelf_getnote()Arnaldo Carvalho de Melo3-0/+16
2016-07-04perf build: Add feature detection for libelf's elf_getshdrstrndx()Arnaldo Carvalho de Melo3-0/+17
2016-05-11perf build: Add build-test for debug-frame on arm/arm64He Kuang3-0/+39
2016-05-11perf build: Add build-test for libunwind cross-platforms supportHe Kuang5-0/+123
2016-04-28bpf tools: Fix syscall argumentFlorian Fainelli1-1/+1
2016-04-28bpf tools: Remove expression with no effectFlorian Fainelli1-1/+0
2016-04-06perf probe: Check if dwarf_getlocations() is availableArnaldo Carvalho de Melo3-0/+21
2016-02-05perf build: Add libcrypto feature detectionStephane Eranian3-0/+26
2016-01-27tools build: Check basic headers for test-compile feature checkerWang Nan1-0/+2
2016-01-11tools build: Add BPF feature check to test-allWang Nan1-0/+5
2016-01-11perf tools: Fix PowerPC native buildingWang Nan1-1/+19
2015-12-16tools build: Fix feature Makefile issues with 'O='Josh Poimboeuf1-46/+47
2015-10-29tools build: Fix libiberty feature detectionRabin Vincent1-2/+2
2015-09-17tools build: Add test for presence of __get_cpuid() gcc builtinArnaldo Carvalho de Melo3-1/+17
2015-09-17tools build: Add test for presence of numa_num_possible_cpus() in libnumaArnaldo Carvalho de Melo3-0/+15
2015-08-13perf tools: Support static linking with libdwAndi Kleen1-1/+6
2015-08-07bpf tools: Introduce 'bpf' library and add bpf feature checkWang Nan2-1/+23
2015-08-05perf tools: Fix build errors with mipsel-linux-uclibc compilerPetri Gynther1-0/+11
2015-03-21tools build: Add feature check for lzma libraryJiri Olsa3-2/+21
2015-03-21perf build: Move feature checks code under tools/buildJiri Olsa32-0/+614