<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in install-build-deps.sh</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>67f8bc848ee31831336bd478e57d2f993551902e - Merge drm/drm-fixes into drm-misc-fixes</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/scripts/install-build-deps.sh#67f8bc848ee31831336bd478e57d2f993551902e</link>
        <description>Merge drm/drm-fixes into drm-misc-fixesLet&apos;s start the 7.3 drm-misc-fixes cycle.Signed-off-by: Maxime Ripard &lt;mripard@kernel.org&gt;

            List of files:
            /linux/tools/perf/scripts/install-build-deps.sh</description>
        <pubDate>Tue, 01 Sep 2026 09:38:51 +0200</pubDate>
        <dc:creator>Maxime Ripard &lt;mripard@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>473f6c8f437b049f8ec015d57cd59bb983b1d85c - Merge tag &apos;perf-tools-for-v7.3-2026-08-21&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/scripts/install-build-deps.sh#473f6c8f437b049f8ec015d57cd59bb983b1d85c</link>
        <description>Merge tag &apos;perf-tools-for-v7.3-2026-08-21&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-toolsPull perf tools updates from Namhyung Kim: &quot;perf c2c:   - Add &apos;function view&apos; in perf c2c report TUI (switched by pressing     &apos;TAB&apos; in the cacheline view) to organize samples around functions     rather than cachelines in 3-level hierarchy:	Level 1: Read-side function (sorted by estimated Cycles %)	Level 2:   Contending writer functions (sorted by Store count)	Level 3:     Shared cacheline addresses     Users can navigate the entries and fold/unfold using &apos;e&apos; key. An     example output would look like below:	Shared Data Functions Table     (19 entries, sorted on Cycles %)	   Cycles    Store	        %    count  Function / Contending function / Cacheline	----------------------------------------------------------------------	+  35.67%      876  + [k] cpupri_set	+  24.31%      424  + [k] pull_rt_task	-  16.53%      555  - [k] dequeue_pushable_task	               145    - [k] pull_rt_task	               145        0xff2d0082809da080	               139    - [k] enqueue_pushable_task	                70        0xff2d00a2071f9640	                69        0xff2d0082809da000  python module support:   - Extend &quot;perf&quot; python module so that it can be fully functional. The     goal is to run scripts directly, not by &apos;perf script&apos; command. This     would give better performance as well as more control to build     standalone programs with UI.   - Add LiveSession helper (perf_live.py) to enable live event     collection directly from Python using perf.evlist and     perf.parse_events.  perf stat:   - Add --hide-zero-events option to suppress zero-count events   - Reject conflicting --field-separator and --json-output options   - Fix duplicate event output with --for-each-cgroup  perf sched latency:   - Add -H/--histogram and --hist-mode (log|linear) options to show     scheduler wait latency histograms   - Add --time option to filter analysis by time span in &apos;perf sched     latency&apos;  ARM CoreSight:   - Synthesize callchains for instruction samples from CoreSight trace     using thread stack (&apos;--itrace=g...&apos;)   - Support call indentation (&apos;perf script -F +callindent&apos;) to display     call depth hierarchy on branch samples   - Decode ETE (Embedded Trace Extension) exception packets  Build system:   - Add &apos;make install-build-deps&apos; target to install required packages   - Parallelize JSON and metric pre-computation in jevents.py for     faster builds  Vendor event/metric updates:   - Add Intel Nova Lake events and update tables for existing models   - Update AMD Zen 5 and Zen 6 core events   - Update Arm64 Tegra410 metrics and PowerPC hcalls  Internal changes and fixes:   - Harden trace-event and synthetic event parsing against corrupted     data   - Fix unwinding of multi-threaded processes in libdw unwinder   - Fix memory leaks in various commands and python bindings   - Speed up &apos;perf test&apos; shell tests&quot;* tag &apos;perf-tools-for-v7.3-2026-08-21&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools: (232 commits)  perf vendor events arm64: Fix Tegra410 Olympus event 0x0197  perf vendor events arm64: fix swapped MetricGroup for Tegra410 L1 prefetcher metrics  perf evlist: Warn when &apos;sleep&apos; workload is used without system-wide (-a) option  perf c2c: document function view in perf-c2c man page  perf c2c: add function view browser UI and cacheline detail  perf c2c: build and finalize the function view hierarchy  perf c2c: add function view hierarchy entry creation  perf c2c: add function view stats merge and memory management  perf c2c: add HPP list parsing for function view columns  perf c2c: add column rendering for function view  perf c2c: add function view model skeleton  perf c2c: extract shared data structures into util/c2c.h  perf test sample-parsing: Validate PERF_FORMAT_GROUP values without LOST  perf dso: Replace assert with runtime check in dso__read_symbol()  perf dso: Guard against cache underflow on short reads in dso_cache__memcpy()  perf dso: Use stored fd error instead of stale errno in file_read() and file_size()  perf dso: Guard close() against invalid fd in dso__decompress_kmodule_path()  perf dso: Guard against errno==0 when dso__get_filename() returns NULL  perf build: install-build-deps: add RHEL family devel package mapping  perf build: Remove leftover feature tests for removed cxx and clang support  ...

            List of files:
            /linux/tools/perf/scripts/install-build-deps.sh</description>
        <pubDate>Sat, 22 Aug 2026 17:47:50 +0200</pubDate>
        <dc:creator>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</dc:creator>
    </item>
