It looks like the code that called shm_open() is called at the lttng-consumerd 
daemon. But, somehow it show up in the pmap at my service process. I noticed 
all my processes that loads liblttng-ust would have this entry. Do you know 
what's the reason?


________________________________
From: lttng-dev <lttng-dev-boun...@lists.lttng.org> on behalf of Jeffrey Chen 
<cp...@live.com>
Sent: Tuesday, September 27, 2016 11:20 AM
To: lttng-dev
Subject: [lttng-dev] LTTng memory map


Hi LTTng:


Our service has been running overnight with LTTng enabled to do some memory 
consumption testing. We noticed the linux pmap output would have several memory 
map used by LTTng, and are marked as deleted. Do you know what are them? Why 
are they left in the system and marked as deleted? Thanks.


00007fc3017ee000   40968     592     592 rw-s- ust-shm-consumer-58905 (deleted)
00007fc3017ee000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc303ff0000   40968       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc303ff0000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc3067f2000   40968       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc3067f2000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc308ff4000   40968       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc308ff4000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc30b7f6000   40968       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc30b7f6000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc30dff8000   40968     524     524 rw-s- ust-shm-consumer-58905 (deleted)
00007fc30dff8000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc3107fa000   40968       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc3107fa000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc312ffc000   40968     244     244 rw-s- ust-shm-consumer-58905 (deleted)
00007fc312ffc000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc3157fe000   40968     396     396 rw-s- ust-shm-consumer-58905 (deleted)
00007fc3157fe000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to