[FIX] msg mapping list 26/25226/2
authorVitaliy Cherepanov <v.cherepanov@samsung.com>
Thu, 31 Jul 2014 12:35:55 +0000 (16:35 +0400)
committerVitaliy Andreevich <v.cherepanov@samsung.com>
Mon, 4 Aug 2014 11:49:19 +0000 (04:49 -0700)
fix problem with ld probes missing
probes called before mapping message were not collected

Change-Id: Iaecf08fb52b253c51506796ad66c614ea4f5d88a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
daemon/daemon.c

index b43f0eb..2ce8aab 100644 (file)
@@ -630,6 +630,9 @@ static int targetServerHandler(void)
                             MSG_NOSIGNAL))
                        LOGE("fail to send data to target index(%d)\n", index);
 
+               /* send current instrument maps */
+               send_maps_inst_msg_to(manager.target[index].socket);
+
                // make event fd
                manager.target[index].event_fd = eventfd(EFD_CLOEXEC, EFD_NONBLOCK);
                if (manager.target[index].event_fd == -1) {