Skip to content

Use /proc/<PID>/task/<PID>/maps as a fast-path for /proc/<PID>/maps #9

@woodruffw

Description

@woodruffw

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}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions