]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Add "func_no_repeats" option for function tracing
authorYordan Karadzhov (VMware) <y.karadz@gmail.com>
Thu, 15 Apr 2021 18:18:54 +0000 (21:18 +0300)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 15 Apr 2021 18:50:02 +0000 (14:50 -0400)
commit8ac098b8b943801e11ae84acb79383170b5980c8
tree4bd44ff9cf4c2151f4c00365698359926dfbe6fb
parent3afbb441df3b764740c84f939e5131256072aad2
tracing: Add "func_no_repeats" option for function tracing

If the option is activated the function tracing record gets
consolidated in the cases when a single function is called number
of times consecutively. Instead of having an identical record for
each call of the function we will record only the first call
following by event showing the number of repeats.

Link: https://lkml.kernel.org/r/20210415181854.147448-7-y.karadz@gmail.com
Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_functions.c