diff mbox series

[meta-oe,5/8] pg-wait-sampling: add recipe

Message ID 20261206184418.7-6-bbnpreetsingh@gmail.com
State New
Headers show
Series PostgreSQL extensions with ptest | expand

Commit Message

Babanpreet Singh Dec. 6, 2026, 6:44 p.m. UTC
pg_wait_sampling samples the wait events of PostgreSQL processes and
keeps them as a history and a profile.

Signed-off-by: Babanpreet Singh <bbnpreetsingh@gmail.com>
---
 .../conf/include/ptest-packagelists-meta-oe.inc    |  1 +
 .../pg-wait-sampling/pg-wait-sampling_1.1.11.bb    | 14 ++++++++++++++
 2 files changed, 15 insertions(+)
 create mode 100644 meta-oe/recipes-dbs/pg-wait-sampling/pg-wait-sampling_1.1.11.bb
diff mbox series

Patch

diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
index a7c982a748..e09f902b9d 100644
--- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
+++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
@@ -60,6 +60,7 @@  PTESTS_FAST_META_OE = "\
     pegtl \
     pg-cron \
     pg-ivm \
+    pg-wait-sampling \
     pv \
     sdbus-c++ \
     tomlplusplus \
diff --git a/meta-oe/recipes-dbs/pg-wait-sampling/pg-wait-sampling_1.1.11.bb b/meta-oe/recipes-dbs/pg-wait-sampling/pg-wait-sampling_1.1.11.bb
new file mode 100644
index 0000000000..d1fb814abd
--- /dev/null
+++ b/meta-oe/recipes-dbs/pg-wait-sampling/pg-wait-sampling_1.1.11.bb
@@ -0,0 +1,14 @@ 
+SUMMARY = "Sampling based statistics of wait events for PostgreSQL"
+DESCRIPTION = "pg_wait_sampling collects the wait events of PostgreSQL \
+processes with a background worker that samples them at a fixed rate, \
+and shows the current events, a history and a per-process profile in \
+views. It must be loaded with shared_preload_libraries."
+HOMEPAGE = "https://github.com/postgrespro/pg_wait_sampling"
+BUGTRACKER = "https://github.com/postgrespro/pg_wait_sampling/issues"
+LICENSE = "PostgreSQL"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4860e45b6d5cad8a7bce7d1118ade4dc"
+
+SRC_URI = "git://github.com/postgrespro/pg_wait_sampling.git;protocol=https;branch=master;tag=v${PV}"
+SRCREV = "7e3a5fc937393596c0a51c5881dd63d7208408d1"
+
+inherit ptest-pgxs