aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVadim Fedorenko <vfedorenko@novek.ru>2021-02-04 20:50:34 +0300
committerJakub Kicinski <kuba@kernel.org>2021-02-04 20:22:30 -0800
commit647b8dd5184665432cc8a2b5bca46a201f690c37 (patch)
tree10358d0848879315a95cda6455bdd22fe5c0a101 /tools/perf/scripts/python/export-to-postgresql.py
parent8fd54a73b7cda11548154451bdb4bde6d8ff74c7 (diff)
selftests: txtimestamp: fix compilation issue
PACKET_TX_TIMESTAMP is defined in if_packet.h but it is not included in test. Include it instead of <netpacket/packet.h> otherwise the error of redefinition arrives. Also fix the compiler warning about ambiguous control flow by adding explicit braces. Fixes: 8fe2f761cae9 ("net-timestamp: expand documentation") Suggested-by: Willem de Bruijn <willemdebruijn.kernel@gmail.com> Signed-off-by: Vadim Fedorenko <vfedorenko@novek.ru> Acked-by: Willem de Bruijn <willemb@google.com> Link: https://lore.kernel.org/r/1612461034-24524-1-git-send-email-vfedorenko@novek.ru Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions