Describe the feature you'd like supported
The current multi-threaded kernel stress tests (involving extension restart) need to break out the following scenarios as separate tests:
-
Test the resiliency of all involved ebpf components while restarting the applicable extension during the program 'open + load + attach' sequence in a multi-threaded scenario. The test should cover both JIT and native programs with multiple threads loading the same program (JIT) or copies thereof (native).
-
Test the resiliency of all involved ebpf components while restarting the applicable extension after the program 'open + load + attach' sequence in a multi-threaded scenario. This is needed for both JIT and native programs with multiple threads loading the same program (JIT) or copies thereof(native) and should ensure that loaded + attached programs continue to be (re)invoked after an extension restart.
-
Same as (2) above, except each thread loading different programs. An existing test native_invoke_v4_v6_programs_restart_extension_test that already does this needs to be slightly modified to make it compliant.
Proposed solution
As listed in feature description.
Additional context
No response