* [PATCH v2] tools lib traceevent: Modify header to work in C++ programs
@ 2012-08-23 15:22 Steven Rostedt
2012-09-07 5:55 ` [tip:perf/core] " tip-bot for Steven Rostedt
0 siblings, 1 reply; 2+ messages in thread
From: Steven Rostedt @ 2012-08-23 15:22 UTC (permalink / raw)
To: LKML
Cc: Arnaldo Carvalho de Melo, Namhyung Kim, Ingo Molnar,
Peter Zijlstra, Frederic Weisbecker
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>
---
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 5772ad8..720ad63 100644
--- 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 *private;
+ 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 *private;
+ void *priv;
int set;
};
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip:perf/core] tools lib traceevent: Modify header to work in C++ programs
2012-08-23 15:22 [PATCH v2] tools lib traceevent: Modify header to work in C++ programs Steven Rostedt
@ 2012-09-07 5:55 ` tip-bot for Steven Rostedt
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Steven Rostedt @ 2012-09-07 5:55 UTC (permalink / raw)
To: linux-tip-commits
Cc: acme, linux-kernel, hpa, mingo, peterz, namhyung, fweisbec,
rostedt, tglx, mingo
Commit-ID: ff1a70e75fd005821ab5f2211312a8aa13bbf959
Gitweb: http://git.kernel.org/tip/ff1a70e75fd005821ab5f2211312a8aa13bbf959
Author: Steven Rostedt <rostedt@goodmis.org>
AuthorDate: Thu, 23 Aug 2012 11:22:01 -0400
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Wed, 5 Sep 2012 17:17:30 -0300
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>
---
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 527df03..863a0bb 100644
--- 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 *private;
+ 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 *private;
+ void *priv;
int set;
};
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-07 5:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-23 15:22 [PATCH v2] tools lib traceevent: Modify header to work in C++ programs Steven Rostedt
2012-09-07 5:55 ` [tip:perf/core] " tip-bot for Steven Rostedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).