Use lookup instead of delete in test_stackid
BPF programs aren't allowed to attach to these functions since deadlocks may occur, thus the test would fail since no stack is collected. Use update_elem to test instead.
Showing
Please register or sign in to comment