Hisham Muhammad 00d1fb019a Linux: change how kernel threads are detected
Use the same method that ps and top use to determine if a
process is a kernel thread on Linux: check if cmdline is empty.

Thanks to @wangqr's investigation reported here:
https://github.com/hishamhm/htop/issues/761#issuecomment-375306069

Fixes #761.
2018-04-06 11:13:30 -03:00
..
2016-08-11 10:49:35 +08:00
2016-01-02 12:11:26 -05:00
2018-02-26 20:13:09 -03:00
2018-02-26 20:13:09 -03:00
2016-08-30 20:41:17 +08:00