aboutsummaryrefslogtreecommitdiff
path: root/include/linux/trace_recursion.h
diff options
context:
space:
mode:
authorYangbo Lu <[email protected]>2021-06-30 16:11:53 +0800
committerDavid S. Miller <[email protected]>2021-07-01 13:08:18 -0700
commit73f37068d540eba5f93ba3a0019bf479d35ebd76 (patch)
treec690dbcde555185b5f7f2634ea8d83edf114bf7d /include/linux/trace_recursion.h
parent5d43f951b1ac797450bb4d230fdc960b739bea04 (diff)
ptp: support ptp physical/virtual clocks conversion
Support ptp physical/virtual clocks conversion via sysfs. There will be a new attribute n_vclocks under ptp physical clock sysfs. - In default, the value is 0 meaning only ptp physical clock is in use. - Setting the value can create corresponding number of ptp virtual clocks to use. But current physical clock is guaranteed to stay free running. - Setting the value back to 0 can delete virtual clocks and back use physical clock again. Another new attribute max_vclocks control the maximum number of ptp vclocks. Signed-off-by: Yangbo Lu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/trace_recursion.h')
0 files changed, 0 insertions, 0 deletions