Hisham Muhammad 47cf1532b0 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-03-25 15:26:05 -03:00
..
2016-08-11 10:49:35 +08:00
2016-01-02 12:11:26 -05:00
2018-02-18 10:38:49 -03:00
2016-08-30 20:41:17 +08:00