diff options
author | Tero Kristo <tero.kristo@linux.intel.com> | 2023-03-02 13:46:14 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-02 22:41:32 -0800 |
commit | 944459e88b4f5c71683b56710f96e39756afae31 (patch) | |
tree | 97f2964ecc250c23440651af0a9c5b800f77c4bc /tools/lib/bpf | |
parent | f71f8530494bb5ab43d3369ef0ce8373eb1ee077 (diff) | |
download | linux-stable-944459e88b4f5c71683b56710f96e39756afae31.tar.gz linux-stable-944459e88b4f5c71683b56710f96e39756afae31.tar.bz2 linux-stable-944459e88b4f5c71683b56710f96e39756afae31.zip |
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: Tero Kristo <tero.kristo@linux.intel.com>
Link: https://lore.kernel.org/r/20230302114614.2985072-3-tero.kristo@linux.intel.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf')
0 files changed, 0 insertions, 0 deletions