aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVaibhav Nagarnaik <vnagarnaik@google.com>2011-08-11 15:37:35 -0400
committerSteven Rostedt <rostedt@goodmis.org>2011-08-18 21:30:35 -0400
commit1fc4fb039bfa3f0358d7e9810de71c58a7b32b64 (patch)
treebbdeac551d0175295b81f8c6218537e866fd12a5
parenta39c2351d973293c2c68699265953fa842cb52dd (diff)
trace-cmd: Add function declaration to fix compile warning
The function trace_util_ftrace_options() is not declared and causes a compile warning. This patch declares it in trace-cmd.h. Cc: Michael Rubin <mrubin@google.com> Cc: David Sharp <dhsharp@google.com> Signed-off-by: Vaibhav Nagarnaik <vnagarnaik@google.com> Link: http://lkml.kernel.org/r/1313091459-12049-1-git-send-email-vnagarnaik@google.com Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r--trace-cmd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/trace-cmd.h b/trace-cmd.h
index fc3e9d1..6f04981 100644
--- a/trace-cmd.h
+++ b/trace-cmd.h
@@ -210,6 +210,7 @@ void tracecmd_stat_cpu(struct trace_seq *s, int cpu);
210/* --- Plugin handling --- */ 210/* --- Plugin handling --- */
211extern struct plugin_option trace_ftrace_options[]; 211extern struct plugin_option trace_ftrace_options[];
212 212
213void trace_util_ftrace_options(void);
213void trace_util_add_option(const char *name, const char *val); 214void trace_util_add_option(const char *name, const char *val);
214void trace_util_load_plugins(struct pevent *pevent, const char *suffix, 215void trace_util_load_plugins(struct pevent *pevent, const char *suffix,
215 void (*load_plugin)(struct pevent *pevent, 216 void (*load_plugin)(struct pevent *pevent,