Re: [Bridge] [PATCH net-next] bridge: add tracepoint in br_fdb_update
From: Nikolay Aleksandrov <hidden>
Date: 2017-08-31 14:19:36
Also in:
netdev
From: Nikolay Aleksandrov <hidden>
Date: 2017-08-31 14:19:36
Also in:
netdev
On 31/08/17 08:18, Roopa Prabhu wrote:
From: Roopa Prabhu <redacted> This extends bridge fdb table tracepoints to also cover learned fdb entries in the br_fdb_update path. Note that unlike other tracepoints I have moved this to when the fdb is modified because this is in the datapath and can generate a lot of noise in the trace output. br_fdb_update is also called from added_by_user context in the NTF_USE case which is already traced ..hence the !added_by_user check. Signed-off-by: Roopa Prabhu <redacted> --- include/trace/events/bridge.h | 31 +++++++++++++++++++++++++++++++ net/bridge/br_fdb.c | 5 ++++- net/core/net-traces.c | 1 + 3 files changed, 36 insertions(+), 1 deletion(-)
Acked-by: Nikolay Aleksandrov <redacted>