linux-yocto/samples/ftrace
Vladimir Riabchun 06c26a6790 ftrace/samples: Fix function size computation
[ Upstream commit 80d03a40837a9b26750a25122b906c052cc846c9 ]

In my_tramp1 function .size directive was placed above
ASM_RET instruction, leading to a wrong function size.

Link: https://lore.kernel.org/aK3d7vxNcO52kEmg@vova-pc
Fixes: 9d907f1ae8 ("samples/ftrace: Fix asm function ELF annotations")
Signed-off-by: Vladimir Riabchun <ferr.lambarginio@gmail.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-09-19 16:32:02 +02:00
..
ftrace-direct-modify.c ftrace/samples: Fix function size computation 2025-09-19 16:32:02 +02:00
ftrace-direct-multi-modify.c samples: ftrace: Replace bti assembly with hint for older compiler 2023-08-21 22:03:58 -04:00
ftrace-direct-multi.c samples: ftrace: Replace bti assembly with hint for older compiler 2023-08-21 22:03:58 -04:00
ftrace-direct-too.c samples: ftrace: Replace bti assembly with hint for older compiler 2023-08-21 22:03:58 -04:00
ftrace-direct.c samples: ftrace: Replace bti assembly with hint for older compiler 2023-08-21 22:03:58 -04:00
ftrace-ops.c samples: ftrace: Make some global variables static 2023-02-07 12:48:00 -05:00
Makefile ftrace: Add sample with custom ops 2023-01-25 10:31:23 -05:00
sample-trace-array.c tracing: samples: Initialize trace_array_printk() with the correct function 2025-05-22 14:12:21 +02:00
sample-trace-array.h tracing: Sample module to demonstrate kernel access to Ftrace instances. 2019-11-22 19:41:08 -05:00