]> git.baikalelectronics.ru Git - kernel.git/commit
net: sock: add trace for socket errors
authorAlexander Aring <aahringo@redhat.com>
Sun, 27 Jun 2021 22:48:22 +0000 (18:48 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jun 2021 18:28:21 +0000 (11:28 -0700)
commit31b52dea142c4bf4e1483ee0dc30b3c07414a359
treee9b4fecafa57b087fc3c3692c9c6ac9bf6d07311
parent32b104ebc7f32a40fb02d99d38b573180dd73b14
net: sock: add trace for socket errors

This patch will add tracers to trace inet socket errors only. A user
space monitor application can track connection errors indepedent from
socket lifetime and do additional handling. For example a cluster
manager can fence a node if errors occurs in a specific heuristic.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/trace/events/sock.h
net/core/sock.c