i-scream/libstatgrab — pull request #67 by rehsack (2014-08-23 19:08:54+00:00)
Title: fetch thread name from comm, if available

Since sg_get_process_stats eliminates surrounding brackets either when
comm (thread name of active thread of a process) is taken from stat
file, read it pure from comm.
Because of some firmware drivers create names containing spaces, this is
safer than parsing unknown number elements in front of stat content.