Re: [PATCH v2 4/7] bpf: support error injection static keys for multi_link attached progs

2024-06-25 Thread Alexei Starovoitov
On Wed, Jun 19, 2024 at 3:49 PM Vlastimil Babka wrote: > > Functions marked for error injection can have an associated static key > that guards the callsite(s) to avoid overhead of calling an empty > function when no error injection is in progress. > > Outside of the error injection framework

[PATCH v2 4/7] bpf: support error injection static keys for multi_link attached progs

2024-06-19 Thread Vlastimil Babka
Functions marked for error injection can have an associated static key that guards the callsite(s) to avoid overhead of calling an empty function when no error injection is in progress. Outside of the error injection framework itself, bpf programs can be atteched to kprobes and override results