diff options
author | Toke Høiland-Jørgensen <[email protected]> | 2021-04-13 11:16:07 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-04-13 18:18:57 -0700 |
commit | 463c2149ede72b696c42b0d6c5a03c061600d04c (patch) | |
tree | d42fb7d4a35e1b07541f349815cae123130c7df8 /scripts/gdb/linux/timerlist.py | |
parent | 441e8c66b23e027c00ccebd70df9fd933918eefe (diff) |
selftests/bpf: Add tests for target information in bpf_link info queries
Extend the fexit_bpf2bpf test to check that the info for the bpf_link
returned by the kernel matches the expected values.
While we're updating the test, change existing uses of CHEC() to use the
much easier to read ASSERT_*() macros.
v2:
- Convert last CHECK() call and get rid of 'duration' var
- Split ASSERT_OK_PTR() checks to two separate if statements
Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions