commit | bb590496490bb27a11c5b7e9f67e864c3fba7ab7 | [log] [tgz] |
---|---|---|
author | b.liu <b.liu@mobiletek.cn> | Thu Jun 13 16:42:08 2024 +0800 |
committer | b.liu <b.liu@mobiletek.cn> | Thu Jun 13 16:42:08 2024 +0800 |
tree | af61fc314edd9dbb8cbb2143b8409b86e3c1bcc9 | |
parent | 1b908a004b973514311f7c7fd6fa33c74f0a04bb [diff] [blame] |
Add mbtk dump and Change-Id: I510bbfa20d954d4212cbb7710337de029cfc95e1
diff --git a/mbtk/mbtk_logd/main.c b/mbtk/mbtk_logd/main.c index 1e7a1af..9034d57 100755 --- a/mbtk/mbtk_logd/main.c +++ b/mbtk/mbtk_logd/main.c
@@ -230,6 +230,10 @@ void* tret; struct filter_list_t* _filter_list = NULL; +#ifdef MBTK_DUMP_SUPPORT + mbtk_debug_open(NULL, TRUE); +#endif + int lock_file = open("/tmp/mbtk_logd.lock", O_CREAT|O_RDWR, 0666); int rc = flock(lock_file,LOCK_EX|LOCK_NB); if(rc) {