mbox series

[0/2] Add noinline_for_tracing and apply it to tcp_drop_reason

Message ID 20241024093742.87681-1-laoar.shao@gmail.com (mailing list archive)
Headers show
Series Add noinline_for_tracing and apply it to tcp_drop_reason | expand

Message

Yafang Shao Oct. 24, 2024, 9:37 a.m. UTC
This patchset introduces a new compiler annotation, noinline_for_tracing,
designed to prevent specific functions from being inlined to facilitate
tracing. In Patch #2, this annotation is applied to the tcp_drop_reason().

Yafang Shao (2):
  compiler_types: Add noinline_for_tracing annotation
  net: tcp: Add noinline_for_tracing annotation for tcp_drop_reason()

 include/linux/compiler_types.h | 6 ++++++
 net/ipv4/tcp_input.c           | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)