]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ftrace: add ftrace warn on to disable ftrace
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 23 Oct 2008 13:33:03 +0000 (09:33 -0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 23 Oct 2008 14:00:20 +0000 (16:00 +0200)
commit6912896e994ddaf06cc0f6d3f2098bc4b59bdd84
tree5f60e432eb5ec6cf0268ddc4d96f901578886c29
parent81adbdc029ecc416d56563e7f159100181dd711d
ftrace: add ftrace warn on to disable ftrace

Add ftrace warn on to disable ftrace as well as report a warning.

[ Thanks to Andrew Morton for suggesting using the WARN_ON return value ]

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ftrace.c