diff options
author | Mahesh Bandewar <[email protected]> | 2024-10-03 03:15:06 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-10-04 15:36:43 -0700 |
commit | 3d07b691ee707c00afaf365440975e81bb96cd9b (patch) | |
tree | 844e18f476d69d7397936ab5a6fa313e55d093ec /tools/perf/scripts/python/libxed.py | |
parent | 2f651683553694c28fcc2d7544a5b223aa4ac9d8 (diff) |
selftest/ptp: update ptp selftest to exercise the gettimex options
With the inclusion of commit c259acab839e ("ptp/ioctl: support
MONOTONIC{,_RAW} timestamps for PTP_SYS_OFFSET_EXTENDED") clock_gettime()
now allows retrieval of pre/post timestamps for CLOCK_MONOTONIC and
CLOCK_MONOTONIC_RAW timebases along with the previously supported
CLOCK_REALTIME.
This patch adds a command line option 'y' to the testptp program to
choose one of the allowed timebases [realtime aka system, monotonic,
and monotonic-raw).
Signed-off-by: Mahesh Bandewar <[email protected]>
Cc: Shuah Khan <[email protected]>
Acked-by: Richard Cochran <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions