diff --git a/0001-build-add-47-version-macros.patch b/0001-build-add-47-version-macros.patch index 850c61b..4e3aa8c 100644 --- a/0001-build-add-47-version-macros.patch +++ b/0001-build-add-47-version-macros.patch @@ -1,7 +1,7 @@ -From 86cd5222dc05e81305ffb22a49cb453c2f90e055 Mon Sep 17 00:00:00 2001 +From d8b66b3fcc313e8e5075052dead588e5c2cd54c5 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 13 Nov 2024 16:11:47 -0800 -Subject: [PATCH 01/31] build: add 47 version macros +Subject: [PATCH 01/33] build: add 47 version macros --- src/libsysprof-capture/sysprof-version-macros.h | 15 +++++++++++++++ diff --git a/0002-libsysprof-elf-do-not-allow-setting-self-as-debug-li.patch b/0002-libsysprof-elf-do-not-allow-setting-self-as-debug-li.patch index 3479cf0..b504b66 100644 --- a/0002-libsysprof-elf-do-not-allow-setting-self-as-debug-li.patch +++ b/0002-libsysprof-elf-do-not-allow-setting-self-as-debug-li.patch @@ -1,7 +1,7 @@ -From c7910ee7b9f8d2b15f0b05f33e2280e3861ba9fe Mon Sep 17 00:00:00 2001 +From b4160a4a27b39b42520a9e7e6f03b47486fbde6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Wed, 9 Oct 2024 15:29:59 +0200 -Subject: [PATCH 02/31] libsysprof: elf: do not allow setting self as debug +Subject: [PATCH 02/33] libsysprof: elf: do not allow setting self as debug link That will cause infinite recursion in `sysprof_elf_get_symbol_at_address_internal()`. diff --git a/0003-libsysprof-elf-do-not-generate-fallback-names.patch b/0003-libsysprof-elf-do-not-generate-fallback-names.patch index 55b68ec..b3590a5 100644 --- a/0003-libsysprof-elf-do-not-generate-fallback-names.patch +++ b/0003-libsysprof-elf-do-not-generate-fallback-names.patch @@ -1,7 +1,7 @@ -From 8a8b5b25ff8cb9119fc781ea686826723c93d2ff Mon Sep 17 00:00:00 2001 +From 6e1f5d336fde126e30011cabccfbca555e075ac5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Wed, 9 Oct 2024 15:28:14 +0200 -Subject: [PATCH 03/31] libsysprof: elf: do not generate fallback names +Subject: [PATCH 03/33] libsysprof: elf: do not generate fallback names Fallback names are only used in `SysprofElfSymbolizer` at the moment, but it also has code to generate fallback symbols. diff --git a/0004-sysprof-update-to-AdwSpinner.patch b/0004-sysprof-update-to-AdwSpinner.patch index 5620ac3..b3e9180 100644 --- a/0004-sysprof-update-to-AdwSpinner.patch +++ b/0004-sysprof-update-to-AdwSpinner.patch @@ -1,7 +1,7 @@ -From 5fc61b27c750788e23f41ed2e87c99cca0dedd9c Mon Sep 17 00:00:00 2001 +From ad877a3a2ddb2c709398cd147c7f50344f5477d1 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 9 Oct 2024 16:39:13 -0700 -Subject: [PATCH 04/31] sysprof: update to AdwSpinner +Subject: [PATCH 04/33] sysprof: update to AdwSpinner --- src/sysprof/meson.build | 2 +- diff --git a/0005-sysprof-add-SysprofDocumentTask-abstraction.patch b/0005-sysprof-add-SysprofDocumentTask-abstraction.patch index be4b37e..fa1bbe1 100644 --- a/0005-sysprof-add-SysprofDocumentTask-abstraction.patch +++ b/0005-sysprof-add-SysprofDocumentTask-abstraction.patch @@ -1,7 +1,7 @@ -From 9e249f245e783ac4b05a04ed368ce173f732d371 Mon Sep 17 00:00:00 2001 +From 44cb987c1529d95a616db74076ac72e535e8a198 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Thu, 10 Oct 2024 17:02:06 -0700 -Subject: [PATCH 05/31] sysprof: add SysprofDocumentTask abstraction +Subject: [PATCH 05/33] sysprof: add SysprofDocumentTask abstraction This provides a task abstraction to SysprofDocumentLoader so that we can elevate information about tasks to the user interface. It also moves the @@ -93,7 +93,7 @@ index 00000000..f7982489 + +G_END_DECLS diff --git a/src/libsysprof/sysprof-document-loader.c b/src/libsysprof/sysprof-document-loader.c -index 6622f325..3cd408c4 100644 +index 2e5022ab..69eb562f 100644 --- a/src/libsysprof/sysprof-document-loader.c +++ b/src/libsysprof/sysprof-document-loader.c @@ -27,18 +27,21 @@ @@ -209,7 +209,7 @@ index 6622f325..3cd408c4 100644 set_default_symbolizer (self); } -@@ -546,6 +580,8 @@ sysprof_document_loader_load_async (SysprofDocumentLoader *self, +@@ -571,6 +605,8 @@ sysprof_document_loader_load_async (SysprofDocumentLoader *self, set_progress (0., _("Loading document"), self); @@ -218,7 +218,7 @@ index 6622f325..3cd408c4 100644 if (self->fd != -1) mapped_file_new_from_fd_async (self->fd, cancellable, -@@ -657,3 +693,94 @@ sysprof_document_loader_load (SysprofDocumentLoader *self, +@@ -682,3 +718,94 @@ sysprof_document_loader_load (SysprofDocumentLoader *self, return state.document; } @@ -314,11 +314,11 @@ index 6622f325..3cd408c4 100644 + return g_object_ref (G_LIST_MODEL (self->tasks)); +} diff --git a/src/libsysprof/sysprof-document-loader.h b/src/libsysprof/sysprof-document-loader.h -index 289dae30..b157b046 100644 +index 716b4261..e5eaeecd 100644 --- a/src/libsysprof/sysprof-document-loader.h +++ b/src/libsysprof/sysprof-document-loader.h -@@ -48,6 +48,8 @@ SYSPROF_AVAILABLE_IN_ALL - double sysprof_document_loader_get_fraction (SysprofDocumentLoader *self); +@@ -50,6 +50,8 @@ G_GNUC_INTERNAL + char *sysprof_document_loader_dup_message (SysprofDocumentLoader *self); SYSPROF_AVAILABLE_IN_ALL const char *sysprof_document_loader_get_message (SysprofDocumentLoader *self); +SYSPROF_AVAILABLE_IN_47 diff --git a/0006-libsysprof-add-setup-hooks-for-symbolizers.patch b/0006-libsysprof-add-setup-hooks-for-symbolizers.patch index 825fc1c..3e80f78 100644 --- a/0006-libsysprof-add-setup-hooks-for-symbolizers.patch +++ b/0006-libsysprof-add-setup-hooks-for-symbolizers.patch @@ -1,7 +1,7 @@ -From 3633d7b645c4db819cf2263ae32fa63b413c5eb9 Mon Sep 17 00:00:00 2001 +From fb70b977c3ae7d5327621892650f7f42a0c4addd Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Thu, 10 Oct 2024 17:03:30 -0700 -Subject: [PATCH 06/31] libsysprof: add setup hooks for symbolizers +Subject: [PATCH 06/33] libsysprof: add setup hooks for symbolizers This gives the symbolizer access to the loader so we can propagate tasks back to it. diff --git a/0007-libsysprof-hoist-fallback-symbol-creation.patch b/0007-libsysprof-hoist-fallback-symbol-creation.patch index c70cb3c..320501b 100644 --- a/0007-libsysprof-hoist-fallback-symbol-creation.patch +++ b/0007-libsysprof-hoist-fallback-symbol-creation.patch @@ -1,7 +1,7 @@ -From 271b9abbbca3b334f95cb70141fac9ad2452f3f5 Mon Sep 17 00:00:00 2001 +From 64e1f7898211cbb000f6034b7dc54fca677cd818 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Thu, 10 Oct 2024 17:04:19 -0700 -Subject: [PATCH 07/31] libsysprof: hoist fallback symbol creation +Subject: [PATCH 07/33] libsysprof: hoist fallback symbol creation This makes sure that we get that even when not using the Elf symbolizer but also means we can fallback through the Elf symbolizer into the diff --git a/0008-libsysprof-add-debuginfod-symbolizer.patch b/0008-libsysprof-add-debuginfod-symbolizer.patch index e3c6d81..83a40c9 100644 --- a/0008-libsysprof-add-debuginfod-symbolizer.patch +++ b/0008-libsysprof-add-debuginfod-symbolizer.patch @@ -1,7 +1,7 @@ -From 18f01748814e558f3b2754ef9c541e8e4b2b3fb0 Mon Sep 17 00:00:00 2001 +From 6295f7ed955cb12adda8d06d4aaa25654a936014 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Thu, 10 Oct 2024 17:07:21 -0700 -Subject: [PATCH 08/31] libsysprof: add debuginfod symbolizer +Subject: [PATCH 08/33] libsysprof: add debuginfod symbolizer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -39,7 +39,7 @@ index d2f7589a..48b3c2c2 100644 #mesondefine HAVE_POLKIT diff --git a/meson.build b/meson.build -index 96c1d093..bac8eae6 100644 +index dda0ca4e..81e97072 100644 --- a/meson.build +++ b/meson.build @@ -63,6 +63,7 @@ gio_unix_dep = dependency('gio-unix-2.0', version: glib_req_version, @@ -563,7 +563,7 @@ index 00000000..0f996d09 + return g_steal_pointer (&debuginfo_elf); +} diff --git a/src/libsysprof/sysprof-document-loader.c b/src/libsysprof/sysprof-document-loader.c -index 3cd408c4..00b525df 100644 +index 69eb562f..808f6f0d 100644 --- a/src/libsysprof/sysprof-document-loader.c +++ b/src/libsysprof/sysprof-document-loader.c @@ -196,7 +196,6 @@ static void diff --git a/0009-libsysprof-ensure-access-to-process-info.patch b/0009-libsysprof-ensure-access-to-process-info.patch index 4e1d0af..a84f34a 100644 --- a/0009-libsysprof-ensure-access-to-process-info.patch +++ b/0009-libsysprof-ensure-access-to-process-info.patch @@ -1,7 +1,7 @@ -From 9895b74a43dcbb41704572d2304d03d4d24397f2 Mon Sep 17 00:00:00 2001 +From cf4cb19a108e0559c053217054fc0735a1c6dd38 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Fri, 11 Oct 2024 11:08:52 -0700 -Subject: [PATCH 09/31] libsysprof: ensure access to process info +Subject: [PATCH 09/33] libsysprof: ensure access to process info --- src/libsysprof/sysprof-document-symbols.c | 3 +++ diff --git a/0010-libsysprof-fix-building-with-Ddebuginfod-auto.patch b/0010-libsysprof-fix-building-with-Ddebuginfod-auto.patch index 96b21e8..ae5357b 100644 --- a/0010-libsysprof-fix-building-with-Ddebuginfod-auto.patch +++ b/0010-libsysprof-fix-building-with-Ddebuginfod-auto.patch @@ -1,7 +1,7 @@ -From 2c89e348dd469913cf80a1dc4f003aaf5ae7c2ba Mon Sep 17 00:00:00 2001 +From 9010015eee1bf984ce19d0653f921921e49927b9 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Fri, 11 Oct 2024 11:26:13 -0700 -Subject: [PATCH 10/31] libsysprof: fix building with -Ddebuginfod=auto +Subject: [PATCH 10/33] libsysprof: fix building with -Ddebuginfod=auto --- src/libsysprof/meson.build | 2 +- diff --git a/0011-libsysprof-return-NULL-instance-unless-debuginfod-wo.patch b/0011-libsysprof-return-NULL-instance-unless-debuginfod-wo.patch index 71e264c..8c799f9 100644 --- a/0011-libsysprof-return-NULL-instance-unless-debuginfod-wo.patch +++ b/0011-libsysprof-return-NULL-instance-unless-debuginfod-wo.patch @@ -1,7 +1,7 @@ -From c81b5ae5e690eba77498c3a79db168467641d286 Mon Sep 17 00:00:00 2001 +From ebd0abcaa340e5377b481a5c338c1faa1e14069c Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Fri, 11 Oct 2024 11:45:41 -0700 -Subject: [PATCH 11/31] libsysprof: return NULL instance unless debuginfod +Subject: [PATCH 11/33] libsysprof: return NULL instance unless debuginfod works If we are configured with support for debuginfod and it fails to initialize diff --git a/0012-build-always-build-debuginfod-symbolizer.patch b/0012-build-always-build-debuginfod-symbolizer.patch index ee0b628..948d52c 100644 --- a/0012-build-always-build-debuginfod-symbolizer.patch +++ b/0012-build-always-build-debuginfod-symbolizer.patch @@ -1,7 +1,7 @@ -From e15c1147f1543af5900f1caa8c1adf41a52a8a68 Mon Sep 17 00:00:00 2001 +From 87493c9dc1602fbafcf85088ed9e7d75ac201209 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Fri, 11 Oct 2024 11:46:26 -0700 -Subject: [PATCH 12/31] build: always build debuginfod symbolizer +Subject: [PATCH 12/33] build: always build debuginfod symbolizer Even if it is disabled, we want the GType enabled and part of our ABI. We will return NULL if one is created and debuginfod is not supported or if diff --git a/0013-libsysprof-remove-unnecessary-address-calculation.patch b/0013-libsysprof-remove-unnecessary-address-calculation.patch index b529160..4ac9427 100644 --- a/0013-libsysprof-remove-unnecessary-address-calculation.patch +++ b/0013-libsysprof-remove-unnecessary-address-calculation.patch @@ -1,7 +1,7 @@ -From 2f9eb12a3348ae41d51bbeb56fd293c5204b7851 Mon Sep 17 00:00:00 2001 +From 46cfce5d4a9134cbfa8dc8a2a58183aaf712c6c1 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 23 Oct 2024 11:54:33 -0700 -Subject: [PATCH 13/31] libsysprof: remove unnecessary address calculation +Subject: [PATCH 13/33] libsysprof: remove unnecessary address calculation We are only fallback symbols here, which is 1 address-wide. --- diff --git a/0014-libsysprof-add-muxer-GSource.patch b/0014-libsysprof-add-muxer-GSource.patch index 298bc31..8ef1b83 100644 --- a/0014-libsysprof-add-muxer-GSource.patch +++ b/0014-libsysprof-add-muxer-GSource.patch @@ -1,7 +1,7 @@ -From 917b05544e46282ee3d77dcd4ab050df5f80a1d3 Mon Sep 17 00:00:00 2001 +From 10eedcee3f592f1402dbb8e74894170a885e6669 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Fri, 25 Oct 2024 10:49:15 -0700 -Subject: [PATCH 14/31] libsysprof: add muxer GSource +Subject: [PATCH 14/33] libsysprof: add muxer GSource This allows copying events from a capture stream transparently into the destination. No processing of the stream is performed, but that may change diff --git a/0015-libsysprof-add-support-for-stack-regs-options-in-att.patch b/0015-libsysprof-add-support-for-stack-regs-options-in-att.patch index 260985e..028700a 100644 --- a/0015-libsysprof-add-support-for-stack-regs-options-in-att.patch +++ b/0015-libsysprof-add-support-for-stack-regs-options-in-att.patch @@ -1,7 +1,7 @@ -From 4583026b751c3d00294ecec6ed1be11dcaf17623 Mon Sep 17 00:00:00 2001 +From 5fbfc3b1ce324868fa48c00f12ceea0a07e4dcda Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Sun, 3 Nov 2024 10:39:23 -0800 -Subject: [PATCH 15/31] libsysprof: add support for stack/regs options in attr +Subject: [PATCH 15/33] libsysprof: add support for stack/regs options in attr This requires a coordinating sysprofd that knows how to handle reading the new attributes. Setting these fields will allow snapshotting the contents diff --git a/0016-sysprofd-add-support-for-unwinding-without-frame-poi.patch b/0016-sysprofd-add-support-for-unwinding-without-frame-poi.patch index e8c8178..028cfa7 100644 --- a/0016-sysprofd-add-support-for-unwinding-without-frame-poi.patch +++ b/0016-sysprofd-add-support-for-unwinding-without-frame-poi.patch @@ -1,7 +1,7 @@ -From 41248249b257bcb017465e3f7c70dcb19dbd121d Mon Sep 17 00:00:00 2001 +From 159d6e507eab08796670d7266b000e55122cdebd Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Sun, 3 Nov 2024 10:41:44 -0800 -Subject: [PATCH 16/31] sysprofd: add support for unwinding without frame +Subject: [PATCH 16/33] sysprofd: add support for unwinding without frame pointers This provides a new sysprof-live-unwinder subprocess that runs as root to @@ -50,7 +50,7 @@ of debuginfod to locate the appropriate symbols. create mode 100644 src/sysprofd/org.gnome.Sysprof3.Unwinder.xml diff --git a/meson.build b/meson.build -index bac8eae6..16d64e8a 100644 +index 81e97072..9c37ebc4 100644 --- a/meson.build +++ b/meson.build @@ -39,12 +39,13 @@ need_glib = (need_gtk or diff --git a/0017-libsysprof-add-SysprofUserSampler-for-live-unwinding.patch b/0017-libsysprof-add-SysprofUserSampler-for-live-unwinding.patch index 058bf0a..7475d43 100644 --- a/0017-libsysprof-add-SysprofUserSampler-for-live-unwinding.patch +++ b/0017-libsysprof-add-SysprofUserSampler-for-live-unwinding.patch @@ -1,7 +1,7 @@ -From a58aa3b33173e5fab8ec81b6b2961e2113ea716b Mon Sep 17 00:00:00 2001 +From bbf467f63a4e7df9076a6ec98bb264c83463dcc3 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Sun, 3 Nov 2024 10:53:29 -0800 -Subject: [PATCH 17/31] libsysprof: add SysprofUserSampler for live unwinding +Subject: [PATCH 17/33] libsysprof: add SysprofUserSampler for live unwinding This instrument triggers the live unwinder in sysprofd to capture a pre-configured amount of stack contents and CPU registers. You can use diff --git a/0018-sysprof-cli-add-support-for-live-unwinding.patch b/0018-sysprof-cli-add-support-for-live-unwinding.patch index f393f26..08a3e1b 100644 --- a/0018-sysprof-cli-add-support-for-live-unwinding.patch +++ b/0018-sysprof-cli-add-support-for-live-unwinding.patch @@ -1,7 +1,7 @@ -From f7118874cfac04b8febf38ee9b073b6d46cc3f08 Mon Sep 17 00:00:00 2001 +From 7db5bbdc1e38733a92dda6289e21d9fc71713141 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Sun, 3 Nov 2024 10:54:57 -0800 -Subject: [PATCH 18/31] sysprof-cli: add support for live unwinding +Subject: [PATCH 18/33] sysprof-cli: add support for live unwinding This allows you to specify --stack-size=(multiple_of_page_size) to unwind from captured stack contents. It will use the new SysprofUserSampler to diff --git a/0019-sysprof-add-UI-for-live-unwinding.patch b/0019-sysprof-add-UI-for-live-unwinding.patch index 963efa2..001febd 100644 --- a/0019-sysprof-add-UI-for-live-unwinding.patch +++ b/0019-sysprof-add-UI-for-live-unwinding.patch @@ -1,7 +1,7 @@ -From f02e19820e5a3b223f2b563946daa80693c98ca2 Mon Sep 17 00:00:00 2001 +From f145cc8b98e7ca05a27ec059133b4d09cc993d15 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Sun, 3 Nov 2024 10:57:58 -0800 -Subject: [PATCH 19/31] sysprof: add UI for live unwinding +Subject: [PATCH 19/33] sysprof: add UI for live unwinding This adds UI to specify the amount of stack contents to copy along with the CPU registers so that you may unwind in user-space. diff --git a/0020-sysprof-live-unwinder-ifdef-unused-code-off-x86.patch b/0020-sysprof-live-unwinder-ifdef-unused-code-off-x86.patch index c7184b9..95f0058 100644 --- a/0020-sysprof-live-unwinder-ifdef-unused-code-off-x86.patch +++ b/0020-sysprof-live-unwinder-ifdef-unused-code-off-x86.patch @@ -1,7 +1,7 @@ -From 51c7529c515c2e5c4362676e44f2679ce8cc66db Mon Sep 17 00:00:00 2001 +From 32939c7cf0e13f85306a5e40da3b47cdc1ed4799 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Mon, 4 Nov 2024 14:21:15 -0800 -Subject: [PATCH 20/31] sysprof-live-unwinder: ifdef unused code off x86 +Subject: [PATCH 20/33] sysprof-live-unwinder: ifdef unused code off x86 Fixes a compiler warning about unused functions. --- diff --git a/0021-sysprof-only-show-user-stack-sampling-on-x86.patch b/0021-sysprof-only-show-user-stack-sampling-on-x86.patch index b5553e5..0c71327 100644 --- a/0021-sysprof-only-show-user-stack-sampling-on-x86.patch +++ b/0021-sysprof-only-show-user-stack-sampling-on-x86.patch @@ -1,7 +1,7 @@ -From 7ae54a2e334dead967216f17455026fbcf256186 Mon Sep 17 00:00:00 2001 +From f5613c77d162340ae33877d04c23195587ce6c31 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Mon, 4 Nov 2024 14:25:07 -0800 -Subject: [PATCH 21/31] sysprof: only show user stack sampling on x86 +Subject: [PATCH 21/33] sysprof: only show user stack sampling on x86 That is the only place it works currently (and is necessary). --- diff --git a/0022-libsysprof-check-for-PERF_REG_EXTENDED_MASK-availabi.patch b/0022-libsysprof-check-for-PERF_REG_EXTENDED_MASK-availabi.patch index 0c3cc36..817fd5b 100644 --- a/0022-libsysprof-check-for-PERF_REG_EXTENDED_MASK-availabi.patch +++ b/0022-libsysprof-check-for-PERF_REG_EXTENDED_MASK-availabi.patch @@ -1,7 +1,7 @@ -From be843d84b49f7cd7ce15352ab187e4197cdd887e Mon Sep 17 00:00:00 2001 +From b62d99c8e706b6b0d6db0b11dd3d9a322305412a Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Fri, 8 Nov 2024 11:42:04 -0800 -Subject: [PATCH 22/31] libsysprof: check for PERF_REG_EXTENDED_MASK +Subject: [PATCH 22/33] libsysprof: check for PERF_REG_EXTENDED_MASK availability --- diff --git a/0023-sysprof-live-unwinder-fix-source-func-prototype.patch b/0023-sysprof-live-unwinder-fix-source-func-prototype.patch index 1464ba7..5294474 100644 --- a/0023-sysprof-live-unwinder-fix-source-func-prototype.patch +++ b/0023-sysprof-live-unwinder-fix-source-func-prototype.patch @@ -1,7 +1,7 @@ -From ed19a1b29cf6adc628432128bf6162c1446d5a46 Mon Sep 17 00:00:00 2001 +From b3c6e9d346d6c3a4a55d0438d43f6872f5821937 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Tue, 12 Nov 2024 14:45:57 -0800 -Subject: [PATCH 23/31] sysprof-live-unwinder: fix source func prototype +Subject: [PATCH 23/33] sysprof-live-unwinder: fix source func prototype While this looks like a GSource, the implementation type requires that it actually be a GUnixFDSourceFunc. diff --git a/0024-sysprof-live-unwinder-handle-large-stack-unwind-size.patch b/0024-sysprof-live-unwinder-handle-large-stack-unwind-size.patch index 3bfe7ff..cce221a 100644 --- a/0024-sysprof-live-unwinder-handle-large-stack-unwind-size.patch +++ b/0024-sysprof-live-unwinder-handle-large-stack-unwind-size.patch @@ -1,7 +1,7 @@ -From 4b28282e30ee9ee483d3ed31a27956a5b35d2e95 Mon Sep 17 00:00:00 2001 +From e835e6914d90fb9dc45350e52ac654f526478cc5 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 13 Nov 2024 15:29:15 -0800 -Subject: [PATCH 24/31] sysprof-live-unwinder: handle large stack unwind sizes +Subject: [PATCH 24/33] sysprof-live-unwinder: handle large stack unwind sizes --- src/sysprof-live-unwinder/sysprof-live-unwinder.c | 5 +++++ diff --git a/0025-unwinder-wait-for-completion-of-subprocess.patch b/0025-unwinder-wait-for-completion-of-subprocess.patch index 8523ea2..77f3422 100644 --- a/0025-unwinder-wait-for-completion-of-subprocess.patch +++ b/0025-unwinder-wait-for-completion-of-subprocess.patch @@ -1,7 +1,7 @@ -From 767e26c0aa2379312da5b029f924f765d90edce8 Mon Sep 17 00:00:00 2001 +From 68f856e8b2617823c1e00e4e4cfaf6da4ce24bcd Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 13 Nov 2024 15:46:01 -0800 -Subject: [PATCH 25/31] unwinder: wait for completion of subprocess +Subject: [PATCH 25/33] unwinder: wait for completion of subprocess --- src/sysprofd/ipc-unwinder-impl.c | 28 +++++++++++++++++++++++++++- diff --git a/0026-sysprof-user-sampler-implement-await-for-FDs.patch b/0026-sysprof-user-sampler-implement-await-for-FDs.patch index ceaf768..c1cf08a 100644 --- a/0026-sysprof-user-sampler-implement-await-for-FDs.patch +++ b/0026-sysprof-user-sampler-implement-await-for-FDs.patch @@ -1,7 +1,7 @@ -From 12d0c969b83878d69f36255004b0dae6736a6c03 Mon Sep 17 00:00:00 2001 +From 8c2f3644eaf310a2f7ebe5ee14945a684d2ff929 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 6 Nov 2024 15:09:13 -0800 -Subject: [PATCH 26/31] sysprof-user-sampler: implement await for FDs +Subject: [PATCH 26/33] sysprof-user-sampler: implement await for FDs This allows us to not need libdex 0.9+ for use by the sampler. --- diff --git a/0027-libsysprof-provide-unwind-pipe-from-client.patch b/0027-libsysprof-provide-unwind-pipe-from-client.patch index add3b13..c55588e 100644 --- a/0027-libsysprof-provide-unwind-pipe-from-client.patch +++ b/0027-libsysprof-provide-unwind-pipe-from-client.patch @@ -1,7 +1,7 @@ -From 6812ec432141fbdf0754e90d1e7a3d5667b14bf0 Mon Sep 17 00:00:00 2001 +From 9298df725192e8240227ea66abd68b8bcd508067 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 13 Nov 2024 15:40:52 -0800 -Subject: [PATCH 27/31] libsysprof: provide unwind pipe from client +Subject: [PATCH 27/33] libsysprof: provide unwind pipe from client We don't need a socketpair for this. Additionally, things seem to work better from the service when the client provides the pipe. Otherwise, when diff --git a/0028-sysprof-live-unwinder-error-out-on-capture-failure.patch b/0028-sysprof-live-unwinder-error-out-on-capture-failure.patch index e9494c0..ef898ba 100644 --- a/0028-sysprof-live-unwinder-error-out-on-capture-failure.patch +++ b/0028-sysprof-live-unwinder-error-out-on-capture-failure.patch @@ -1,7 +1,7 @@ -From 6cdafd91ef71b15af66107b37a5db6b5a3dcd319 Mon Sep 17 00:00:00 2001 +From 271be03e633489dde7ff8329d40bf0dc4dfeef8a Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 13 Nov 2024 15:41:33 -0800 -Subject: [PATCH 28/31] sysprof-live-unwinder: error out on capture failure +Subject: [PATCH 28/33] sysprof-live-unwinder: error out on capture failure --- src/sysprof-live-unwinder/main.c | 8 +++++++- diff --git a/0029-sysprofd-remove-unused-code.patch b/0029-sysprofd-remove-unused-code.patch index 4234f45..8878e07 100644 --- a/0029-sysprofd-remove-unused-code.patch +++ b/0029-sysprofd-remove-unused-code.patch @@ -1,7 +1,7 @@ -From d2d0467c28a4c2b9288cec5cfa83c42ec94c533f Mon Sep 17 00:00:00 2001 +From 740a7f3463ac694a21ea6379878d5b8893904b4d Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 13 Nov 2024 15:53:12 -0800 -Subject: [PATCH 29/31] sysprofd: remove unused code +Subject: [PATCH 29/33] sysprofd: remove unused code --- src/sysprofd/ipc-unwinder-impl.c | 7 ------- diff --git a/0030-build-lower-libpanel-requirement-to-ease-some-build-.patch b/0030-build-lower-libpanel-requirement-to-ease-some-build-.patch index 77f534e..29a41f4 100644 --- a/0030-build-lower-libpanel-requirement-to-ease-some-build-.patch +++ b/0030-build-lower-libpanel-requirement-to-ease-some-build-.patch @@ -1,7 +1,7 @@ -From 2ab855d5fdfd70948e6deeef3cfafb759d1c91f7 Mon Sep 17 00:00:00 2001 +From 111a0f26211ab70a725a267a29dd994b6bb1d0c2 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 13 Nov 2024 15:54:12 -0800 -Subject: [PATCH 30/31] build: lower libpanel requirement to ease some build +Subject: [PATCH 30/33] build: lower libpanel requirement to ease some build systems --- diff --git a/0031-build-allow-await-for-FD-with-older-libdex.patch b/0031-build-allow-await-for-FD-with-older-libdex.patch index e3d0121..cf2b6b6 100644 --- a/0031-build-allow-await-for-FD-with-older-libdex.patch +++ b/0031-build-allow-await-for-FD-with-older-libdex.patch @@ -1,7 +1,7 @@ -From d34689ff54650a581a2af3595a6f42c7d5c0166e Mon Sep 17 00:00:00 2001 +From 8defbb0f094fc2b265cde7aff367cc70b07040c6 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 13 Nov 2024 16:20:06 -0800 -Subject: [PATCH 31/31] build: allow await for FD with older libdex +Subject: [PATCH 31/33] build: allow await for FD with older libdex This just makes backports easier. --- @@ -13,7 +13,7 @@ This just makes backports easier. 5 files changed, 37 insertions(+), 29 deletions(-) diff --git a/meson.build b/meson.build -index 16d64e8a..e2a9a995 100644 +index 9c37ebc4..462782d9 100644 --- a/meson.build +++ b/meson.build @@ -45,7 +45,7 @@ need_libsysprof = (need_gtk or diff --git a/0032-sysprof-default-stack-capturing-as-enabled.patch b/0032-sysprof-default-stack-capturing-as-enabled.patch index a6934f0..a3b8505 100644 --- a/0032-sysprof-default-stack-capturing-as-enabled.patch +++ b/0032-sysprof-default-stack-capturing-as-enabled.patch @@ -1,7 +1,7 @@ -From 99f807240e4be653a122b9e443cd38782962bc59 Mon Sep 17 00:00:00 2001 +From 6218a7ad75442e33fed2c838f123b101cdd893c5 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 6 Nov 2024 13:09:31 -0800 -Subject: [PATCH] sysprof: default stack-capturing as enabled +Subject: [PATCH 32/33] sysprof: default stack-capturing as enabled This is for CentOS/RHEL only as other distributions have frame-pointers. --- diff --git a/0033-tests-fix-test-on-s390.patch b/0033-tests-fix-test-on-s390.patch index d4ad5df..8e5c32f 100644 --- a/0033-tests-fix-test-on-s390.patch +++ b/0033-tests-fix-test-on-s390.patch @@ -1,7 +1,7 @@ -From 08d94d9b982e5d4a6e7a67b45ae71bd51ca3fe0d Mon Sep 17 00:00:00 2001 +From 2e953d462972ecdf192832f8d0a723beba689386 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 13 Nov 2024 17:16:44 -0800 -Subject: [PATCH] tests: fix test on s390 +Subject: [PATCH 33/33] tests: fix test on s390 --- src/sysprof-live-unwinder/tests/test-live-unwinder.c | 6 +++++- diff --git a/sources b/sources index 275e5fa..448761a 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (sysprof-47.1.tar.xz) = 9f8db2169c761109f27fe45f805f863b6f15f35cc7ad8ccaf68f047446dc8552c27a340442a1466f719b588045573f9a9c0e4fa1ea15f33f12074ca64a074e7c +SHA512 (sysprof-47.2.tar.xz) = 3673b8035ba115f581c3d4d881a6ac99f15d96d461f5d0824d727cfb504ae41363c5b5e0fc117acd202b203c251bb514e53307799c1dbea1d2b0d320ed2fd104 SHA512 (libunwind-1.8.1.tar.gz) = aba7b578c1b8cbe78f05b64e154f3530525f8a34668b2a9f1ee6acb4b22c857befe34ad4e9e8cca99dbb66689d41bc72060a8f191bd8be232725d342809431b3 diff --git a/sysprof.spec b/sysprof.spec index 53c1061..c54f378 100644 --- a/sysprof.spec +++ b/sysprof.spec @@ -8,7 +8,7 @@ %endif Name: sysprof -Version: 47.1 +Version: 47.2 Release: %autorelease Summary: A system-wide Linux profiler