• Masami Hiramatsu's avatar
    net: sctp: Add SCTP ACK tracking trace event · 103d750c
    Masami Hiramatsu authored
    Add SCTP ACK tracking trace event to trace the changes of SCTP
    association state in response to incoming packets.
    It is used for debugging SCTP congestion control algorithms,
    and will replace sctp_probe module.
    
    Note that this event a bit tricky. Since this consists of 2
    events (sctp_probe and sctp_probe_path) so you have to enable
    both events as below.
    
      # cd /sys/kernel/debug/tracing
      # echo 1 > events/sctp/sctp_probe/enable
      # echo 1 > events/sctp/sctp_probe_path/enable
    
    Or, you can enable all the events under sctp.
    
      # echo 1 > events/sctp/enable
    
    Since sctp_probe_path event is always invoked from sctp_probe
    event, you can not see any output if you only enable
    sctp_probe_path.
    Signed-off-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    103d750c
sm_statefuns.c 202 KB