net/ipv4: Udate fib_table_lookup tracepoint
authorDavid Ahern <dsahern@gmail.com>
Thu, 24 May 2018 00:08:47 +0000 (17:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 May 2018 03:00:31 +0000 (23:00 -0400)
commit9f323973c915d402378cb3e1336dd6ed4c45144b
treecbc86ca215b76f9206669ef2206a29314bc1b268
parentaaa908ffbee18a65529b716efb346a626e81559a
net/ipv4: Udate fib_table_lookup tracepoint

Commit 4a2d73a4fb36 ("ipv4: fib_rules: support match on sport, dport
and ip proto") added support for protocol and ports to FIB rules.
Update the FIB lookup tracepoint to dump the parameters.

In addition, make the IPv4 tracepoint similar to the IPv6 one where
the lookup parameters and result are dumped in 1 event. It is much
easier to use and understand the outcome of the lookup.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/trace/events/fib.h
net/ipv4/fib_trie.c