Skip to content
Commit b08836cc authored by Qiang Huang's avatar Qiang Huang Committed by Pavel Emelyanov
Browse files

pstree: add a function to check if a task is in pstree



Sometimes, when we parse some global info files, we can only care about
tasks which are taken into dump(such as file locks), which means their
pids are in the pstree.
So a function like this would be help.

Signed-off-by: default avatarQiang Huang <h.huangqiang@huawei.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent de54cd43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment