Conversation
- Probe /var/run/vrt/device in linuxptp-daemon pods to detect the active VRT stand-in and simulated netdevsim/fakepci nodes. - Display VRT badges in the node header, clock diagram, process graph, and process status panels. - Improve phc2sys/CLOCK_REALTIME detection to handle bare `-a -r` options via new profile helpers. - Add VRT glossary entry and update README/USER_GUIDE documentation. - Add a VS Code workspace file for related PTP repositories.
The VRT wrapper execs /usr/sbin/phc2sys.real with argv0=phc2sys, so /proc/comm is phc2sys.real. Accept that name in process status and kill.
Collect all observed clock states per node before computing the worst state, defaulting to FREERUN only when no samples are available.
Merged
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/var/run/vrt/deviceis present in the linuxptp-daemon pod.phc2sys.real(/proc/comm) as runningphc2sysfor process status and kill (wrapper keeps argv0/process=phc2sysfor metrics/logs).phc2sysOpts/phc2sysConf.Related
Test plan
kind-netdevsim-worker): Processes page shows phc2sys Running and VRT active → /dev/ptpNopenshift_ptp_process_status{process="phc2sys"}=1/ CLOCK_REALTIMEcomm=phc2sys.realcomm=phc2sysstill works