[bitbake-devel] [PATCH][RFC] bitbake-worker: set the process name when starting a task

Christopher Larson clarson at kergoth.com
Wed Jan 6 21:42:33 UTC 2016


On Wed, Jan 6, 2016 at 9:25 AM, Ross Burton <ross.burton at intel.com> wrote:

> If the setproctitle module is present then use it to change the process
> name
> when the worker starts a task.  This results in each worker showing what
> task it
> is executing in a process listing.
>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
>

Very nice. Do you know if it's overwriting just the process name or the
entire commandline? I'm wondering if pkill bitbake-worker would do what you
want, or if you'd still need to use pkill -f, for example. I'd like to see
the toplevel bitbake processes named nicely without the python path and
whatnot too eventually. We could also name the parallel parsing processes
(though admittedly they're not long lived). Perhaps this should go into a
helper function in bb.utils or bb.process?
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20160106/43933348/attachment-0002.html>


More information about the bitbake-devel mailing list