android_kernel_xiaomi_sm7250/kernel/trace
Abhishek Sagar ffdaa3582b ftrace: safe traversal of ftrace_hash hlist
Hi Steven,

I noticed that concurrent instances of ftrace_record_ip()
have a race between ftrace_hash list traversal during
ftrace_ip_in_hash() (before acquiring ftrace_shutdown_lock)
and ftrace_add_hash(). If it's so then this should fix it.

Signed-off-by: Abhishek Sagar <sagar.abhishek@gmail.com>
Cc: rostedt@goodmis.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-05-26 22:52:04 +02:00
..
ftrace.c ftrace: safe traversal of ftrace_hash hlist 2008-05-26 22:52:04 +02:00
Kconfig ftrace: add have dynamic ftrace config for archs 2008-05-23 22:49:18 +02:00
Makefile ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02:00
trace_functions.c ftrace: fix up cmdline recording 2008-05-26 22:51:49 +02:00
trace_irqsoff.c ftrace: remove printks from irqsoff trace 2008-05-26 22:51:27 +02:00
trace_sched_switch.c ftrace: fix up cmdline recording 2008-05-26 22:51:49 +02:00
trace_sched_wakeup.c ftrace: add function tracing to wake up tracing 2008-05-26 22:51:22 +02:00
trace_selftest_dynamic.c ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02:00
trace_selftest.c ftrace: limit use of check pages 2008-05-26 22:39:45 +02:00
trace.c ftrace: fix up cmdline recording 2008-05-26 22:51:49 +02:00
trace.h ftrace: fix up cmdline recording 2008-05-26 22:51:49 +02:00