diff options
author | Ong Boon Leong <[email protected]> | 2021-12-30 11:54:43 +0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-01-05 17:53:24 -0800 |
commit | 5a3882542acda1ac5f0a22dddf7f7f8533d3a8cc (patch) | |
tree | 0f59f7bd99c5cd76a86bd3f9aee406fbf99763c4 /tools/perf/scripts/python | |
parent | 6440a6c23f6c72c57dbdf7928d92d3fc1aef6edc (diff) |
samples/bpf: xdpsock: Add clockid selection support
User specifies the clock selection by using -w CLOCK or --clock=CLOCK
where CLOCK=[REALTIME, TAI, BOOTTIME, MONOTONIC].
The default CLOCK selection is MONOTONIC.
The implementation of clock selection parsing is borrowed from
iproute2/tc/q_taprio.c
Signed-off-by: Ong Boon Leong <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions