public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Julio Faracco <jfaracco@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/procdump] f44: New upstream release 3.5.2
Date: Wed, 05 Aug 2026 18:49:56 GMT	[thread overview]
Message-ID: <178595579635.1.6378359556235626144.rpms-procdump-38a48b23ec98@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/procdump
            Branch : f44
            Commit : 38a48b23ec986b09ac69bf89dc58e77c8f63df50
            Author : Julio Faracco <jfaracco@redhat.com>
            Date   : 2026-08-05T15:49:18-03:00
            Stats  : +58/-68 in 10 file(s)
            URL    : https://src.fedoraproject.org/rpms/procdump/c/38a48b23ec986b09ac69bf89dc58e77c8f63df50?branch=f44

            Log:
            New upstream release 3.5.2

- Adds .NET counter integration (3.5.2)
- Adds a custom core dumper (corex) (3.5.2)
- Add support for RHEL10, Debian 13, Ubuntu 26.04, Fedora 43 and updated dependencies (3.5.1)

Signed-off-by: Julio Faracco <jfaracco@redhat.com>

---
diff --git a/.gitignore b/.gitignore
index 0eeace2..d7925ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
 /ProcDump-for-Linux-3.3.0.tar.gz
 /ProcDump-for-Linux-3.4.0.tar.gz
 /ProcDump-for-Linux-3.5.0.tar.gz
+/ProcDump-for-Linux-3.5.2.tar.gz

diff --git a/0001-tests-Remove-unused-variable-work_time-from-stress_c.patch b/0001-tests-Remove-unused-variable-work_time-from-stress_c.patch
deleted file mode 100644
index 27dbd04..0000000
--- a/0001-tests-Remove-unused-variable-work_time-from-stress_c.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 8a9f47e1bc25b123e2d8d2de92228bd3ed9efc0d Mon Sep 17 00:00:00 2001
-From: Julio Faracco <jcfaracco@gmail.com>
-Date: Tue, 14 Oct 2025 11:59:20 -0300
-Subject: [PATCH 1/4] tests: Remove unused variable `work_time` from
- `stress_cpu` function
-
-This `work_time` variable is not being used in the `stress_cpu`
-function. It can be removed to avoid issues with the compiler.
-
-Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
----
- tests/integration/ProcDumpTestApplication.c | 7 ++-----
- 1 file changed, 2 insertions(+), 5 deletions(-)
-
-diff --git a/tests/integration/ProcDumpTestApplication.c b/tests/integration/ProcDumpTestApplication.c
-index 949767c..9103ce3 100644
---- a/tests/integration/ProcDumpTestApplication.c
-+++ b/tests/integration/ProcDumpTestApplication.c
-@@ -82,7 +82,7 @@ void* ThreadProc(void *input)
- 
- // CPU stress function - consumes specified percentage of CPU
- void stress_cpu(int target_cpu_percentage) {
--    struct timespec work_time, sleep_time;
-+    struct timespec sleep_time;
-     long work_usec, sleep_usec;
-     
-     // Calculate work and sleep times for desired CPU percentage
-@@ -90,9 +90,6 @@ void stress_cpu(int target_cpu_percentage) {
-     work_usec = (10000 * target_cpu_percentage) / 100;
-     sleep_usec = 10000 - work_usec;
-     
--    work_time.tv_sec = work_usec / 1000000;
--    work_time.tv_nsec = (work_usec % 1000000) * 1000;
--    
-     sleep_time.tv_sec = sleep_usec / 1000000;
-     sleep_time.tv_nsec = (sleep_usec % 1000000) * 1000;
-     
-@@ -282,4 +279,4 @@ int main(int argc, char *argv[])
-         printf("No arguments specified.\n");
-         exit(1);
-     }
--}
-\ No newline at end of file
-+}
--- 
-2.50.1
-

