lkml.org 
[lkml]   [2011]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/5] trace-cmd: Add function declaration to fix compile warning
Date
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


\
 
 \ /
  Last update: 2011-08-11 21:41    [W:0.048 / U:1.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site