From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@kernel.org>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] tools lib traceevent: It's preempt not prempt
Date: Fri, 17 Feb 2017 10:32:08 -0300 [thread overview]
Message-ID: <20170217133208.GB4109@kernel.org> (raw)
In-Reply-To: <20170216201352.469c99de@grimm.local.home>
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;
next prev parent reply other threads:[~2017-02-17 13:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2017-02-21 8:10 ` [tip:perf/urgent] " tip-bot for Steven Rostedt (VMware)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170217133208.GB4109@kernel.org \
--to=acme@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.