[LSAN] Send information about leaked chunks to host.
authorMaxim Ostapenko <m.ostapenko@samsung.com>
Fri, 26 Aug 2016 11:08:40 +0000 (14:08 +0300)
committerMaxim Ostapenko <m.ostapenko@samsung.com>
Thu, 1 Sep 2016 13:00:23 +0000 (16:00 +0300)
commit0e072a82894c31e5ced04bab32300084a2053114
treeac00385aad0e2cef499388a1d08dc12b1a7b9f17
parent1faad63b03fdb27cf1a53fbbc95b2febcba18062
[LSAN] Send information about leaked chunks to host.

A bunch of changes in protocol should be performed to support transferring
information about leaked chunks:

- New type of message should be introduced. This commit adds a
MSG_PROBE_LSAN_LEAKED_OBJECT type to binproto.h file.
- New API name was introduced for MSG_PROBE_LSAN_LEAKED_OBJECT type
message.
- The information about leaked chunks might be big (several kilobytes).
Thus we drop it into /tmp/lsan.log file and instruct DA to pull it
via sdb and parse accordingly.

Change-Id: I1b3c98238ea752ab26fc4c24740001f26a501538
Signed-off-by: Maxim Ostapenko <m.ostapenko@samsung.com>
helper/api_names.txt
helper/libdaprobe.c
helper/lsan_open.c
include/binproto.h