summaryrefslogtreecommitdiffstats
path: root/net/dccp/trace.h
Commit message (Collapse)AuthorAgeFilesLines
* net: dccp: Use memset_startat() for TP zeroingKees Cook2021-11-191-3/+1
| | | | | | | | | | | | | In preparation for FORTIFY_SOURCE performing compile-time and run-time field bounds checking for memset(), avoid intentionally writing across neighboring fields. Use memset_startat() so memset() doesn't get confused about writing beyond the destination member that is intended to be the starting point of zeroing through the end of the struct. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
* net: dccp: Add DCCP sendmsg trace eventMasami Hiramatsu2018-01-021-0/+84
Add DCCP sendmsg trace event (dccp/dccp_probe) for replacing dccpprobe. User can trace this event via ftrace or perftools. Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>