tpd and pds
Depending upon system load, the read pmc call can timeout. When
it happens the corresponding data set is reset, allowing the HA
algorithm to switch over the current source.
Although the read timeout is undesirable, the error message is
misleading because the failure is mitigated. Downgrade the error
message to notice to disable it in the default log level.
Test Plan:
PASS: Deploy T-BC with single PTP4L instance
- Load system (stress -c 64 -m 5 -t 60)
check user.log, phc2sys not showing the error message
phc2sys: notice [1200995.017] phc-inst2 pmc agent index 0, timeout reading pmc tpd
PASS: Deploy T-BC with single PTP4L instance
- Adjust the log to debug level
system ptp-instance-parameter-add phc-inst2 logging_level=7
- Load system (stress -c 64 -m 5 -t 60)
check user.log, phc2sys eventually shows the error message
phc2sys: notice [1215208.628] phc-inst2 pmc agent index 0, timeout reading pmc tpd
PASS: Build linuxptp package
Closes-Bug: 2132273
Change-Id: I3e05de4006c0e35b725178d9e56eaf8c72d52747
Signed-off-by: Andre Mauricio Zelak <andre.zelak@windriver.com>