* [PATCH] tools lib traceevent: It's preempt not prempt
@ 2017-02-17 1:13 Steven Rostedt (VMware)
2017-02-17 13:32 ` Arnaldo Carvalho de Melo
2017-02-21 8:10 ` [tip:perf/urgent] " tip-bot for Steven Rostedt (VMware)
0 siblings, 2 replies; 3+ messages in thread
From: Steven Rostedt (VMware) @ 2017-02-17 1:13 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo; +Cc: Ingo Molnar, LKML
Fix the typo of the function name pevent_data_prempt_count()
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
---
diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c
index 14a4f62..3217131 100644
--- a/tools/lib/traceevent/event-parse.c
+++ b/tools/lib/traceevent/event-parse.c
@@ -5204,13 +5204,13 @@ int pevent_data_pid(struct pevent *pevent, struct pevent_record *rec)
}
/**
- * pevent_data_prempt_count - parse the preempt count from the record
+ * pevent_data_preempt_count - parse the preempt count from the record
* @pevent: a handle to the pevent
* @rec: the record to parse
*
* This returns the preempt count from a record.
*/
-int pevent_data_prempt_count(struct pevent *pevent, struct pevent_record *rec)
+int pevent_data_preempt_count(struct pevent *pevent, struct pevent_record *rec)
{
return parse_common_pc(pevent, rec->data);
}
diff --git a/tools/lib/traceevent/event-parse.h b/tools/lib/traceevent/event-parse.h
index 7aae746..67daa01 100644
--- a/tools/lib/traceevent/event-parse.h
+++ b/tools/lib/traceevent/event-parse.h
@@ -709,7 +709,7 @@ void pevent_data_lat_fmt(struct pevent *pevent,
int pevent_data_type(struct pevent *pevent, struct pevent_record *rec);
struct event_format *pevent_data_event_from_type(struct pevent *pevent, int type);
int pevent_data_pid(struct pevent *pevent, struct pevent_record *rec);
-int pevent_data_prempt_count(struct pevent *pevent, struct pevent_record *rec);
+int pevent_data_preempt_count(struct pevent *pevent, struct pevent_record *rec);
int pevent_data_flags(struct pevent *pevent, struct pevent_record *rec);
const char *pevent_data_comm_from_pid(struct pevent *pevent, int pid);
struct cmdline;
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] tools lib traceevent: It's preempt not prempt
2017-02-17 1:13 [PATCH] tools lib traceevent: It's preempt not prempt Steven Rostedt (VMware)
@ 2017-02-17 13:32 ` Arnaldo Carvalho de Melo
2017-02-21 8:10 ` [tip:perf/urgent] " tip-bot for Steven Rostedt (VMware)
1 sibling, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2017-02-17 13:32 UTC (permalink / raw)
To: Steven Rostedt (VMware); +Cc: Ingo Molnar, LKML
Em Thu, Feb 16, 2017 at 08:13:52PM -0500, Steven Rostedt (VMware) escreveu:
> Fix the typo of the function name pevent_data_prempt_count()
Thanks, applied and added:
Fixes: c52d9e4e677b ("tools lib traceevent: Add retrieval of preempt count and latency flags")
- Arnaldo
> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
> ---
> diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c
> index 14a4f62..3217131 100644
> --- a/tools/lib/traceevent/event-parse.c
> +++ b/tools/lib/traceevent/event-parse.c
> @@ -5204,13 +5204,13 @@ int pevent_data_pid(struct pevent *pevent, struct pevent_record *rec)
> }
>
> /**
> - * pevent_data_prempt_count - parse the preempt count from the record
> + * pevent_data_preempt_count - parse the preempt count from the record
> * @pevent: a handle to the pevent
> * @rec: the record to parse
> *
> * This returns the preempt count from a record.
> */
> -int pevent_data_prempt_count(struct pevent *pevent, struct pevent_record *rec)
> +int pevent_data_preempt_count(struct pevent *pevent, struct pevent_record *rec)
> {
> return parse_common_pc(pevent, rec->data);
> }
> diff --git a/tools/lib/traceevent/event-parse.h b/tools/lib/traceevent/event-parse.h
> index 7aae746..67daa01 100644
> --- a/tools/lib/traceevent/event-parse.h
> +++ b/tools/lib/traceevent/event-parse.h
> @@ -709,7 +709,7 @@ void pevent_data_lat_fmt(struct pevent *pevent,
> int pevent_data_type(struct pevent *pevent, struct pevent_record *rec);
> struct event_format *pevent_data_event_from_type(struct pevent *pevent, int type);
> int pevent_data_pid(struct pevent *pevent, struct pevent_record *rec);
> -int pevent_data_prempt_count(struct pevent *pevent, struct pevent_record *rec);
> +int pevent_data_preempt_count(struct pevent *pevent, struct pevent_record *rec);
> int pevent_data_flags(struct pevent *pevent, struct pevent_record *rec);
> const char *pevent_data_comm_from_pid(struct pevent *pevent, int pid);
> struct cmdline;
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip:perf/urgent] tools lib traceevent: It's preempt not prempt
2017-02-17 1:13 [PATCH] tools lib traceevent: It's preempt not prempt Steven Rostedt (VMware)
2017-02-17 13:32 ` Arnaldo Carvalho de Melo
@ 2017-02-21 8:10 ` tip-bot for Steven Rostedt (VMware)
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Steven Rostedt (VMware) @ 2017-02-21 8:10 UTC (permalink / raw)
To: linux-tip-commits; +Cc: acme, linux-kernel, rostedt, mingo, tglx, hpa
Commit-ID: 9c72fd0ff092526ea25c5a59d4a6ed94aeb4a66f
Gitweb: http://git.kernel.org/tip/9c72fd0ff092526ea25c5a59d4a6ed94aeb4a66f
Author: Steven Rostedt (VMware) <rostedt@goodmis.org>
AuthorDate: Thu, 16 Feb 2017 20:13:52 -0500
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Fri, 17 Feb 2017 10:31:44 -0300
tools lib traceevent: It's preempt not prempt
Fix the typo of the function name pevent_data_prempt_count()
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Fixes: c52d9e4e677b ("tools lib traceevent: Add retrieval of preempt count and latency flags")
Link: http://lkml.kernel.org/r/20170216201352.469c99de@grimm.local.home
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/lib/traceevent/event-parse.c | 4 ++--
tools/lib/traceevent/event-parse.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c
index 14a4f62..3217131 100644
--- a/tools/lib/traceevent/event-parse.c
+++ b/tools/lib/traceevent/event-parse.c
@@ -5204,13 +5204,13 @@ int pevent_data_pid(struct pevent *pevent, struct pevent_record *rec)
}
/**
- * pevent_data_prempt_count - parse the preempt count from the record
+ * pevent_data_preempt_count - parse the preempt count from the record
* @pevent: a handle to the pevent
* @rec: the record to parse
*
* This returns the preempt count from a record.
*/
-int pevent_data_prempt_count(struct pevent *pevent, struct pevent_record *rec)
+int pevent_data_preempt_count(struct pevent *pevent, struct pevent_record *rec)
{
return parse_common_pc(pevent, rec->data);
}
diff --git a/tools/lib/traceevent/event-parse.h b/tools/lib/traceevent/event-parse.h
index 7aae746..67daa01 100644
--- a/tools/lib/traceevent/event-parse.h
+++ b/tools/lib/traceevent/event-parse.h
@@ -709,7 +709,7 @@ void pevent_data_lat_fmt(struct pevent *pevent,
int pevent_data_type(struct pevent *pevent, struct pevent_record *rec);
struct event_format *pevent_data_event_from_type(struct pevent *pevent, int type);
int pevent_data_pid(struct pevent *pevent, struct pevent_record *rec);
-int pevent_data_prempt_count(struct pevent *pevent, struct pevent_record *rec);
+int pevent_data_preempt_count(struct pevent *pevent, struct pevent_record *rec);
int pevent_data_flags(struct pevent *pevent, struct pevent_record *rec);
const char *pevent_data_comm_from_pid(struct pevent *pevent, int pid);
struct cmdline;
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-21 8:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-17 1:13 [PATCH] tools lib traceevent: It's preempt not prempt Steven Rostedt (VMware)
2017-02-17 13:32 ` Arnaldo Carvalho de Melo
2017-02-21 8:10 ` [tip:perf/urgent] " tip-bot for Steven Rostedt (VMware)
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).