Re: [RFC PATCH v3 0/3] Introduce BPF map tracing capability

From: Jamal Hadi Salim
Date: Thu Nov 04 2021 - 06:59:42 EST


On 2021-11-03 13:12, Joe Burton wrote:
That's a good point. Since the probe is invoked before the update takes
place, it would not be possible to account for the possibility that the
update failed.

Unless someone wants the `pre update' hook, I'll simply adjust the
existing hooks' semantics so that they are invoked after the update.
As discussed, this better suits the intended use case.


If the goal is to synchronize state between two maps (if i understood
correctly the intent) then it is more useful to go post-update.

cheers,
jamal