DOKK / manpages / debian 11 / systemtap-doc / function::proc_mem_shr.3stap.en
FUNCTION::PROC_MEM_S(3stap) Memory Tapset FUNCTION::PROC_MEM_S(3stap)

function::proc_mem_shr - Program shared pages (from shared mappings)

1) proc_mem_shr:long()

2) proc_mem_shr:long(pid:long)

pid

The pid of process to examine

1) Returns the shared pages (from shared mappings) of the current process, or zero when there is no current process or the number of pages couldn't be retrieved.

2) Returns the shared pages (from shared mappings) of the given process, or zero when the process doesn't exist or the number of pages couldn't be retrieved.

tapset::proc_mem(3stap)

November 2020 SystemTap Tapset Reference