aboutsummaryrefslogtreecommitdiffstats
path: root/tools/build
AgeCommit message (Expand)AuthorFilesLines
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
2018-07-14tools: include reallocarray feature test in FEATURE_TESTS_BASICJakub Kicinski1-0/+1
2018-07-13tools: build: Use HOSTLDFLAGS with fixdepLaura Abbott1-1/+1
2018-07-13tools: build: Fixup host c flagsLaura Abbott1-1/+1
2018-07-13tools build: fix # escaping in .cmd files for future MakePaul Menzel1-2/+2
2018-07-11tools: bpf: make use of reallocarrayJakub Kicinski2-0/+12
2018-04-11Kbuild: fix # escaping in .cmd files for future MakeRasmus Villemoes1-2/+3
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-03-08perf build: Add llvm/clang/cxx make tests into FEATURE_TESTS_EXTRAJiri Olsa1-1/+5
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 Poirier4-2/+21
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 Melo4-0/+22
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman63-0/+63
2017-08-28tools build tests: Don't hardcode gcc nameDavid Carrillo-Cisneros1-1/+1
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-30Merge branch 'perf/urgent' into perf/core, to pick up latest fixes and refres...Ingo Molnar1-7/+1
2017-07-18tools build: Add test for setns()Arnaldo Carvalho de Melo4-2/+19
2017-06-06kbuild: simplify silent build (-s) detectionMasahiro Yamada1-7/+1
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 Melo4-1/+18
2017-02-17perf build: Add special fixdep cleaning ruleJiri Olsa2-2/+5
2017-01-26tools build: Add tools tree support for 'make -s'Josh Poimboeuf1-0/+10
2016-12-17Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek...Linus Torvalds1-1/+1
2016-12-11make use of make variable CURDIR instead of calling pwdUwe Kleine-König1-1/+1
2016-12-06perf build: Check LLVM version in feature checkWang Nan3-2/+22
2016-12-05tools build: Move tabs to spaces where suitableJiri Olsa3-126/+126
2016-12-05tools build: Make the .cmd file more readableJiri Olsa1-1/+1
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-12-05tools build: Fix objtool build with clangPeter Foley1-3/+3
2016-12-05tools build: Make fixdep parsing wait for last targetJiri Olsa1-2/+3
2016-11-14tools build: Add jvmti feature detection supportJiri Olsa2-1/+18
2016-11-14tools build: Add CFLAGS_REMOVE_* supportJiri Olsa2-3/+7
2016-10-05tools build: Add feature detection for g++Wang Nan3-2/+25
2016-10-05tools build: Support compiling C++ source fileWang Nan2-0/+8
2016-10-03tools build: Make fixdep a hostprogJiri Olsa3-5/+3
2016-10-03tools build: Add support for host programs formatJiri Olsa3-4/+26
2016-07-13perf build: Add sdt feature detectionMasami Hiramatsu4-2/+19
2016-07-12perf tools: Add feature detection for gelf_getnote()Arnaldo Carvalho de Melo4-0/+17
2016-07-04perf build: Add feature detection for libelf's elf_getshdrstrndx()Arnaldo Carvalho de Melo4-0/+18
2016-05-26Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek...Linus Torvalds1-4/+4
2016-05-11perf build: Add build-test for debug-frame on arm/arm64He Kuang4-1/+42
2016-05-11perf build: Add build-test for libunwind cross-platforms supportHe Kuang6-0/+127
2016-04-28bpf tools: Fix syscall argumentFlorian Fainelli1-1/+1
2016-04-28bpf tools: Remove expression with no effectFlorian Fainelli1-1/+0
2016-04-20kbuild: rename cmd_cc_i_c to cmd_cpp_i_cMasahiro Yamada1-4/+4
2016-04-06perf probe: Check if dwarf_getlocations() is availableArnaldo Carvalho de Melo4-0/+23
2016-03-03tools build: Use .s extension for preprocessed assembler codeMasahiro Yamada1-1/+1
2016-02-05perf build: Add libcrypto feature detectionStephane Eranian4-0/+28
2016-01-28perf build: Fix feature-dump checks, we need to test all featuresJiri Olsa1-0/+8
2016-01-27tools build: Check basic headers for test-compile feature checkerWang Nan1-0/+2
2016-01-26tools build: Allow subprojects select all feature checkersWang Nan1-1/+20
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
2016-01-06tools build feature: Use value assignment form for FEATURE-DUMP fileJiri Olsa1-5/+21
2016-01-06tools build feature: Introduce feature_assign macroJiri Olsa1-1/+7
2016-01-06tools build feature: Move dwarf post unwind choice output into perfJiri Olsa1-9/+0
2016-01-06tools build feature: Fix feature_check_display_code typoJiri Olsa1-1/+1
2015-12-16tools build: Fix feature Makefile issues with 'O='Josh Poimboeuf2-47/+48
2015-12-14perf build: Remove unnecessary line in Makefile.featureJosh Poimboeuf1-1/+0
2015-11-26tools build: Use fixdep with OUTPUT path prefixJiri Olsa2-2/+2
2015-11-25tools build: Clean CFLAGS and LDFLAGS for fixdepWang Nan1-1/+1
2015-10-29tools build: Fix libiberty feature detectionRabin Vincent1-2/+2
2015-10-28perf tools: Make perf depend on libbpfWang Nan1-2/+4
2015-10-20perf build: Add fixdep to .gitignoreYunlong Song1-0/+1
2015-10-13tools build: Fix cross compile buildJiri Olsa1-0/+4
2015-09-28tools build: Build fixdep helper from perf and basic libsJiri Olsa3-3/+17
2015-09-28tools build: Make the fixdep helper part of the build processJiri Olsa2-2/+15
2015-09-28tools build: Move dependency copy into functionJiri Olsa1-3/+8
2015-09-28tools build: Add fixdep dependency helperJiri Olsa3-0/+212
2015-09-28tools build: Add test for missing includeJiri Olsa5-1/+39
2015-09-28tools build: Add Makefile.includeJiri Olsa3-14/+35
2015-09-22tools build: Allow setting the feature detection userArnaldo Carvalho de Melo1-3/+4
2015-09-22tools build: Fixup feature detection display function nameArnaldo Carvalho de Melo1-1/+1
2015-09-17tools build: Add test for presence of __get_cpuid() gcc builtinArnaldo Carvalho de Melo4-3/+21