lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 17 Feb 2017 10:32:08 -0300 From: Arnaldo Carvalho de Melo <acme@...nel.org> To: "Steven Rostedt (VMware)" <rostedt@...dmis.org> Cc: Ingo Molnar <mingo@...nel.org>, LKML <linux-kernel@...r.kernel.org> Subject: Re: [PATCH] tools lib traceevent: It's preempt not prempt 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@...dmis.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;
Powered by blists - more mailing lists