Commit df1bbf78 authored by Vladimir Riabchun's avatar Vladimir Riabchun Committed by Greg Kroah-Hartman
Browse files

ftrace/samples: Fix function size computation

[ Upstream commit 80d03a40 ]

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: 9d907f1a ("samples/ftrace: Fix asm function ELF annotations")
Signed-off-by: default avatarVladimir Riabchun <ferr.lambarginio@gmail.com>
Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0a14bd68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment