utils.cpu: adds function to get cpus used by process
This change adds a new utility function that receives a process id and
returns all processors (id) being used by the process (and its threads)
informed.
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
Showing
想要评论请 注册 或 登录