Skip to content
Commit 944459e8 authored by Tero Kristo's avatar Tero Kristo Committed by Alexei Starovoitov
Browse files

selftests/bpf: Add absolute timer test



Add test for the absolute BPF timer under the existing timer tests. This
will run the timer two times with 1us expiration time, and then re-arm
the timer at ~35s in the future. At the end, it is verified that the
absolute timer expired exactly two times.

Signed-off-by: default avatarTero Kristo <tero.kristo@linux.intel.com>
Link: https://lore.kernel.org/r/20230302114614.2985072-3-tero.kristo@linux.intel.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent f71f8530
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment