summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-06-28 19:56:28 +0300
committerDavid S. Miller <davem@davemloft.net>2018-06-30 14:34:09 +0300
commitac0fcadf03f8f86be28980d7aa0a09c202ec4f78 (patch)
tree99f108fd14c6a97daf0b93d466f8ae92150da6c8 /tools/perf/scripts/python/stackcollapse.py
parent010079bac0ce294f0ce177c0363e0e7579ed7f0c (diff)
downloadlinux-ac0fcadf03f8f86be28980d7aa0a09c202ec4f78.tar.xz
selftests: forwarding: lib: Avoid trapping soft devices
There are several cases where traffic that would normally be forwarded in silicon needs to be observed in slow path. That's achieved by trapping such traffic, and the functions trap_install() and trap_uninstall() realize that. However, such treatment is obviously wrong if the device in question is actually a soft device not backed by an ASIC. Therefore try to trap if possible, but fall back to inserting a continue if not. Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions