Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Add pvaccess support to IOC stats #64

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

simon-ess
Copy link
Contributor

Closes #57 .

@simon-ess simon-ess self-assigned this Jan 31, 2025
@@ -12,7 +12,10 @@ include $(TOP)/configure/CONFIG
# databases, templates, substitutions like this
#
DB += siteEnvVars.db
DB += epicsEnvVars.db
DB += epicsCAEnvVars.db
ifdef BASE_7_0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ifdef BASE_7_0 isn't a good way to detect whether PVA has been included. There are many different ways to build EPICS with PVA, it is possible to build it with 3.15 and maybe still with 3.14.12.5, although I wouldn't recommend that. Sites can also disable building the PVA modules in Base 7.0.x by editing modules/Makefile — unusual, but legitimate IMHO.

I would try using one of the variables defined in the installed cfg/CONFIG_PVACCESS_*, cfg/CONFIG_PVXS_* or cfg/CONFIG_QSRV* files.

@anjohnson
Copy link
Member

Not required for these particular environment variable changes, but note the new dbServerStats() routine I just added in epics-base/epics-base#592 which will give access to the RSRV and QSRV2 client and channel counts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IOC Stats should support PVAccess
2 participants