diff --git a/0003-CMake-Add-ability-to-use-system-installed-libbpf-rat.patch b/0003-CMake-Add-ability-to-use-system-installed-libbpf-rat.patch
index 8c06950..00906d6 100644
--- a/0003-CMake-Add-ability-to-use-system-installed-libbpf-rat.patch
+++ b/0003-CMake-Add-ability-to-use-system-installed-libbpf-rat.patch
@@ -1,8 +1,8 @@
-From eb1cc6cf8803201a1d2d31ade25c46ea65c9eb19 Mon Sep 17 00:00:00 2001
+From 86fdf7644daa1068553e4b0e6cbd6f574aadb5b2 Mon Sep 17 00:00:00 2001
 From: Julio Faracco <jcfaracco@gmail.com>
 Date: Tue, 14 Oct 2025 13:27:06 -0300
-Subject: [PATCH 3/4] CMake: Add ability to use system-installed libbpf rather
- than ExternalProject_Add
+Subject: [PATCH] CMake: Add ability to use system-installed libbpf rather than
+ ExternalProject_Add
 
 This is a patchset based on PR #225.
 The PR does not work on top of 3.3 and it was rebased to be applied
@@ -10,16 +10,16 @@ cleanly.
 
 Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
 ---
- CMakeLists.txt         | 104 +++++++++++++++++++++---------
+ CMakeLists.txt         | 105 ++++++++++++++++++++++---------
  cmake/FindBpf.cmake    | 139 +++++++++++++++++++++++++++++++++++++++++
  cmake/FindLibelf.cmake |  82 ++++++++++++++++++++++++
  ebpf/procdump_ebpf.h   |   6 +-
- 4 files changed, 300 insertions(+), 31 deletions(-)
+ 4 files changed, 301 insertions(+), 31 deletions(-)
  create mode 100644 cmake/FindBpf.cmake
  create mode 100644 cmake/FindLibelf.cmake
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index c67f321..a8395f3 100644
+index b1ae451..2e8c87b 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
 @@ -31,14 +31,18 @@ cmake_policy(SET CMP0048 NEW)
@@ -43,12 +43,12 @@ index c67f321..a8395f3 100644
  #
  # package name
  #
