Commit 515cd45b authored by Adam Wujek's avatar Adam Wujek

userspace/tools: print mapbase in wrs_dump_shmem

May be useful to find offsets of structures that are not printed.
Signed-off-by: 's avatarAdam Wujek <adam.wujek@creotech.pl>
parent 486d782f
......@@ -892,6 +892,7 @@ int main(int argc, char **argv)
printf("shm.%d.status: %s\n",i,kill(head->pid, 0) < 0 ? "dead" : "alive");
}
printf("shm.%d.iterations: %d\n",i,head->pidsequence);
printf("shm.%d.mapbase: %p\n", i, head->mapbase);
f = name_id_to_f[i];
/* if the area-specific function fails, fall back to generic */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment