Re: [PATCH v8 0/3] perf tools: port UI from GTK2 to GTK4

From: Arnaldo Carvalho de Melo

Date: Wed Sep 09 2026 - 16:19:33 EST


On Wed, Sep 09, 2026 at 08:52:48AM -0300, Arnaldo Carvalho de Melo wrote:
> On Wed, Sep 09, 2026 at 08:43:20AM -0300, Arnaldo Carvalho de Melo wrote:
> > On Wed, Sep 09, 2026 at 08:35:20AM -0300, Arnaldo Carvalho de Melo wrote:
> > Now, with GTK4=1 and trying to build the first patch after installing
> > gtk4-devel on fedora 43 it fails to detect gtk4 support:
> >
> > ⬢ [acme@toolbx perf-tools-next]$ m
> > make: Entering directory '/home/acme/git/perf-tools-next/tools/perf'
> > BUILD: Doing 'make -j32' parallel build
> >
> > Auto-detecting system features:
> > ... libdw: [ on ]
> > ... glibc: [ on ]
> > ... gtk4: [ OFF ]


I removed gtk4 from FEATURES_DISPLAY, as it is opt-in, no point in
telling most of the time it is OFF, when developing one can use 'make
VF=1' to see if it was detected:

⬢ [acme@toolbx perf-tools-next]$ alias m='rm -rf ~/libexec/perf-core/ ; make VF=1 CORESIGHT=1 -k O=/tmp/build/$(basename $PWD)/ -C tools/perf install-bin && perf test import && cat /tmp/build/$(basename $PWD)/feature/test-all.make.output' ; export PYTHONPATH=/tmp/build/$(basename $PWD)/python
⬢ [acme@toolbx perf-tools-next]$ m
make: Entering directory '/home/acme/git/perf-tools-next/tools/perf'
BUILD: Doing 'make -j32' parallel build

Auto-detecting system features:
... libdw: [ on ]
... glibc: [ on ]
... libelf: [ on ]
... libnuma: [ on ]
... numa_num_possible_cpus: [ on ]
... libpython: [ on ]
... libcapstone: [ on ]
... llvm-perf: [ on ]
... zlib: [ on ]
... lzma: [ on ]
... bpf: [ on ]
... libaio: [ on ]
... libzstd: [ on ]
... libopenssl: [ on ]
... rust: [ on ]
... backtrace: [ on ]
... eventfd: [ on ]
... fortify-source: [ on ]
... gettid: [ on ]
... libbfd: [ on ]
... libbfd-threadsafe: [ on ]
... libelf-getphdrnum: [ on ]
... libelf-gelf_getnote: [ on ]
... libelf-getshdrstrndx: [ on ]
... libelf-zstd: [ on ]
... libslang: [ on ]
... libtraceevent: [ on ]
... libcpupower: [ on ]
... pthread-attr-setaffinity-np: [ on ]
... pthread-barrier: [ on ]
... reallocarray: [ on ]
... stackprotector-all: [ on ]
... timerfd: [ on ]
... scandirat: [ on ]
... sched_getcpu: [ on ]
... sdt: [ on ]
... setns: [ on ]
... disassembler-four-args: [ on ]
... disassembler-init-styled: [ on ]
... file-handle: [ on ]
... bionic: [ OFF ]
... compile-32: [ OFF ]
... compile-x32: [ OFF ]
... cplus-demangle: [ OFF ]
... cxa-demangle: [ on ]
... gtk4: [ OFF ]
... hello: [ OFF ]
... babeltrace2-ctf-writer: [ on ]
... libcapstone: [ on ]
... libcheck: [ OFF ]
... libbfd-liberty: [ OFF ]
... libbfd-liberty-z: [ OFF ]
... libopencsd: [ on ]
... libperl: [ OFF ]
... llvm: [ OFF ]
... libbpf: [ OFF ]
... libpfm4: [ on ]
... libdebuginfod: [ on ]
... clang-bpf-co-re: [ on ]
... bpftool-skeletons: [ OFF ]
... libunwind: [ OFF ]
... libunwind-debug-frame: [ OFF ]
... libunwind-aarch64: [ OFF ]
... libunwind-debug-frame-aarch64: [ OFF ]
... libunwind-arm: [ OFF ]
... libunwind-debug-frame-arm: [ OFF ]
... libunwind-loongarch64: [ OFF ]
... libunwind-debug-frame-loongarch64: [ OFF ]
... libunwind-mips: [ OFF ]
... libunwind-debug-frame-mips: [ OFF ]
... libunwind-ppc32: [ OFF ]
... libunwind-debug-frame-ppc32: [ OFF ]
... libunwind-ppc64: [ OFF ]
... libunwind-debug-frame-ppc64: [ OFF ]
... libunwind-riscv: [ OFF ]
... libunwind-debug-frame-riscv: [ OFF ]
... libunwind-s390x: [ OFF ]
... libunwind-debug-frame-s390x: [ OFF ]
... libunwind-x86: [ OFF ]
... libunwind-debug-frame-x86: [ OFF ]
... libunwind-x86_64: [ OFF ]
... libunwind-debug-frame-x86_64: [ OFF ]
... prefix: /home/acme
... bindir: /home/acme/bin
... libdir: /home/acme/lib64
... sysconfdir: /home/acme/etc
... LIBUNWIND_DIR:
... LIBDW_DIR:
... JDIR: /usr/lib/jvm/java-latest-openjdk
... DWARF post unwind library: libdw


- Arnaldo