projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bab57e9
)
tools lib traceevent: Modify header to work in C++ programs
author
Steven Rostedt
<
[email protected]
>
Thu, 23 Aug 2012 15:22:01 +0000
(11:22 -0400)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Wed, 5 Sep 2012 20:17:30 +0000
(17:17 -0300)
Replace keyword "private" to "priv" in event-parse.h to allow it to be
used in C++ programs.
Signed-off-by: Steven Rostedt <
[email protected]
>
Cc: Frederic Weisbecker <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Cc: Namhyung Kim <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/lib/traceevent/event-parse.h
patch
|
blob
|
history
diff --git
a/tools/lib/traceevent/event-parse.h
b/tools/lib/traceevent/event-parse.h
index 527df038a25f9010b644c47f38a1b6f867953a74..863a0bbda7f1ba3add137fdac1a17f5a469a90a0 100644
(file)
--- a/
tools/lib/traceevent/event-parse.h
+++ b/
tools/lib/traceevent/event-parse.h
@@
-49,7
+49,7
@@
struct pevent_record {
int cpu;
int ref_count;
int locked; /* Do not free, even if ref_count is zero */
- void *priv
ate
;
+ void *priv;
#if DEBUG_RECORD
struct pevent_record *prev;
struct pevent_record *next;
@@
-106,7
+106,7
@@
struct plugin_option {
char *plugin_alias;
char *description;
char *value;
- void *priv
ate
;
+ void *priv;
int set;
};