<item>
        <title>d17c5b770972854a4fe4cf5cc22e17eb21cdc787 - perf build: install-build-deps: add RHEL family devel package mapping</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/scripts/install-build-deps.sh#d17c5b770972854a4fe4cf5cc22e17eb21cdc787</link>
        <description>perf build: install-build-deps: add RHEL family devel package mappingWith the Fedora mapping in place, this patch extends it to the RHELfamily (RHEL, CentOS Stream, Rocky Linux, AlmaLinux, Oracle Linux),which shares most Fedora package names and runs dnf (RHEL 8 andlater).  The names that differ are handled by probing the enabledrepos:  - zlib.h comes from zlib-ng-compat-devel on the RHEL 10 family,    zlib-devel on RHEL 9 and earlier;  - there is no java-latest-openjdk-devel: the JDK devel package is    versioned per release, java-21-openjdk-devel on the RHEL 10    family, java-17-openjdk-devel on RHEL 9, java-11-openjdk-devel    on RHEL 8;  - libbpf-devel and capstone-devel live in the CRB repo on RHEL and    CentOS Stream 10, in EPEL on RHEL 9 and earlier;  - libbabeltrace2-devel is not packaged on the RHEL 10 family.Packages not available on the enabled repos are skipped instead ofaborting the dnf transaction, and are listed at the end of the run, withthe repo that provides them pointed out in the header comment and helptext: a distro with CRB/EPEL enabled gets the full set, one without themstill installs what it can.This also holds for the base set: e.g.  &apos;rust&apos; exists only as therust-toolset AppStream module on RHEL 8 and 9, where it is notinstallable as a plain package, so it is skipped and noted there insteadof failing the whole dnf transaction.The base set lists pkgconf-pkg-config instead of pkgconfig: bothfamilies have been on pkgconf since Fedora 26 / RHEL 8, where&apos;pkgconfig&apos; lives only as a virtual Provides of that subpackage, anda minimal RHEL-family container may not have it preinstalled.Validated on a fresh CentOS Stream 10 distrobox container, with theCRB repo enabled, so the host system is not modified:    distrobox create --image quay.io/centos/centos:stream10    distrobox enter centos-stream10    dnf config-manager --set-enabled crb    make -C tools/perf install-build-depswhich installed the 28 available mapped packages; libbabeltrace2-devel, theonly mapped package with no RHEL 10 package, is reported at the endof the run.A subsequent &apos;make -C tools/perf feature-dump&apos; enabled every featurewith an external dependency the RHEL 10 family provides, includinglibbpf and libcapstone from the CRB repo, with onlybabeltrace2-ctf-writer left out along with the deliberately unmappedopt-in features.Re-running the target is a no-op (dnf reports &quot;Nothing to do&quot;); with theCRB repo disabled, the skipped packages are instead listed in theend-of-run note, whose header comment and help text point out which repoprovides them.Members of the family without dnf (RHEL 7 and earlier, e.g. OracleLinux 7, a yum-only distro) are rejected with an explicit error whilethe dnf-based members get the full mapping.Example of its --list:  $ grep PRETTY_NAME /etc/os-release  PRETTY_NAME=&quot;Fedora Linux 44 (Toolbx Container Image)&quot;  $ tools/perf/scripts/install-build-deps.sh --list --distro rhel  bison  capstone-devel  clang-devel  elfutils-debuginfod-client-devel  elfutils-devel  elfutils-libelf-devel  flex  gcc  gcc-c++  glibc-devel  java-latest-openjdk-devel  kernel-headers  libbabeltrace2-devel  libbpf-devel  libpfm-devel  libstdc++-devel  libtraceevent-devel  libzstd-devel  llvm-devel  make  numactl-devel  openssl-devel  pkgconf-pkg-config  python3-devel  python3-setuptools  rust  slang-devel  systemtap-sdt-devel  xz-devel  zlib-ng-compat-devel  $Assisted-by: opencode:deepseek-v4-flash-freeAssisted-by: claude:claude-opus-4-7Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Signed-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;

            List of files:
            /linux/tools/perf/scripts/install-build-deps.sh</description>
        <pubDate>Tue, 11 Aug 2026 20:29:00 +0200</pubDate>
        <dc:creator>Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>01c7a389d1ff89d42547004a0ca446cdab893564 - perf build: install-build-deps: add Debian devel package mapping</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/scripts/install-build-deps.sh#01c7a389d1ff89d42547004a0ca446cdab893564</link>
        <description>perf build: install-build-deps: add Debian devel package mappingWith the Fedora and Ubuntu mappings in place, this patch adds Debiansupport: Debian installs the same devel packages, under the samenames, as the Ubuntu mapping, so it reuses debian_pkg_for() anddebian_base_pkgs as-is, with only auto-detection in detect_distro()(and the shared apt-get install path) added, keeping the script&apos;sper-distro dispatch ready for distros with their own package names.Validated on a fresh Debian 13 (trixie) container so the host systemis not modified:    distrobox create --image debian:trixie    distrobox enter debian-trixie    make -C tools/perf install-build-depswhich installed the 29 mapped packages; re-running the target is ano-op (apt-get reports &quot;0 newly installed&quot;).  A subsequent clean buildenabled the same feature set as Ubuntu: &apos;perf version --build-options&apos;shows every feature with an external dependency Debian has a packagefor [on], including the BPF skeletons compiled with clang/llvm(libLLVM), the python binding and the C++-based features, with onlythe deliberately unmapped libbfd family, libperl, libunwind and theCoreSight (libopencsd) packages [OFF].RHEL, whose package mapping is largely similar to Fedora&apos;s, is theremaining planned distro, to be enabled once that mapping isvalidated on it.Example of its --list:  $ grep PRETTY_NAME /etc/os-release  PRETTY_NAME=&quot;Fedora Linux 44 (Toolbx Container Image)&quot;  $ tools/perf/scripts/install-build-deps.sh --list --distro debian  bison  clang  default-jdk  flex  g++  gcc  libbabeltrace2-dev  libbpf-dev  libc6-dev  libcapstone-dev  libdebuginfod-dev  libdw-dev  libelf-dev  liblzma-dev  libnuma-dev  libpfm4-dev  libslang2-dev  libssl-dev  libtraceevent-dev  libzstd-dev  linux-libc-dev  llvm-dev  make  pkg-config  python3-dev  python3-setuptools  rustc  systemtap-sdt-dev  zlib1g-dev  $Assisted-by: opencode:deepseek-v4-flash-freeSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Signed-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;

            List of files:
            /linux/tools/perf/scripts/install-build-deps.sh</description>
        <pubDate>Tue, 11 Aug 2026 20:28:58 +0200</pubDate>
        <dc:creator>Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>1331bb51069bd9ddde63a22d493d773801ea3bfc - perf build: install-build-deps: add Ubuntu devel package mapping</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/scripts/install-build-deps.sh#1331bb51069bd9ddde63a22d493d773801ea3bfc</link>
        <description>perf build: install-build-deps: add Ubuntu devel package mappingWith the framework and Fedora mapping in place, this patch adds theUbuntu (apt) mapping: same feature-to-package correspondence as theFedora one, adapted to Debian packaging conventions (libfoo-dev), ona per-distro dispatch so future distros can pick their own mapping orreuse one of these (Debian shares the Ubuntu mapping).Notable differences from Fedora:  - base set: g++ (ships libstdc++-*-dev, covering cxa-demangle),    pkg-config (installed implicitly by Fedora&apos;s default toolchain    metapackage, but not by Ubuntu&apos;s), linux-libc-dev and libc6-dev    instead of kernel-headers and glibc-devel, and rustc for rust;  - cxa-demangle maps to nothing, covered by g++&apos;s libstdc++;  - the clang-bpf-co-re test needs the clang compiler binary (Fedora&apos;s    clang-devel provides it transitively), and llvm-dev, which also    brings llvm-config (deps on the llvm package), used by the    llvm/llvm-perf tests;  - libslang maps to libslang2-dev and jvmti to default-jdk;  - the install command runs &apos;apt-get update&apos; first since a fresh    container has no package indexes, unlike dnf.Validated on a fresh Ubuntu 26.04 distrobox container so the hostsystem is not modified:    distrobox create --image ubuntu:26.04    distrobox enter ubuntu-26-04    make -C tools/perf install-build-depswhich installed the 29 mapped packages; a subsequent clean O= buildenabled every feature with an external dependency Ubuntu has apackage for: perf&apos;s build-options then showed all of them [on],including the BPF skeletons requiring clang/llvm, the python bindingand the C++-based features, with only the deliberately unmapped(deprecated) libbfd family, libperl and libunwind [OFF], and thebuild linked libpfm, libbabeltrace2-ctf-writer, libcapstone,libtraceevent, libslang, libnuma, libdw and libssl.  Re-running thetarget is a no-op (apt-get reports &quot;0 newly installed&quot;).Debian (trixie) is the next planned distro: it shares this Ubuntumapping, so enabling it reuses it as-is, once it gets validated on aDebian release.Example of its --list:  $ grep PRETTY_NAME /etc/os-release  PRETTY_NAME=&quot;Fedora Linux 44 (Toolbx Container Image)&quot;  $ tools/perf/scripts/install-build-deps.sh --list --distro ubuntu  bison  clang  default-jdk  flex  g++  gcc  libbabeltrace2-dev  libbpf-dev  libc6-dev  libcapstone-dev  libdebuginfod-dev  libdw-dev  libelf-dev  liblzma-dev  libnuma-dev  libpfm4-dev  libslang2-dev  libssl-dev  libtraceevent-dev  libzstd-dev  linux-libc-dev  llvm-dev  make  pkg-config  python3-dev  python3-setuptools  rustc  systemtap-sdt-dev  zlib1g-dev  $Assisted-by: opencode:deepseek-v4-flash-freeSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Signed-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;

            List of files:
            /linux/tools/perf/scripts/install-build-deps.sh</description>
        <pubDate>Tue, 11 Aug 2026 20:28:57 +0200</pubDate>
        <dc:creator>Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>9f83597eb5716531ceb171aee6aab0115c130dac - perf build: install-build-deps: add Fedora devel package mapping</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/scripts/install-build-deps.sh#9f83597eb5716531ceb171aee6aab0115c130dac</link>
        <description>perf build: install-build-deps: add Fedora devel package mappingWith the framework from the previous commit in place, this patch addsthe per-feature mapping for Fedora/dnf: for each feature test intools/build/feature/, the Fedora devel package providing the headersor library the test compiles against, kept explicit in the scriptnext to the test that requires it.Special cases:  - test-libdebuginfod.c includes &lt;elfutils/debuginfod.h&gt;, provided    by elfutils-debuginfod-client-devel, not elfutils-devel;  - the cxa-demangle test links against libstdc++&apos;s builtin demangler,    pulling in libstdc++-devel;  - the BPF-oriented features (bpf, clang-bpf-co-re) get their headers    from the base packages and clang-devel.Tests with no Fedora equivalent (bionic, compile-32, compile-x32) andthe opt-in/deprecated ones (libbfd disassembler family, GTK2, LIBPERL,LIBUNWIND, CoreSight, and the tests perf itself doesn&apos;t check, likelibcpupower) are deliberately not mapped.Validated on a fresh Fedora 44 toolbx container, so the host OS is notmodified:    toolbox create fedora:44    toolbox enter fedora:44    make -C tools/perf install-build-depswhich installed the 29 mapped packages; a subsequent clean O= buildenabled every feature with an external dependency Fedora provides(feature tests went to 1, except bionic/compile-32/compile-x32, whichhave no Fedora equivalent, and the libunwind-debug-frame tests, whosesymbols Fedora&apos;s libunwind does not export), linking libpfm,libbabeltrace2-ctf-writer, libcapstone, libtraceevent, libslang andlibnuma, as well as building the BPF skeletons requiring clang/llvm.Re-running the target is a no-op (dnf reports &quot;Nothing to do&quot;).RHEL and its derivatives share most Fedora package names but arerefused by the script until this mapping is validated on them.Example of its --list option:  $ grep PRETTY_NAME /etc/os-release  PRETTY_NAME=&quot;Fedora Linux 44 (Toolbx Container Image)&quot;  $ tools/perf/scripts/install-build-deps.sh --list  bison  capstone-devel  clang-devel  elfutils-debuginfod-client-devel  elfutils-devel  elfutils-libelf-devel  flex  gcc  gcc-c++  glibc-devel  java-latest-openjdk-devel  kernel-headers  libbabeltrace2-devel  libbpf-devel  libpfm-devel  libstdc++-devel  libtraceevent-devel  libzstd-devel  llvm-devel  make  numactl-devel  openssl-devel  python3-devel  python3-setuptools  rust  slang-devel  systemtap-sdt-devel  xz-devel  zlib-devel  $Assisted-by: opencode:deepseek-v4-flash-freeSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Signed-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;

            List of files:
            /linux/tools/perf/scripts/install-build-deps.sh</description>
        <pubDate>Tue, 11 Aug 2026 20:28:56 +0200</pubDate>
        <dc:creator>Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>bc3fdd6adb9903b1f1fd85cd9532c7bfc961dcbc - perf build: Add install-build-deps framework to install devel packages</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/scripts/install-build-deps.sh#bc3fdd6adb9903b1f1fd85cd9532c7bfc961dcbc</link>
        <description>perf build: Add install-build-deps framework to install devel packagesInstalling the development packages needed to build perf iserror-prone on a fresh distro install: the packages are scatteredacross the feature tests in tools/build/feature/, each checking for aspecific header/library, and the build only tells you what&apos;s missingafter failing a check.This series adds a &apos;make -C tools/perf install-build-deps&apos; target toinstall them in one go, deriving the package list from the feature teststhemselves.This commit adds the framework, on top of the parse-time compilerprobe guard from the previous commit:- the install-build-deps target in tools/perf/Makefile.perf, exempted  from the config/feature detection pass, since it must run in a fresh  container, before gcc or pkg-config exist, to install them;- the install-build-deps.sh script, with --list, --dry-run and  --distro options, distro detection (Fedora and Ubuntu), dnf and  apt-get drivers, root/passwordless-sudo handling, and the base  packages common to any build: compiler, C++ compiler, make, flex,  bison, libc and kernel headers, python3-setuptools (needed by the  python binding) and rust (checked by the rust feature test);- the parse-time probes for optional tools, like pkg-config, use  &apos;command -v&apos; with stderr discarded, so a fresh container without  them gets no &apos;which: no pkg-config in (...)&apos; spew from make;- the script does not rely on &apos;set -e&apos;: its error paths are explicit,  since the make target runs it via $(SHELL), where a shebang option  would be ignored anyway, so direct and make-driven runs behave the  same.The per-feature mappings, from each feature test to the devel packageproviding its headers on a given distro, are added by the follow-uppatches, one per distro, together with the validation of each mappingin a fresh container: until then the target installs just the basetoolchain.Assisted-by: opencode:deepseek-v4-flash-freeSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Signed-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;

            List of files:
            /linux/tools/perf/scripts/install-build-deps.sh</description>
        <pubDate>Tue, 11 Aug 2026 20:28:55 +0200</pubDate>
        <dc:creator>Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;</dc:creator>
    </item>
</channel>
</rss>
