Skip to content

Add noinline_for_tracing and apply it to tcp_drop_reason

Yafang Shao netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2compiler_types: Add noinline_for_tracing annotationinclude/linux/compiler_types.h+6 -00 repliesApplied
2/2net: tcp: Add noinline_for_tracing annotation for tcp_drop_reason()net/ipv4/tcp_input.c+2 -27 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.43.5