]> 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)
commit52b55bcfffd781f338f6ae3ff68412da816d7b82
treee9b4fecafa57b087fc3c3692c9c6ac9bf6d07311
parente2d32a020e540e3a6ab39dc102411c0f4566aff5
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