]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ftrace: Introduce and use ENTRIES_PER_PAGE_GROUP macro
authorGuenter Roeck <linux@roeck-us.net>
Tue, 13 Jan 2026 15:22:43 +0000 (07:22 -0800)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Mon, 26 Jan 2026 22:45:12 +0000 (17:45 -0500)
commita9e0c5897a787751c373812ea21fabf955625b34
tree8f55c731cb4dbc377958ffb9d643eabf819804c7
parent2d8b7f9bf8e6e7ae4e5a457bbaee2f84cdfd61f1
ftrace: Introduce and use ENTRIES_PER_PAGE_GROUP macro

ENTRIES_PER_PAGE_GROUP() returns the number of dyn_ftrace entries in a page
group, identified by its order.

No functional change.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://patch.msgid.link/20260113152243.3557219-2-linux@roeck-us.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/ftrace.c