]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Add flag to control different traces
authorTingwei Zhang <tingwei@codeaurora.org>
Mon, 5 Oct 2020 07:13:13 +0000 (10:13 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Oct 2020 10:43:53 +0000 (12:43 +0200)
commit93c1a52b4793c17d6f292d9e6dfd7d06f7308d14
treeff1d0424ebf55860846a662149d3a48189ab2a73
parente9975f48520865d0b1ef2ef7c86bb421e561bfef
tracing: Add flag to control different traces

More traces like event trace or trace marker will be supported.
Add flag for difference traces, so that they can be controlled
separately. Move current function trace to it's own flag
instead of global ftrace enable flag.

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-3-alexander.shishkin@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/trace.h
kernel/trace/trace.c