aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorWei Fang <[email protected]>2022-10-20 12:35:56 +0800
committerDavid S. Miller <[email protected]>2022-10-24 12:40:58 +0100
commit350749b909bfbc27736334e79910d36ca58dad50 (patch)
tree1671eb691bb2929fa48fe0f11aa767d7f2f03cbf /tools/perf/scripts/python/event_analyzing_sample.py
parent0cafd77dcd032d1687efaba5598cf07bce85997f (diff)
net: fec: Add support for periodic output signal of PPS
This patch adds the support for configuring periodic output signal of PPS. So the PPS can be output at a specified time and period. For developers or testers, they can use the command "echo <channel> <start.sec> <start.nsec> <period.sec> <period. nsec> > /sys/class/ptp/ptp0/period" to specify time and period to output PPS signal. Notice that, the channel can only be set to 0. In addtion, the start time must larger than the current PTP clock time. So users can use the command "phc_ctl /dev/ptp0 -- get" to get the current PTP clock time before. Signed-off-by: Wei Fang <[email protected]> Acked-by: Richard Cochran <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions