[9610] wlbt: WLBTD collect log files and tar them
authorPurnendu Kapadia <p.kapadia@samsung.com>
Wed, 18 Jul 2018 14:46:58 +0000 (15:46 +0100)
committerhskang <hs1218.kang@samsung.com>
Fri, 17 Aug 2018 00:32:59 +0000 (20:32 -0400)
commit4ed3e18a36f7e7b5983eb5b614c4292f33895694
tree7f5c88eed6c7bcc5668153b94dcf0b4a81f90142
parent4037c82cd63fbf80e689b439c3194ee97c72f5e5
[9610] wlbt: WLBTD collect log files and tar them

For SBL support, we need wlbtd to collect various logs into a single tarball.
This patch adds the driver side changes to support this. A new EVENT_SABLE
and supporting infrastructure is introduced to handle trigger from log collection
(with reason for generating .sbl file) and EVENT_SABLE sent to wlbtd to generate
other logs (logcat, dmesg, mx.dump etc) and create tar containing .sbl file alongwith other logs.

for generating a tar this change dependens on change to wlbtd with EVENT_SABLE support.

Change-Id: I7a356327ef8cb74d5ff5cb7ce3fd12b880127601
SCSC-Bug-Id: SSB-41551
Signed-off-by: Purnendu Kapadia <p.kapadia@samsung.com>
drivers/misc/samsung/scsc/mxman.c
drivers/misc/samsung/scsc/scsc_log_collector.c
drivers/misc/samsung/scsc/scsc_wlbtd.c
drivers/misc/samsung/scsc/scsc_wlbtd.h