diff options
author | Tero Kristo <[email protected]> | 2023-03-02 13:46:14 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-03-02 22:41:32 -0800 |
commit | 944459e88b4f5c71683b56710f96e39756afae31 (patch) | |
tree | 97f2964ecc250c23440651af0a9c5b800f77c4bc /tools/lib/bpf/bpf_helpers.h | |
parent | f71f8530494bb5ab43d3369ef0ce8373eb1ee077 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions