From patchwork Sun Dec 6 18:44:15 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Babanpreet Singh X-Patchwork-Id: 107565 Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.706.1796582667640509154 for ; Sun, 06 Dec 2026 10:44:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=PEywDfl3; spf=pass (domain: gmail.com, ip: 209.85.214.172, mailfrom: bbnpreetsingh@gmail.com) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-2f03f3631b2so16169805ad.2 for ; Sun, 06 Dec 2026 10:44:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796582667; x=1797187467; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Mgjsb5fR9CfZLlzcMEghjAvMuPMzUIHZCrZKYJXkwRo=; b=PEywDfl3IsT9zEtKH3gP9QRFmbK6rWCu8iklLWlBzDZ9PTkxe5bcW8/CvZ4byuT103 71wQzHtGEniPZdKq2cUHQdpFyYWii1X8dJfprxdmBGEIDq1wG9dZzHS+Eyq7uJeiz5zL 3euFw4dJ7+Orp6LouMSrBWg91q00RSTRW5jGO8mDrKz0IZ7EysRgmMQSLXf96nkdrC6N 4/ryPuvZJwsUQl0gv8a+Aq/MKJgADvJq0nZTRMhwnrL3lJkyig5Rtp5UZsmpY+cQPXqP zuT+G/6ULocuKQVfNBw3O+gYTowxL7I0jj/L1UdqOVNdmKtkUR/fD4ZN9ZtlAqHPC5Af aKmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796582667; x=1797187467; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=Mgjsb5fR9CfZLlzcMEghjAvMuPMzUIHZCrZKYJXkwRo=; b=BhG1usXY40PTna3E701O870nYE3Ityeh0C67WaPd+VA5u3PBQinpPmNWW1J64TuSgV dv0//M9h7bSuUYDh8VRymB1myXs6/AKlnZV+asXYHjw+67wWENsbDfDpY2j4qVrWxQPY fateFd+P2BPvvm4PyhZoE+M06GJF/iuewTv32OH+hmA7qYNfVzjiSFwUqS/LdeF045ih V0IiC29hCb937GSgkF5ZqEyuPeECOdAgbltd5tRNSYjgTX4/wqXoe9KMOA1Q9azR7x7v ecHBg4UqR7hq+zq+wmQtP5xpBTeutdjaBXtZNW7krzSqCrv1c8U0beJPMko4sX/cNB/e 979Q== X-Gm-Message-State: AB4q+uFIZSzYrM0epvscDc54rcDlIPVv0sx/taM672DL2OyN+8lzBjFp SZnLjBO5ket2RyN5VL+Unq+yL6pYXeBnj5vJpzKd5D5En+bBIjYPuYRRz+QgYtGo X-Gm-Gg: AZFdTZeXkkaEGesaSWQd9/JaXN5RTQg6bDY45gZdnW7lkNzxaUhxwz8SKlOwXx4Xprv ElpqWjIWVbV/STtc2ybYcc0twXpauminGfoVPtSFe6LeGZZoKRHe/LXp17qTsIV4TyPRgZHuUNW ZCAI1bCbNdW6oefEqlPcMXGyUg68d+e8Xh1dDTnm4hqwMWKDZHogKSzTTtt1UW+xj3Ll2w7iHf0 oj58Cd08XmbeXtMpcb/7cNwnYRLWndbEAh8XhtV8IBD9A3nFT3PaRhw4Z2/n+SZvWFHC1qQyv0O EN7NHvtPmO7y7XiFEjexUJaXqAvXtcjZ7HAkHdyZak1aGhEWu2DCUYsJh9Jy+6NEPCIhDZ0bTbQ q1CtMwhCOgv4qqtvJphJVuM6r0RNrNlYfhQFQNfK+elDDng+hGVyr50mg6V5kAve5j2KiYgXvi+ U14c2ZJgX0ZJJkLA7LRn95WoxKAoPhFjv31r9sDuKUXevJgUsAhFu2ENwgNsyABRmyHAVu+4djt N3WL+qPoovSjr+1Ilpj3Q25ZLbx6cuefOvW+GmlN1q8afLtRHzf6uioerairwZjGaKEMcigZLQI I6K27S796hmNlukAmq+L9qgDfO9ZpUHggJnnUXM5SKyXORTI7h+yZ2Zcx3PAmTU= X-Received: by 2002:a17:903:240c:b0:2f1:7311:e4bc with SMTP id d9443c01a7336-2f1ba0c85d0mr72137505ad.18.1796582667011; Sun, 06 Dec 2026 10:44:27 -0800 (PST) Return-Path: Received: from localhost.localdomain ([108.180.159.198]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2f1b791c626sm36011495ad.35.2026.12.06.10.44.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Dec 2026 10:44:26 -0800 (PST) From: Babanpreet Singh To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Babanpreet Singh Subject: [meta-oe][PATCH 5/8] pg-wait-sampling: add recipe Date: Sun, 6 Dec 2026 18:44:15 +0000 Message-ID: <20261206184418.7-6-bbnpreetsingh@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261206184418.7-1-bbnpreetsingh@gmail.com> References: <20261206184418.7-1-bbnpreetsingh@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Sun, 06 Dec 2026 18:44:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/134157 pg_wait_sampling samples the wait events of PostgreSQL processes and keeps them as a history and a profile. Signed-off-by: Babanpreet Singh --- .../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 --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