-@@ -242,8 +246,17 @@ if(NOT APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
+@@ -267,8 +271,18 @@ if(NOT APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
  endif()
  
  if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
 -  add_dependencies(procdump libbpf procdump_ebpf)
--  target_link_libraries(procdump ${libbpf_SOURCE_DIR}/src/libbpf.a elf z pthread)
+-  target_link_libraries(procdump ${libbpf_SOURCE_DIR}/src/libbpf.a elf z pthread corex)
 +  add_dependencies(procdump procdump_ebpf)
 +
 +  list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
@@ -59,11 +59,12 @@ index c67f321..a8395f3 100644
 +         Libelf::Libelf
 +         ZLIB::ZLIB
 +         Threads::Threads
++         corex
 +  )
  else()
    target_link_libraries(procdump z pthread)
  endif()
-@@ -297,17 +310,38 @@ endif()
+@@ -322,17 +336,38 @@ endif()
  # Make ProcDump eBPF program
  #
  if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
@@ -72,7 +73,7 @@ index c67f321..a8395f3 100644
 -
 -  ExternalProject_Add(libbpf
 -      GIT_REPOSITORY https://github.com/libbpf/libbpf.git
--      GIT_TAG v1.2.2
+-      GIT_TAG v1.7.0
 -      PREFIX ./libbpf
 -      CONFIGURE_COMMAND ""
 -      BUILD_COMMAND cd ../libbpf/src && bash -c "CFLAGS=\"-g -O2 -Werror -Wall -fPIC\" make"
@@ -93,7 +94,7 @@ index c67f321..a8395f3 100644
 +
 +    ExternalProject_Add(libbpf
 +        GIT_REPOSITORY https://github.com/libbpf/libbpf.git
-+        GIT_TAG v1.2.2
++        GIT_TAG v1.7.0
 +        PREFIX ./libbpf
 +        CONFIGURE_COMMAND ""
 +        BUILD_COMMAND
@@ -113,7 +114,7 @@ index c67f321..a8395f3 100644
  
    # set binaries and options for clang and llc
    set(CLANG "clang")
-@@ -344,7 +378,7 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
+@@ -369,7 +404,7 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
                      #-I "/usr/include/x86_64-linux-gnu"
                      -I "${CMAKE_SOURCE_DIR}"
                      -I "${CMAKE_BINARY_DIR}"
@@ -122,7 +123,7 @@ index c67f321..a8395f3 100644
                      )
  
    if(NOT APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
-@@ -355,17 +389,31 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
+@@ -380,17 +415,31 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
      list(APPEND CLANG_INCLUDES -I "/usr/include/x86_64-linux-gnu")
    endif()
  
@@ -422,5 +423,5 @@ index 94a2f2c..0e912d2 100644
 \ No newline at end of file
 +#endif // __PROCDUMP_EBPF_H__
 -- 
-2.50.1
+2.55.0
 

diff --git a/0005-corex-Remove-unused-variable-num_mappings-from-elf_w.patch b/0005-corex-Remove-unused-variable-num_mappings-from-elf_w.patch
new file mode 100644
index 0000000..ce787be
--- /dev/null
+++ b/0005-corex-Remove-unused-variable-num_mappings-from-elf_w.patch
@@ -0,0 +1,5 @@
+commit afeb742b3ce6ad13bb7d65cc7305d1585612b0ba
+Author: Fedora Release Engineering <releng@fedoraproject.org>
+Date:   Sat Jan 17 05:46:10 2026 +0000
+
+    Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild

diff --git a/0006-corex-Replace-strncpy-with-memcpy-in-note_builder-to.patch b/0006-corex-Replace-strncpy-with-memcpy-in-note_builder-to.patch
new file mode 100644
index 0000000..ce787be
--- /dev/null
+++ b/0006-corex-Replace-strncpy-with-memcpy-in-note_builder-to.patch
@@ -0,0 +1,5 @@
+commit afeb742b3ce6ad13bb7d65cc7305d1585612b0ba
+Author: Fedora Release Engineering <releng@fedoraproject.org>
+Date:   Sat Jan 17 05:46:10 2026 +0000
+
+    Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild

diff --git a/0007-EventPipeHelper-Remove-unused-variable-and-function.patch b/0007-EventPipeHelper-Remove-unused-variable-and-function.patch
new file mode 100644
index 0000000..ce787be
--- /dev/null
+++ b/0007-EventPipeHelper-Remove-unused-variable-and-function.patch
@@ -0,0 +1,5 @@
+commit afeb742b3ce6ad13bb7d65cc7305d1585612b0ba
+Author: Fedora Release Engineering <releng@fedoraproject.org>
+Date:   Sat Jan 17 05:46:10 2026 +0000
+
+    Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild

diff --git a/0008-Monitor-Remove-unused-variable-found-in-histogram-pa.patch b/0008-Monitor-Remove-unused-variable-found-in-histogram-pa.patch
new file mode 100644
index 0000000..ce787be
--- /dev/null
+++ b/0008-Monitor-Remove-unused-variable-found-in-histogram-pa.patch
@@ -0,0 +1,5 @@
+commit afeb742b3ce6ad13bb7d65cc7305d1585612b0ba
+Author: Fedora Release Engineering <releng@fedoraproject.org>
+Date:   Sat Jan 17 05:46:10 2026 +0000
+
+    Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild

diff --git a/0009-Logging-Fix-buffer-size-in-LogFormatter-snprintf-vsnprintf.patch b/0009-Logging-Fix-buffer-size-in-LogFormatter-snprintf-vsnprintf.patch
new file mode 100644
index 0000000..ce787be
--- /dev/null
+++ b/0009-Logging-Fix-buffer-size-in-LogFormatter-snprintf-vsnprintf.patch
@@ -0,0 +1,5 @@
+commit afeb742b3ce6ad13bb7d65cc7305d1585612b0ba
+Author: Fedora Release Engineering <releng@fedoraproject.org>
+Date:   Sat Jan 17 05:46:10 2026 +0000
+
+    Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild

diff --git a/procdump.spec b/procdump.spec
index b337a27..a87002b 100644
--- a/procdump.spec
+++ b/procdump.spec
@@ -2,17 +2,21 @@
 %global repo_name ProcDump-for-Linux
 
 Name:           procdump
-Version:        3.5.0
-Release:        2%{?dist}
+Version:        3.5.2
+Release:        1%{?dist}
 Summary:        Sysinternals process dump utility
 
 License:        MIT
 URL:            https://github.com/Microsoft/%{repo_name}
 Source:         %{url}/archive/%{version}/%{repo_name}-%{version}.tar.gz
-Patch1:         0001-tests-Remove-unused-variable-work_time-from-stress_c.patch
 Patch2:         0002-Initialize-TerminalState-structure-properly.patch
 Patch3:         0003-CMake-Add-ability-to-use-system-installed-libbpf-rat.patch
 Patch4:         0004-cmake-Include-install-section-for-procdump-and-its-m.patch
+Patch5:         0005-corex-Remove-unused-variable-num_mappings-from-elf_w.patch
+Patch6:         0006-corex-Replace-strncpy-with-memcpy-in-note_builder-to.patch
+Patch7:         0007-EventPipeHelper-Remove-unused-variable-and-function.patch
+Patch8:         0008-Monitor-Remove-unused-variable-found-in-histogram-pa.patch
+Patch9:         0009-Logging-Fix-buffer-size-in-LogFormatter-snprintf-vsnprintf.patch
 
 BuildRequires:  gcc
 BuildRequires:  make
@@ -43,6 +47,7 @@ general process dump utility that you can embed in other scripts.
 
 
 %build
+export VERSION=%{version}
 %cmake
 %cmake_build
 
@@ -61,6 +66,11 @@ general process dump utility that you can embed in other scripts.
 
 
 %changelog
+* Wed Aug 05 2026 Julio Faracco <jfaracco@redhat.com> - 3.5.2-1
+- Adds .NET counter integration (3.5.2)
+- Adds a custom core dumper (corex) (3.5.2)
+- Add support for RHEL10, Debian 13, Ubuntu 26.04, Fedora 43 and updated dependencies (3.5.1)
+
 * Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 
@@ -71,13 +81,13 @@ general process dump utility that you can embed in other scripts.
 - Add manual trigger support for restrack snapshots
 - Use prctl syscall to enable ptrace + replace stress-ng with custom stress cpu/mem code
 
+* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
+
 * Tue Mar 18 2025 Julio Faracco <jfaracco@redhat.com> - 3.4.1-1
 - Removes the ':' separator for the date/time section of the generated core dump filename, aligning across operating systems
 - Monitor: remove useless variables
 
-* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
-
 * Tue Feb 04 2025 Julio Faracco <jfaracco@redhat.com> - 3.4.0-1
 - Add ARM64 support
 - Fix clang compilation errors due to variable length arrays

diff --git a/sources b/sources
index 8d0bcf6..545ccdd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ProcDump-for-Linux-3.5.0.tar.gz) = cc334ede41fcf429064d64db1f634a955df3dcb215e401ec97e09e258e835a8e6c758c908f12a94547be0a619a8bb9cfa1463b9f549b33548918fecdee420522
+SHA512 (ProcDump-for-Linux-3.5.2.tar.gz) = b6eb97fc89773fc75cf3add5a1a60b2010b231b3d3de6a0d0d4642168b4eb10b0c09fbf18cf11eaaac00ee34ef2b4240e430bd93dc31970e78e7412c0a249fbe

                 reply	other threads:[~2026-08-05 18:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178595579635.1.6378359556235626144.rpms-procdump-38a48b23ec98@fedoraproject.org \
    --to=jfaracco@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox