tracing: Improve message of empty set_graph_notrace file
authorNamhyung Kim <namhyung@kernel.org>
Thu, 12 Jun 2014 16:23:51 +0000 (01:23 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 1 Jul 2014 11:13:44 +0000 (07:13 -0400)
commit280d1429b6a67432ead24fb68a504b4c90c3d96d
tree495ad86b5d1ce1fbc4cf00d4d60afc5d472d3d6b
parent0d7d9a16ce112687487fadb2b490519b45f6c70e
tracing: Improve message of empty set_graph_notrace file

When there's no entry in set_graph_notrace, it'll print below message

  #### all functions enabled ####

While this is technically correct, it's better to print like below:

  #### no functions disabled ####

Link: http://lkml.kernel.org/p/1402590233-22321-3-git-send-email-namhyung@kernel.org
Reported-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c