提交 ff1a70e7 编写于 作者: S Steven Rostedt 提交者: Arnaldo Carvalho de Melo

tools lib traceevent: Modify header to work in C++ programs

Replace keyword "private" to "priv" in event-parse.h to allow it to be
used in C++ programs.
Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1345735321.5069.62.camel@gandalf.local.homeSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
上级 bab57e99
...@@ -49,7 +49,7 @@ struct pevent_record { ...@@ -49,7 +49,7 @@ struct pevent_record {
int cpu; int cpu;
int ref_count; int ref_count;
int locked; /* Do not free, even if ref_count is zero */ int locked; /* Do not free, even if ref_count is zero */
void *private; void *priv;
#if DEBUG_RECORD #if DEBUG_RECORD
struct pevent_record *prev; struct pevent_record *prev;
struct pevent_record *next; struct pevent_record *next;
...@@ -106,7 +106,7 @@ struct plugin_option { ...@@ -106,7 +106,7 @@ struct plugin_option {
char *plugin_alias; char *plugin_alias;
char *description; char *description;
char *value; char *value;
void *private; void *priv;
int set; int set;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册