Messages in this thread Patch in this message | | | From | Vaibhav Nagarnaik <> | Subject | [PATCH 1/5] trace-cmd: Add function declaration to fix compile warning | Date | Thu, 11 Aug 2011 12:37:35 -0700 |
| |
The function trace_util_ftrace_options() is not declared and causes a compile warning. This patch declares it in trace-cmd.h.
Signed-off-by: Vaibhav Nagarnaik <vnagarnaik@google.com> --- trace-cmd.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/trace-cmd.h b/trace-cmd.h index f436845..66cdb28 100644 --- a/trace-cmd.h +++ b/trace-cmd.h @@ -209,6 +209,7 @@ void tracecmd_stat_cpu(struct trace_seq *s, int cpu); /* --- Plugin handling --- */ extern struct plugin_option trace_ftrace_options[]; +void trace_util_ftrace_options(void); void trace_util_add_option(const char *name, const char *val); void trace_util_load_plugins(struct pevent *pevent, const char *suffix, void (*load_plugin)(struct pevent *pevent, -- 1.7.3.1
| |