• T
    kcm: Add statistics and proc interfaces · cd6e111b
    Tom Herbert 提交于
    This patch adds various counters for KCM. These include counters for
    messages and bytes received or sent, as well as counters for number of
    attached/unattached TCP sockets and other error or edge events.
    
    The statistics are exposed via a proc interface. /proc/net/kcm provides
    statistics per KCM socket and per psock (attached TCP sockets).
    /proc/net/kcm_stats provides aggregate statistics.
    Signed-off-by: NTom Herbert <tom@herbertland.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    cd6e111b
kcm.h 5.4 KB