]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Add LATENCY_FS_NOTIFY to define if latency_fsnotify() is defined
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 25 Jun 2021 23:47:33 +0000 (19:47 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 25 Jun 2021 23:47:33 +0000 (19:47 -0400)
commit6f61f0ca5453a06926a2f07caac0f07d8598c990
treea45e1901b49c2f8e5c1af8cc88a155bb68f13693
parent0a0548fd1d0cf9a3f59ab6b55ee274e68c50bd3e
tracing: Add LATENCY_FS_NOTIFY to define if latency_fsnotify() is defined

With the coming addition of the osnoise tracer, the configs needed to
include the latency_fsnotify() has become more complex, and to keep the
declaration in the header file the same as in the C file, just have the
logic needed to define it in one place, and that defines LATENCY_FS_NOTIFY
which will be used in the C code.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h