diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2012-08-23 11:22:01 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-09-05 16:17:30 -0400 |
commit | ff1a70e75fd005821ab5f2211312a8aa13bbf959 (patch) | |
tree | d981232971b22fe50b0a6f465da02bacaa43be9c /tools/lib | |
parent | bab57e994d6311298b4e3915d2c75296cd81638c (diff) |
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: Steven 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.home
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/traceevent/event-parse.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/traceevent/event-parse.h b/tools/lib/traceevent/event-parse.h index 527df038a25f..863a0bbda7f1 100644 --- a/tools/lib/traceevent/event-parse.h +++ b/tools/lib/traceevent/event-parse.h | |||
@@ -49,7 +49,7 @@ struct pevent_record { | |||
49 | int cpu; | 49 | int cpu; |
50 | int ref_count; | 50 | int ref_count; |
51 | int locked; /* Do not free, even if ref_count is zero */ | 51 | int locked; /* Do not free, even if ref_count is zero */ |
52 | void *private; | 52 | void *priv; |
53 | #if DEBUG_RECORD | 53 | #if DEBUG_RECORD |
54 | struct pevent_record *prev; | 54 | struct pevent_record *prev; |
55 | struct pevent_record *next; | 55 | struct pevent_record *next; |
@@ -106,7 +106,7 @@ struct plugin_option { | |||
106 | char *plugin_alias; | 106 | char *plugin_alias; |
107 | char *description; | 107 | char *description; |
108 | char *value; | 108 | char *value; |
109 | void *private; | 109 | void *priv; |
110 | int set; | 110 | int set; |
111 | }; | 111 | }; |
112 | 112 | ||