mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
![Tony Lu](/assets/img/avatar_default.png)
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>
9 lines
275 B
C
9 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);
|