Messages in this thread | | | Date | Sun, 5 Jan 2014 23:27:52 +0100 | From | Pavel Machek <> | Subject | Re: [PATCH] lib/vsprintf: add %pT[C012] format specifier |
| |
Hi!
> + * Please use this wrapper function which will be updated in the future to read > + * @tsk->comm in a consistent way. > + */ > +static inline int commcmp(const struct task_struct *tsk, const char *comm) > +{ > + return strcmp(tsk->comm, comm); > +}
Is this useful to something? Printing command name is useful. Comparing it...? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |