Loading logcat/logcat.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -237,6 +237,7 @@ static void show_help(const char *cmd) " -T '<time>' print most recent lines since specified time (not imply -d)\n" " count is pure numerical, time is 'MM-DD hh:mm:ss.mmm'\n" " -g get the size of the log's ring buffer and exit\n" " -L dump logs from prior to last reboot\n" " -b <buffer> Request alternate ring buffer, 'main', 'system', 'radio',\n" " 'events', 'crash' or 'all'. Multiple -b parameters are\n" " allowed and results are interleaved. The default is\n" Loading Loading @@ -348,7 +349,7 @@ int main(int argc, char **argv) for (;;) { int ret; ret = getopt(argc, argv, "cdDt:T:gG:sQf:r:n:v:b:BSpP:"); ret = getopt(argc, argv, "cdDLt:T:gG:sQf:r:n:v:b:BSpP:"); if (ret < 0) { break; Loading @@ -365,6 +366,10 @@ int main(int argc, char **argv) mode |= ANDROID_LOG_WRONLY; break; case 'L': mode |= ANDROID_LOG_PSTORE; break; case 'd': mode |= ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK; break; Loading Loading
logcat/logcat.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -237,6 +237,7 @@ static void show_help(const char *cmd) " -T '<time>' print most recent lines since specified time (not imply -d)\n" " count is pure numerical, time is 'MM-DD hh:mm:ss.mmm'\n" " -g get the size of the log's ring buffer and exit\n" " -L dump logs from prior to last reboot\n" " -b <buffer> Request alternate ring buffer, 'main', 'system', 'radio',\n" " 'events', 'crash' or 'all'. Multiple -b parameters are\n" " allowed and results are interleaved. The default is\n" Loading Loading @@ -348,7 +349,7 @@ int main(int argc, char **argv) for (;;) { int ret; ret = getopt(argc, argv, "cdDt:T:gG:sQf:r:n:v:b:BSpP:"); ret = getopt(argc, argv, "cdDLt:T:gG:sQf:r:n:v:b:BSpP:"); if (ret < 0) { break; Loading @@ -365,6 +366,10 @@ int main(int argc, char **argv) mode |= ANDROID_LOG_WRONLY; break; case 'L': mode |= ANDROID_LOG_PSTORE; break; case 'd': mode |= ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK; break; Loading