Skip to content

Commit

Permalink
Adopt utility functions
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <[email protected]>
  • Loading branch information
Alan Jowett committed Mar 4, 2024
1 parent a994346 commit dc6bf0a
Show file tree
Hide file tree
Showing 9 changed files with 1,850 additions and 503 deletions.
2 changes: 2 additions & 0 deletions tests/bpf2c_tests/elf_bpf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ DECLARE_TEST("test_sample_ebpf", _test_mode::Verify)
DECLARE_TEST("test_utility_helpers", _test_mode::Verify)
DECLARE_TEST("cgroup_sock_addr", _test_mode::UseHashSHA512)
DECLARE_TEST("cgroup_sock_addr2", _test_mode::UseHashX)
DECLARE_TEST("utilty", _test_mode::Verify)
DECLARE_TEST("process_monitor", _test_mode::Verify)

DECLARE_TEST("no_such_file", _test_mode::FileNotFound)
DECLARE_TEST_CUSTOM_PROGRAM_TYPE("bpf", _test_mode::UseHash, std::string("bind"))
Expand Down
425 changes: 425 additions & 0 deletions tests/bpf2c_tests/expected/process_monitor_dll.c

Large diffs are not rendered by default.

Loading

0 comments on commit dc6bf0a

Please sign in to comment.