[NEUS7920-477] wlbt: introduce scsc_log_sys_error trigger
authorPurnendu Kapadia <p.kapadia@samsung.com>
Mon, 20 May 2019 12:55:27 +0000 (13:55 +0100)
committerKim Gunho <gunho.kim@samsung.com>
Fri, 28 Jun 2019 14:46:04 +0000 (23:46 +0900)
introduce a new trigger scsc_log_sys_error

SCSC-Bug-Id: SSB-52919
Change-Id: I9f0a7fdc924533020ccdfc795f196594baafec32
Signed-off-by: Purnendu Kapadia <p.kapadia@samsung.com>
include/scsc/scsc_log_collector.h
include/scsc/scsc_mx.h

index 25167032e1c9de76191777218394f71b445da758..d2cb179081cf50545fad243c7056b39e1694568f 100644 (file)
@@ -42,6 +42,7 @@ enum scsc_log_reason {
        SCSC_LOG_HOST_WLAN,
        SCSC_LOG_HOST_BT,
        SCSC_LOG_HOST_COMMON,
+       SCSC_LOG_SYS_ERR,
        /* Add others */
 };
 
index f05514c518b70ba97b6b9a558195e9c778d460e9..95c6c3b261166ea3f6d45b87f3c7ce5c929b8aaf 100755 (executable)
@@ -432,6 +432,7 @@ static inline const char *scsc_get_trigger_str(int code)
        case 5: return "scsc_log_host_wlan";
        case 6: return "scsc_log_host_bt";
        case 7: return "scsc_log_host_common";
+       case 8: return "scsc_log_sys_error";
        case 0:
        default:
                return "unknown";