stm class: ftrace: Change dependency to TRACING
authorTingwei Zhang <tingwei@codeaurora.org>
Mon, 5 Oct 2020 07:13:12 +0000 (10:13 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Oct 2020 10:43:53 +0000 (12:43 +0200)
We will support copying event trace to STM. Change
STM_SOURCE_FTRACE to depend on TRACING since we will
support multiple tracers.

Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Reviewed-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Link: https://lore.kernel.org/r/20201005071319.78508-2-alexander.shishkin@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/stm/Kconfig

index d0e92a8..aad594f 100644 (file)
@@ -71,7 +71,7 @@ config STM_SOURCE_HEARTBEAT
 
 config STM_SOURCE_FTRACE
        tristate "Copy the output from kernel Ftrace to STM engine"
-       depends on FUNCTION_TRACER
+       depends on TRACING
        help
          This option can be used to copy the output from kernel Ftrace
          to STM engine. Enabling this option will introduce a slight