Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pcp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
staging
src-rhel
rpms
pcp
Commits
4e9a359a
Commit
4e9a359a
authored
2 weeks ago
by
importbot
Browse files
Options
Downloads
Patches
Plain Diff
import pcp-6.3.7-1.el10
parent
e4889097
Branches
c10s
Tags
imports/c10s/pcp-6.3.7-1.el10
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.pcp.metadata
+1
-1
1 addition, 1 deletion
.pcp.metadata
SOURCES/fix-pmdabpf-noarch-man-page-build-failure.patch
+93
-0
93 additions, 0 deletions
SOURCES/fix-pmdabpf-noarch-man-page-build-failure.patch
SPECS/pcp.spec
+35
-8
35 additions, 8 deletions
SPECS/pcp.spec
with
129 additions
and
9 deletions
.pcp.metadata
+
1
−
1
View file @
4e9a359a
4788a8c93276c51151fc417bb23baea9443b9197730a84dd2abced83c9d17355
SOURCES/pcp-6.3.
4
.src.tar.gz
910a069a3530a07f91b0bdf64e15514f59be8fd54071a06bea23f27377e69747
SOURCES/pcp-6.3.
7
.src.tar.gz
This diff is collapsed.
Click to expand it.
SOURCES/fix-pmdabpf-noarch-man-page-build-failure.patch
0 → 100644
+
93
−
0
View file @
4e9a359a
diff -Naurp pcp-6.3.7.orig/src/pmdas/bpf/GNUmakefile pcp-6.3.7/src/pmdas/bpf/GNUmakefile
--- pcp-6.3.7.orig/src/pmdas/bpf/GNUmakefile 2025-03-27 17:01:59.000000000 +1100
+++ pcp-6.3.7/src/pmdas/bpf/GNUmakefile 2025-03-31 14:48:17.152726333 +1100
@@ -1,7 +1,6 @@
TOPDIR = ../../..
include $(TOPDIR)/src/include/builddefs
-ifeq "$(PMDA_BPF)" "true"
CFILES = bpf.c
CMDTARGET = pmdabpf$(EXECSUFFIX)
LIBTARGET = pmda_bpf.$(DSOSUFFIX)
@@ -27,12 +26,15 @@
MAN_DEST = $(PCP_MAN_DIR)/man$(MAN_SECTI
LDIRT = domain.h *.o $(IAM).log pmda$(IAM) pmda_$(IAM).$(DSOSUFFIX)
-default_pcp default: $(CMDTARGET) $(LIBTARGET) $(SUBDIRS)
- $(SUBDIRS_MAKERULE)
+default: build-me
include $(BUILDRULES)
-install_pcp install: default $(SUBDIRS)
+ifeq "$(PMDA_BPF)" "true"
+build-me: $(CMDTARGET) $(LIBTARGET) $(SUBDIRS)
+ $(SUBDIRS_MAKERULE)
+
+install: default $(SUBDIRS)
$(INSTALL) -m 755 -d $(PMDAADMDIR)
$(INSTALL) -m 755 -d $(PMDATMPDIR)
$(INSTALL) -m 755 -t $(PMDATMPDIR) Install Remove $(CMDTARGET) $(LIBTARGET) $(SCRIPTS) $(PMDAADMDIR)
@@ -43,6 +45,15 @@
install_pcp install: default $(SUBDIRS)
$(INSTALL) -m 644 -t $(PMDATMPDIR)/$(CONFIG) $(CONFIG) $(PMDACONFIG)/$(CONFIG)
@$(INSTALL_MAN)
$(SUBDIRS_MAKERULE)
+else
+build-me:
+install:
+ @$(INSTALL_MAN)
+endif
+
+default_pcp : default
+
+install_pcp : install
$(OBJECTS): domain.h
@@ -51,12 +62,6 @@
domain.h: ../../pmns/stdpmid
pmns:
$(LN_S) -f root_bpf pmns
-else
-default_pcp default:
-
-install_pcp install:
- @$(INSTALL_MAN)
-endif
check:: $(MAN_PAGES)
$(MANLINT) $^
@@ -64,5 +69,6 @@
check:: $(MAN_PAGES)
clean::
$(MAKE) -C modules/ clean
rm -f $(LDIRT)
+
debug:
@echo PMDA_BPF=$(PMDA_BPF)
diff -Naurp pcp-6.3.7.orig/src/pmdas/bpf/modules/GNUmakefile pcp-6.3.7/src/pmdas/bpf/modules/GNUmakefile
--- pcp-6.3.7.orig/src/pmdas/bpf/modules/GNUmakefile 2024-03-14 09:37:59.000000000 +1100
+++ pcp-6.3.7/src/pmdas/bpf/modules/GNUmakefile 2025-03-31 14:48:17.157726345 +1100
@@ -70,15 +70,21 @@
APPS_BPF = \
APPS_BPF_2 = \
netatop.bpf.c
-default_pcp default: $(PMDABPF_MODULES)
+default: build-me
include $(BUILDRULES)
+ifeq "$(PMDA_BPF)" "true"
+build-me: $(PMDABPF_MODULES)
+
install_pcp install: default
$(INSTALL) -m 755 -d $(MODULEDIR)
$(INSTALL) -m 755 -d $(MODULETMP)
$(INSTALL) -m 644 -t $(MODULETMP) $(PMDABPF_MODULES) $(MODULEDIR)
-
+else
+build-me:
+install:
+endif
# Use the clang pipeline to emit LLVM to LLD and emit BPF straight to an ELF .o.
# The GCC pipeline has parts of this but not completely, and in any case, likely
This diff is collapsed.
Click to expand it.
SPECS/pcp.spec
+
35
−
8
View file @
4e9a359a
Name: pcp
Version: 6.3.
4
Version: 6.3.
7
Release: 1%{?dist}
Summary: System-level performance monitoring and performance management
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0
URL: https://pcp.io
Source0: https://github.com/performancecopilot/pcp/releases/pcp-%{version}.src.tar.gz
Patch0: fix-pmdabpf-noarch-man-page-build-failure.patch
%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10
ExcludeArch: %{ix86}
%endif
...
...
@@ -161,6 +164,17 @@ ExcludeArch: %{ix86}
%global disable_mssql 1
%endif
# No mysql support on 32-bit x86 platforms from el9 and later
%ifarch %{ix86}
%if 0%{?rhel} >= 9
%global disable_mysql 1
%else
%global disable_mysql 0
%endif
%else
%global disable_mysql 0
%endif
# support for pmdanutcracker (perl deps missing on rhel)
%if 0%{?rhel} == 0
%global disable_nutcracker 0
...
...
@@ -225,7 +239,7 @@ ExcludeArch: %{ix86}
%global disable_xlsx 1
%endif
%if 0%{?fedora} >= 40 || 0%{?rhel} >=
10
%if 0%{?fedora} >= 40 || 0%{?rhel} >=
9
%global disable_amdgpu 0
%else
%global disable_amdgpu 1
...
...
@@ -432,6 +446,12 @@ Requires: pcp-selinux = %{version}-%{release}
%global _with_mongodb --with-pmdamongodb=yes
%endif
%if %{disable_mysql}
%global _with_mysql --with-pmdamysql=no
%else
%global _with_mysql --with-pmdamysql=yes
%endif
%if %{disable_nutcracker}
%global _with_nutcracker --with-pmdanutcracker=no
%else
...
...
@@ -556,7 +576,7 @@ Obsoletes: pcp-gui-testsuite < 3.9.5
# both of which are now obsoleted by the base pcp package
Requires: pcp-pmda-activemq pcp-pmda-bonding pcp-pmda-dbping pcp-pmda-ds389 pcp-pmda-ds389log
Requires: pcp-pmda-elasticsearch pcp-pmda-gpfs pcp-pmda-gpsd pcp-pmda-lustre
Requires: pcp-pmda-memcache
pcp-pmda-mysql
pcp-pmda-named pcp-pmda-netfilter pcp-pmda-news
Requires: pcp-pmda-memcache pcp-pmda-named pcp-pmda-netfilter pcp-pmda-news
Requires: pcp-pmda-nginx pcp-pmda-nfsclient pcp-pmda-pdns pcp-pmda-postfix pcp-pmda-postgresql pcp-pmda-oracle
Requires: pcp-pmda-samba pcp-pmda-slurm pcp-pmda-zimbra
Requires: pcp-pmda-dm pcp-pmda-apache
...
...
@@ -596,6 +616,9 @@ Requires: pcp-pmda-mongodb
%if !%{disable_mssql}
Requires: pcp-pmda-mssql
%endif
%if !%{disable_mysql}
Requires: pcp-pmda-mysql
%endif
%if !%{disable_snmp}
Requires: pcp-pmda-snmp
%endif
...
...
@@ -1309,6 +1332,7 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about Memcached.
#end pcp-pmda-memcache
%if !%{disable_mysql}
#
# pcp-pmda-mysql
#
...
...
@@ -1325,6 +1349,7 @@ BuildRequires: perl(DBI) perl(DBD::mysql)
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the MySQL database.
#end pcp-pmda-mysql
%endif
#
# pcp-pmda-named
...
...
@@ -2473,7 +2498,7 @@ sed -i "/PACKAGE_BUILD/s/=[0-9]*/=$_build/" VERSION.pcp
%if !%{disable_python2} && 0%{?default_python} != 3
export PYTHON=python%{?default_python}
%endif
%configure %{?_with_initd} %{?_with_doc} %{?_with_dstat} %{?_with_ib} %{?_with_gfs2} %{?_with_statsd} %{?_with_perfevent} %{?_with_bcc} %{?_with_bpf} %{?_with_bpftrace} %{?_with_json} %{?_with_mongodb} %{?_with_snmp} %{?_with_nutcracker} %{?_with_python2}
%configure %{?_with_initd} %{?_with_doc} %{?_with_dstat} %{?_with_ib} %{?_with_gfs2} %{?_with_statsd} %{?_with_perfevent} %{?_with_bcc} %{?_with_bpf} %{?_with_bpftrace} %{?_with_json} %{?_with_mongodb}
%{?_with_mysql}
%{?_with_snmp} %{?_with_nutcracker} %{?_with_python2}
make %{?_smp_mflags} default_pcp
%install
...
...
@@ -2862,7 +2887,7 @@ done
%if !%{disable_selinux}
%selinux_relabel_pre -s targeted
%endif
%if 0%{?fedora} >= 42
%if 0%{?fedora} >= 42
|| 0%{?rhel} >= 11
%elif 0%{?fedora} >= 32 || 0%{?rhel} >= 9
echo u pcpqa - \"PCP Quality Assurance\" %{_testsdir} /bin/bash | \
systemd-sysusers --replace=/usr/lib/sysusers.d/pcp-testsuite.conf -
...
...
@@ -2905,7 +2930,7 @@ fi
%endif
%pre
%if 0%{?fedora} >= 42
%if 0%{?fedora} >= 42
|| 0%{?rhel} >= 11
%elif 0%{?fedora} >= 32 || 0%{?rhel} >= 9
echo u pcp - \"Performance Co-Pilot\" %{_localstatedir}/lib/pcp | \
systemd-sysusers --replace=/usr/lib/sysusers.d/pcp.conf -
...
...
@@ -2973,8 +2998,10 @@ exit 0
%{pmda_remove "$1" "snmp"}
%endif
%if !%{disable_mysql}
%preun pmda-mysql
%{pmda_remove "$1" "mysql"}
%endif
%preun pmda-activemq
%{pmda_remove "$1" "activemq"}
...
...
@@ -3383,7 +3410,7 @@ fi
%files pmda-lustrecomm -f pcp-pmda-lustrecomm-files.rpm
%if !%{disable_
per
l}
%if !%{disable_
mysq
l}
%files pmda-mysql -f pcp-pmda-mysql-files.rpm
%endif
...
...
@@ -3585,7 +3612,7 @@ fi
%files zeroconf -f pcp-zeroconf-files.rpm
%changelog
*
Fri
Mar 1
4
2025 Nathan Scott <nathans@redhat.com> - 6.3.
4
-1
*
Mon
Mar
3
1 2025 Nathan Scott <nathans@redhat.com> - 6.3.
7
-1
- Update to latest stable version of PCP (RHEL-83468)
* Fri Jan 31 2025 Nathan Scott <nathans@redhat.com> - 6.3.2-5
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment