Skip to content
Commit f689e4f2 authored by Yordan Karadzhov (VMware)'s avatar Yordan Karadzhov (VMware) Committed by Steven Rostedt (VMware)
Browse files

tracing: Define new ftrace event "func_repeats"

The event aims to consolidate the function tracing record in the cases
when a single function is called number of times consecutively.

	while (cond)
		do_func();

This may happen in various scenarios (busy waiting for example).
The new ftrace event can be used to show repeated function events with
a single event and save space on the ring buffer

Link: https://lkml.kernel.org/r/20210415181854.147448-3-y.karadz@gmail.com



Signed-off-by: default avatarYordan Karadzhov (VMware) <y.karadz@gmail.com>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent eaa7a897
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment