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

Commit 6af998c5 authored by Mark Salyzyn's avatar Mark Salyzyn Committed by android-build-merger
Browse files

Merge "liblog: BM_log_latency improvement" am: 9d3722be am: e79f85ca

am: 0a604f12

Change-Id: I1b08d2f4c8e434aa6720805eb7b7aaea8c07383d
parents f184d8bf 0a604f12
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -262,6 +262,8 @@ static int __write_to_log_daemon(log_id_t log_id, struct iovec *vec, size_t nr)
    }

#if defined(__ANDROID__)
    clock_gettime(android_log_clockid(), &ts);

    if (log_id == LOG_ID_SECURITY) {
        if (vec[0].iov_len < 4) {
            return -EINVAL;
@@ -351,8 +353,6 @@ static int __write_to_log_daemon(log_id_t log_id, struct iovec *vec, size_t nr)
            return -EPERM;
        }
    }

    clock_gettime(android_log_clockid(), &ts);
#else
    /* simulate clock_gettime(CLOCK_REALTIME, &ts); */
    {