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

function::proc_mem_data - Program data size (data + stack) in pages

1) proc_mem_data:long()

2) proc_mem_data:long(pid:long)

pid

The pid of process to examine

1) Returns the current process data size (data + stack) in pages, or zero when there is no current process or the number of pages couldn't be retrieved.

2) Returns the given process data size (data + stack) in pages, 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