Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c1752fc authored by Steve Kondik's avatar Steve Kondik
Browse files

liblog: Move kineto and qcom RIL messages to radio log

Squashed commits from CM7

   liblog: I <3 you Kineto, but STFU.

   Kineto's native library obliterates the logs with debug info, which
   makes me a sad panda when trying to debug other things. Send it to the
   RADIO bucket instead.

   Change-Id: I6e6a7a54a84d41cd189f9eb48518b990b8b13a89

   Added QCRIL to filter rules.

   QCRIL from LG P500 generate too much logcat output (about 20 lines per second) so it will be good to filter it.

   Change-Id: I29d1fcd16d0fbf9ba456b09087c33c21242faa8e

   Mecha: Move qc-ril related logging to the radio log

   Change-Id: Ibf4eb91068b53e389ca437bcc4e52d66be92639a

Change-Id: I8e9d646fe6f7910205a3c19702a283bdb6921342
parent c7725f85
Loading
Loading
Loading
Loading
+20 −2
Original line number Diff line number Diff line
@@ -150,7 +150,16 @@ int __android_log_write(int prio, const char *tag, const char *msg)
        !strcmp(tag, "STK") ||
        !strcmp(tag, "CDMA") ||
        !strcmp(tag, "PHONE") ||
        !strcmp(tag, "SMS")) {
        !strcmp(tag, "SMS") ||
        !strcmp(tag, "KINETO") ||
        !strncmp(tag, "KIPC", 4) ||
        !strncmp(tag, "Kineto", 6) ||
        !strncmp(tag, "QCRIL", 5) ||
        !strncmp(tag, "QC-RIL", 6) ||
        !strncmp(tag, "QC-QMI", 6) ||
        !strncmp(tag, "QC-ONCRPC", 9) ||
        !strncmp(tag, "QC-DSI", 6)
        )
            log_id = LOG_ID_RADIO;
            // Inform third party apps/ril/radio.. to use Rlog or RLOG
            snprintf(tmp_tag, sizeof(tmp_tag), "use-Rlog/RLOG-%s", tag);
@@ -185,7 +194,16 @@ int __android_log_buf_write(int bufID, int prio, const char *tag, const char *ms
        !strcmp(tag, "STK") ||
        !strcmp(tag, "CDMA") ||
        !strcmp(tag, "PHONE") ||
        !strcmp(tag, "SMS"))) {
        !strcmp(tag, "SMS") ||
        !strcmp(tag, "KINETO") ||
        !strncmp(tag, "KIPC", 4) ||
        !strncmp(tag, "Kineto", 6) ||
        !strncmp(tag, "QCRIL", 5) ||
        !strncmp(tag, "QC-RIL", 6) ||
        !strncmp(tag, "QC-QMI", 6) ||
        !strncmp(tag, "QC-ONCRPC", 9) ||
        !strncmp(tag, "QC-DSI", 6)
        )
            bufID = LOG_ID_RADIO;
            // Inform third party apps/ril/radio.. to use Rlog or RLOG
            snprintf(tmp_tag, sizeof(tmp_tag), "use-Rlog/RLOG-%s", tag);