diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-09-24 00:00:13 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-26 13:22:00 -0700 |
commit | 7ff9396ee82c84ad18b897f70e4486c9ad1693f8 (patch) | |
tree | fb3be8fecbc9bedd3097e6f3e7c277794c5ff2c1 /tools/perf/scripts/python/syscall-counts.py | |
parent | 7d45b5fd27b4ca53c19dba79d9d4936d6cb0f0ca (diff) |
selftests: net: tsn_lib: allow running ptp4l on multiple interfaces
Switch ports will want to act as Boundary Clocks, which are configured
using ptp4l by specifying the "-i" argument multiple times.
Since we track a log file and a pid file for each ptp4l instance, and we
want to be compatible with the existing single-port callers of
ptp4l_start and ptp4l_stop, pass the interface list as a single string
of space-separated values. Based on this, we create a label for each
ptp4l instance, where the spaces are replaced with underscores
(ptp4l_start "eth0 eth1" generates "ptp4l_pid_eth0_eth1").
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Kurt Kanzenbach <kurt@linutronix.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions