[qt/qt-creator/elfutils]: Summary of bulk changes made

KDE Git Services - Bulk Change <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git repository change summary for qt/qt-creator/elfutils
Pushed by mirror-service into branch 'upstream/users/serhei/try-stackprof-fixup'.
Changed from c387fe6824eaf287489cb56be5a95f7d08dffcca to 33d2d1b543173ed4ca44d9a5d394670326eb924f
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit 0eddb6099b80a47056d426469634d038b9f4c820 by Serhei Makarov on 23/07/2026 at 20:16..
configure.ac, src/: add C++20, add new stackprof tool

eu-stackprof is a new tool which profiles processes on a Linux system
using perf_events and outputs gprof gmon.out format program counter
histograms and callgraph-arc profiles; intended as an updated demo of
libdwfl_stacktrace functionality and as a data-gathering tool for the
profiledb initiative.

* configure.ac: Add configure checks for C++20, eu-stackprof
  perf/libpfm dependencies.
* config/elfutils.spec.in: Add stackprof.
* po/POTFILES.in: Add stackprof.cxx.
* src/Makefile.am (bin_PROGRAMS): Add stackprof.
  (stackprof_*): Add stackprof SOURCES, LDADD, and so forth.
* src/stackprof.cxx: New file.

Co-authored-by: Frank Ch. Eigler <[email protected]>
Signed-off-by: Serhei Makarov <[email protected]>
https://invent.kde.org/qt/qt-creator/elfutils/-/commit/0eddb6099b80a47056d426469634d038b9f4c820

Git commit 730830a7e59b5812521a6630b2f9e4a4e59e7732 by Serhei Makarov on 23/07/2026 at 20:17..
tests/: add test suite for stackprof

Together with the stackprof tool we add some test cases to exercise
it, and the underlying libdwfl_stacktrace functionality as well.

* tests/stackprof-subr.sh: Common subroutines for checking
  perf_events availability and verifying gmon.*.out files.
* tests/run-stackprof-system.sh: New file.
* tests/run-stackprof-system-gprof.sh: New file.
* tests/run-stackprof-user.sh: New file.
* tests/run-stackprof-user-gprof.sh: New file.
* tests/Makefile.am (TESTS): add the new testcases.

Co-authored-by: Frank Ch. Eigler <[email protected]>
Signed-off-by: Serhei Makarov <[email protected]>
https://invent.kde.org/qt/qt-creator/elfutils/-/commit/730830a7e59b5812521a6630b2f9e4a4e59e7732

Git commit 85c65767af69ee60beb82f8a1ad30fa7f783a2b6 by Serhei Makarov on 23/07/2026 at 20:17..
doc/stackprof.1: add man page and NEWS for stackprof

* doc/Makefile.am (dist_man1_MANS): Add stackprof.1.
* doc/stackprof.1: New file.
* NEWS: Add stackprof.

Co-authored-by: Frank Ch. Eigler <[email protected]>
Signed-off-by: Serhei Makarov <[email protected]>
https://invent.kde.org/qt/qt-creator/elfutils/-/commit/85c65767af69ee60beb82f8a1ad30fa7f783a2b6

Git commit 33d2d1b543173ed4ca44d9a5d394670326eb924f by Serhei Makarov on 23/07/2026 at 20:17..
src/stacktrace.c: remove in favour of stackprof

Now that stackprof is added, the existing src/stacktrace.c tool is
officially obsolete as a demo -- it relies on a custom patchset for
Sysprof (communicating via pipe, not contributed to mainline, in
favour of the sysprof-live-unwinder tool which links elfutils as a
library), whereas stackprof pulls data from perf_events directly.

Likewise, stackprof includes all of the eu-stacktrace functionality
for logging/statistics.

* configure.ac: Remove eu-stacktrace related bits.
  The configure checks for stackprof are simpler (just perf_events.h
  and libpfm).
* config/elfutils.spec.in: Remove eu-stacktrace.
* po/POTFILES.in: Remove stacktrace.c.
* src/Makefile.am: Remove eu-stacktrace related bits.
* src/stacktrace.c: Remove.
* .forgejo/workflows/check-fedora.yaml: Remove sysprof-capture-devel.

Co-authored-by: Frank Ch. Eigler <[email protected]>
Signed-off-by: Serhei Makarov <[email protected]>
https://invent.kde.org/qt/qt-creator/elfutils/-/commit/33d2d1b543173ed4ca44d9a5d394670326eb924f
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.