diff options
author | 2018-05-24 16:27:35 +0200 | |
---|---|---|
committer | 2018-05-24 22:26:19 -0400 | |
commit | 87c0c046e80293af001af95a66c46491ee43130a (patch) | |
tree | a00995d0755bc1dcb78605b344bbefb5264be48a /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | selftests: forwarding: mirror_gre_lib: Support VLAN (diff) | |
download | wireguard-linux-87c0c046e80293af001af95a66c46491ee43130a.tar.xz wireguard-linux-87c0c046e80293af001af95a66c46491ee43130a.zip |
selftests: forwarding: lib: Extract trap_{, un}install()
A mirror-to-vlan test that's coming next needs to install the trap
unconditionally. Therefore extract from slow_path_trap_{,un}install()
a more generic functions trap_install() and trap_uninstall(), and covert
the former two to conditional wrappers around these.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions