mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 21:45:01 +08:00
a3a0e81b6f
SMC-R link down event is important to help us find links' issues, we should track this event, especially in the single nic mode, which means upper layer connection would be shut down. Then find out the direct link-down reason in time, not only increased the counter, also the location of the code who triggered this event. Signed-off-by: Tony Lu <tonylu@linux.alibaba.com> Reviewed-by: Wen Gu <guwen@linux.alibaba.com> Signed-off-by: David S. Miller <davem@davemloft.net>
10 lines
275 B
C
10 lines
275 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
#define CREATE_TRACE_POINTS
|
|
#include "smc_tracepoint.h"
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL(smc_switch_to_fallback);
|
|
EXPORT_TRACEPOINT_SYMBOL(smc_tx_sendmsg);
|
|
EXPORT_TRACEPOINT_SYMBOL(smc_rx_recvmsg);
|
|
EXPORT_TRACEPOINT_SYMBOL(smcr_link_down);
|