]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Ignore mmiotrace from kernel commandline
authorZiqian SUN (Zamir) <zsun@redhat.com>
Mon, 11 Sep 2017 06:26:35 +0000 (14:26 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 19 Sep 2017 16:36:01 +0000 (12:36 -0400)
commitf20a5813bea701adad9f989935ffa5f897408602
tree6e33bb7c8a1a01d7c63b513129b1097d1ba73ae6
parentfa1910eeb381d65fc03d0079668efbb060ffcfc6
tracing: Ignore mmiotrace from kernel commandline

The mmiotrace tracer cannot be enabled with ftrace=mmiotrace in kernel
commandline. With this patch, noboot is added to the tracer struct,
and when system boot with a tracer that has noboot=true, it will print
out a warning message and continue booting.

Link: http://lkml.kernel.org/r/1505111195-31942-1-git-send-email-zsun@redhat.com
Signed-off-by: Ziqian SUN (Zamir) <zsun@redhat.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_mmiotrace.c