selftests: bpf: log direct file writes
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 5 Nov 2019 21:26:12 +0000 (13:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Nov 2019 17:59:58 +0000 (09:59 -0800)
commitacceca8d2416bf866c5826240f9907cc91273f95
treee2a7ca25572a44e398dd5632f04e7b1712ea4e51
parentbfcccfe78b361f5f6ef48554aed5bcd30c72f67f
selftests: bpf: log direct file writes

Recent changes to netdevsim moved creating and destroying
devices from netlink to sysfs. The sysfs writes have been
implemented as direct writes, without shelling out. This
is faster, but leaves no trace in the logs. Add explicit
logs to make debugging possible.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/bpf/test_offload.py