Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
0ea70c7
Introduces numa_maps metrics inside linux_proc pmda
sourav-sharma796 Feb 4, 2026
2fcce9f
src/pmcd/pmdaproc.sh: fix check for gmake in _install()
kmcdonell Mar 16, 2026
69032eb
build(deps): bump docker/metadata-action from 5 to 6
dependabot[bot] Mar 16, 2026
e4f9655
test: add integration test for network.all.* aggregate metrics
tallpsmith Mar 16, 2026
de4154f
Add CLUSTER_NETWORK_ALL enum for aggregate network metrics
tallpsmith Mar 16, 2026
27e2455
Add net_all_t struct for aggregate network statistics
tallpsmith Mar 16, 2026
53b51a0
Implement network.all.* aggregation and fetch logic
tallpsmith Mar 16, 2026
d56f084
Wire network.all.* cluster into PMDA refresh and fetch dispatch
tallpsmith Mar 16, 2026
21066e6
Register 12 network.all.* metrics in metric table
tallpsmith Mar 16, 2026
8302dab
Add network.all.* PMNS namespace entries
tallpsmith Mar 16, 2026
2612b85
Add help text for network.all.* aggregate metrics
tallpsmith Mar 16, 2026
5c9d2da
Merge branch 'sourav-sharma796-add_numa_metrics'
natoscott Mar 18, 2026
a7dae03
Merge branch 'feature/darwin-network-all-metrics' of github.com:tallp…
natoscott Mar 18, 2026
0af47cb
qa: remake test 1987 after recent pcp-ps tool changes
natoscott Mar 18, 2026
f0f19d9
Merge pull request #2531 from performancecopilot/dependabot/github_ac…
natoscott Mar 18, 2026
a7d542c
pmda/rds: move RDS domain number to fill empty slots
Hannibal404 Mar 19, 2026
05a2c67
pmcd, pmproxy: ensure pmcd.services metric functions on macOS
natoscott Mar 19, 2026
bf0dfb6
src/libpcp/src/logmeta.c: rework __pmLogUndeltaInDom()
kmcdonell Mar 19, 2026
c4a3d41
scripts/tests-from-commits: updates to match current git tree
kmcdonell Mar 19, 2026
c2c72fb
scripts/fix-md: add -k to check tables
kmcdonell Mar 19, 2026
8b2749c
qa/grind: report iteration number when .out.bad found
kmcdonell Mar 19, 2026
9f1740c
qa/group: add a couple of tests to the indom group
kmcdonell Mar 19, 2026
04f2651
qa/COOKBOOK.md: next iteration adding content
kmcdonell Mar 19, 2026
f54fdf0
Merge branch 'performancecopilot:main' into main
kmcdonell Mar 19, 2026
34b4f13
build: retire use of Avahi in libpcp and services
natoscott Mar 19, 2026
9004523
qa: remake test output for new proc metrics, archive
natoscott Mar 20, 2026
757c2a1
Removes trailing comma from proc.numa_maps metric string values
sourav-sharma796 Mar 20, 2026
7a20342
Merge branch 'sourav-sharma796-fix-trailing-comma-numa_maps'
natoscott Mar 20, 2026
0473ab3
src/libpcp/src/logmeta.c: more __pmLogUndeltaInDom() remediation
kmcdonell Mar 21, 2026
607d50d
Merge branch 'retire-avahi'
natoscott Mar 21, 2026
77f49af
build: fix macOS build where pid_t is typedef to __darwin_pid_t
natoscott Mar 21, 2026
bcd8ef4
Merge branch 'main' of https://github.com/performancecopilot/pcp
kmcdonell Mar 21, 2026
3287b0c
Merge pull request #2535 from Hannibal404/rds_domain_change
kmcdonell Mar 21, 2026
95b6e16
qa/1131: more portable use of jq(1)
kmcdonell Mar 21, 2026
37e1aaf
src/libpcp/src/logmeta.c: __pmLogUndeleteInDom() tweak
kmcdonell Mar 21, 2026
fed1b80
src/libpcp3/src/logmeta.c: back port __pmLogUndeltaInDom()
kmcdonell Mar 21, 2026
87ec1a6
Merge branch 'main' of https://github.com/performancecopilot/pcp
kmcdonell Mar 21, 2026
95fe35c
Added an overflow check for hugepagesize value
sourav-sharma796 Mar 23, 2026
3c20f15
Merge branch 'sourav-sharma796-fix-hugepage-fn-overflow'
natoscott Mar 23, 2026
481f8d9
build: add debian Vcs-Git and Vcs-Browser metadata
natoscott Mar 23, 2026
c776dbe
macOS CI: surface installer logs on failure
tallpsmith Mar 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ jobs:

