Apparently the former doesn't include task stacks and therefore doesn't have to scan every thread in the process ID's thread group. Users generally don't want task stacks often, so this is a reasonable maps file to consider instead.
In particular, from_pid can probably learn a second argument, something like ThreadStackPolicy::{Include,Exclude}.
Apparently the former doesn't include task stacks and therefore doesn't have to scan every thread in the process ID's thread group. Users generally don't want task stacks often, so this is a reasonable maps file to consider instead.
In particular,
from_pidcan probably learn a second argument, something likeThreadStackPolicy::{Include,Exclude}.