Returns the address space map of a process as a data frame.

procmap_get(..., as_tibble = NULL)

Arguments

...

Reserved for future extensions, must be empty.

as_tibble

When using in a package, set to TRUE to return a tibble::tibble. This requires the tibble package to be installed. The default returns a tibble if the package is installed, otherwise a data frame.

Value

A data frame or tibble, depending on the as_tibble argument.

Examples

procmap_get()
#> # A tibble: 569 × 6
#>    from             to               perms offset   inode   pathname            
#>    <chr>            <chr>            <chr> <chr>    <chr>   <chr>               
#>  1 0000558ac1165000 0000558ac1166000 r--p  00000000 4188724 /usr/lib/R/bin/exec…
#>  2 0000558ac1166000 0000558ac1167000 r-xp  00001000 4188724 /usr/lib/R/bin/exec…
#>  3 0000558ac1167000 0000558ac1168000 r--p  00002000 4188724 /usr/lib/R/bin/exec…
#>  4 0000558ac1168000 0000558ac1169000 r--p  00002000 4188724 /usr/lib/R/bin/exec…
#>  5 0000558ac1169000 0000558ac116a000 rw-p  00003000 4188724 /usr/lib/R/bin/exec…
#>  6 0000558ac2f96000 0000558ac92f8000 rw-p  00000000 0       [heap]              
#>  7 00007fc17bc3f000 00007fc17bc41000 r--p  00000000 65947   /usr/lib/x86_64-lin…
#>  8 00007fc17bc41000 00007fc17bc96000 r-xp  00002000 65947   /usr/lib/x86_64-lin…
#>  9 00007fc17bc96000 00007fc17bca7000 r--p  00057000 65947   /usr/lib/x86_64-lin…
#> 10 00007fc17bca7000 00007fc17bca8000 r--p  00067000 65947   /usr/lib/x86_64-lin…
#> # … with 559 more rows