- name: Extract tags and labels for base image
id: meta_base
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ${{ env.REGISTRY }}/${{ env.BASE_IMAGE }}
tags: type=raw,value=latest,enable={{is_default_branch}}

- name: Extract tags and labels for archive image
id: meta_archive
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ${{ env.REGISTRY }}/${{ env.ARCHIVE_IMAGE }}
tags: type=raw,value=latest,enable={{is_default_branch}}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,12 @@ jobs:
echo "Found PKG: $PKG_PATH"

# Install (sudo is passwordless in GitHub Actions)
sudo installer -pkg "$PKG_PATH" -target / -verbose
sudo installer -pkg "$PKG_PATH" -target / -verbose -dumplog
- name: Debug on install failure
if: failure() && steps.install-test.conclusion == 'failure'
run: |
echo "=== /var/log/install.log (last 100 lines) ==="
sudo tail -100 /var/log/install.log
- name: Verify Installation
if: success() && steps.install-test.conclusion == 'success'
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/quay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ jobs:

- name: Extract tags and labels for base image
id: meta_base
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ${{ env.REGISTRY }}/${{ env.BASE_IMAGE }}
tags: type=raw,value=latest,enable={{is_default_branch}}

- name: Extract tags and labels for archive image
id: meta_archive
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ${{ env.REGISTRY }}/${{ env.ARCHIVE_IMAGE }}
tags: type=raw,value=latest,enable={{is_default_branch}}
Expand Down
7 changes: 1 addition & 6 deletions build/mac/io.pcp.pmcd.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,8 @@
<key>ProgramArguments</key>
<array>
<string>/etc/init.d/pmcd</string>
<string>start</string>
<string>start-launchd</string>
</array>
<key>EnvironmentVariables</key>
<dict>
<key>LAUNCHED_BY_LAUNCHD</key>
<string>1</string>
</dict>
<key>Disabled</key>
<false/>
<key>UserName</key>
Expand Down
7 changes: 1 addition & 6 deletions build/mac/io.pcp.pmproxy.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,8 @@
<key>ProgramArguments</key>
<array>
<string>/etc/init.d/pmproxy</string>
<string>start</string>
<string>start-launchd</string>
</array>
<key>EnvironmentVariables</key>
<dict>
<key>LAUNCHED_BY_LAUNCHD</key>
<string>1</string>
</dict>
<key>Disabled</key>
<false/>
<key>UserName</key>
Expand Down
17 changes: 7 additions & 10 deletions build/mac/qa/TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@ wait_pmcd() {
### Test 1: Verify Configuration Changes

```bash
# Check plist has environment variable and KeepAlive
cat /Library/LaunchDaemons/io.pcp.pmcd.plist | grep -A4 EnvironmentVariables
# Should show: LAUNCHED_BY_LAUNCHD = 1

# Check plist has KeepAlive
cat /Library/LaunchDaemons/io.pcp.pmcd.plist | grep -A1 KeepAlive
# Should show: <true/>
```
Expand All @@ -87,9 +84,9 @@ wait_pmcd
# Verify pmcd is running
ps aux | grep pmcd | grep -v grep

# Check that pmcd is running with -f flag (foreground mode)
ps aux | grep '[p]mcd' | grep -- '-f'
# Should see the -f flag in the command line
# Check that pmcd is running with -F flag (foreground mode)
ps aux | grep '[p]mcd' | grep -- '-F'
# Should see the -F flag in the command line

# Verify exactly one pmcd process (no fork issues)
echo "pmcd process count: $(ps aux | grep '[p]mcd' | wc -l | tr -d ' ')"
Expand Down Expand Up @@ -202,8 +199,8 @@ pminfo -f pmcd.version

## Expected Results Summary

✅ **Configuration**: LAUNCHED_BY_LAUNCHD env var present, KeepAlive = true
✅ **Foreground mode**: pmcd runs with `-f` flag
✅ **Configuration**: KeepAlive = true
✅ **Foreground mode**: pmcd runs with `-F` flag
✅ **No fork issues**: Only one pmcd process exists
✅ **launchctl tracking**: Service shows in `launchctl list` with PID
✅ **KeepAlive works**: pmcd automatically restarts after crash
Expand Down Expand Up @@ -240,5 +237,5 @@ Check if rc_pmcd is detecting it:
sudo launchctl unload /Library/LaunchDaemons/io.pcp.pmcd.plist
sudo launchctl load /Library/LaunchDaemons/io.pcp.pmcd.plist
wait_pmcd
ps aux | grep '[p]mcd' # Should show -f flag
ps aux | grep '[p]mcd' # Should show -F flag
```
21 changes: 7 additions & 14 deletions build/mac/qa/test-pmcd-launchctl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,6 @@ if [ ! -f "$PLIST_PATH" ]; then
exit 1
fi

if grep -q "LAUNCHED_BY_LAUNCHD" "$PLIST_PATH"; then
echo "✓ LAUNCHED_BY_LAUNCHD environment variable present"
else
echo "✗ LAUNCHED_BY_LAUNCHD environment variable missing"
exit 1
fi

if grep -A1 "KeepAlive" "$PLIST_PATH" | grep -q "<true/>"; then
echo "✓ KeepAlive enabled"
else
Expand Down Expand Up @@ -137,13 +130,13 @@ else
exit 1
fi

# Test 3: Verify foreground mode
echo -e "\n[Test 3] Verifying foreground mode..."
# Test 3: Verify managed mode
echo -e "\n[Test 3] Verifying managed mode..."

if ps aux | grep '[p]mcd' | grep -q -- '-f'; then
echo "✓ pmcd running in foreground mode (-f flag present)"
if ps aux | grep '[p]mcd' | grep -q -- '-F'; then
echo "✓ pmcd running in managed mode (-F flag present)"
else
echo "⚠ Warning: pmcd not running with -f flag"
echo "⚠ Warning: pmcd not running with -F flag"
echo "Command line: $(ps aux | grep '[p]mcd')"
fi

Expand Down Expand Up @@ -303,8 +296,8 @@ fi
echo -e "\n=== All tests passed! ==="
echo ""
echo "Summary:"
echo " ✓ Configuration correct (LAUNCHED_BY_LAUNCHD + KeepAlive)"
echo " ✓ pmcd runs in foreground mode (-f flag)"
echo " ✓ Configuration correct (KeepAlive)"
echo " ✓ pmcd runs in managed mode (-F flag)"
echo " ✓ No fork issues (single pmcd process)"
echo " ✓ launchctl properly tracks pmcd"
echo " ✓ pmcd responds to queries"
Expand Down
1 change: 0 additions & 1 deletion build/nix/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ pkgs.stdenv.mkDerivation rec {
perl
rrdtool
] ++ lib.optionals pkgs.stdenv.isLinux [
avahi
lvm2
] ++ lib.optionals withSystemd [
systemd
Expand Down
1 change: 0 additions & 1 deletion build/rpm/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ pcp.spec: pcp.spec.in
-e's|@enable_systemd@|$(ENABLE_SYSTEMD)|g' \
-e's|@enable_secure@|$(ENABLE_SECURE)|g' \
-e's|@enable_probes@|$(ENABLE_PROBES)|g' \
-e's|@enable_avahi@|$(ENABLE_AVAHI)|g' \
-e's|@enable_dstat@|$(ENABLE_DSTAT)|g' \
-e's|@enable_qt@|$(ENABLE_QT)|g' \
-e's|@enable_selinux@|$(ENABLE_SELINUX)|g' \
Expand Down
3 changes: 0 additions & 3 deletions build/rpm/pcp.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ BuildRequires: procps autoconf bison flex

BuildRequires: rpm-build

%if "@enable_avahi@" == "true"
BuildRequires: avahi-devel
%endif
%if "@enable_lzma@" == "true"
BuildRequires: xz-devel
%endif
Expand Down
1 change: 0 additions & 1 deletion build/rpm/redhat.spec
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ Obsoletes: pcp-pmda-nvidia < 3.10.5
BuildRequires: make
BuildRequires: gcc gcc-c++
BuildRequires: procps autoconf bison flex
BuildRequires: avahi-devel
BuildRequires: xz-devel
BuildRequires: zlib-devel
%if !%{disable_python3}
Expand Down
Loading
Loading