blankie
a6a53eb98a
Actually use default logcat command
2023-02-03 15:15:54 +07:00
blankie
1c44b770a8
Don't show logcat exit code if there's any request
2023-02-03 12:01:19 +07:00
blankie
9e73720525
Remove debug print
2023-02-03 11:57:12 +07:00
blankie
6b6dd58a0e
Add process control
2023-02-02 19:50:28 +07:00
blankie
75d62a0031
Table-ify logs
2023-01-29 15:21:22 +07:00
blankie
35ee4d3ff4
Seperate epoll into its own function
2023-01-21 14:55:09 +07:00
blankie
6cca794fee
Spinlock only if not requested to stop
2023-01-21 14:51:23 +07:00
blankie
3219ebf65e
Parse buffer lines
2023-01-20 21:41:06 +07:00
blankie
d5cf2584db
Fix read bug
...
Reproduction code:
import time
s = "--------- switch to main\n--------- switch to system\n"
print(s[:0xc], end='', flush=True)
time.sleep(1)
print(s[0xc:], end='', flush=True)
2023-01-20 21:31:07 +07:00
blankie
b6ad9c5d90
Parse logcat entries
2023-01-19 23:34:03 +07:00
blankie
6c339fa799
Handle lines from stdout and stderr
2023-01-19 15:25:29 +07:00
blankie
d9c7184b0e
Add debug button to request a log entry from the logcat thread
2023-01-18 23:43:30 +07:00
blankie
0132b3ca1d
Add inter-thread communication
2023-01-18 23:34:17 +07:00
blankie
277c9500f9
Use ubsan and tsan
2023-01-17 23:22:12 +07:00
blankie
6f5fa39b04
Rewrite errno handling
2023-01-17 22:35:08 +07:00
blankie
398909328c
Create stdout and stderr pipes
2023-01-17 21:44:17 +07:00
blankie
708fc3b16a
Stop logcat thread when the event loop is stopped
2023-01-17 20:59:04 +07:00
blankie
ace07768ee
Use a class for the logcat thread
2023-01-17 20:56:56 +07:00
blankie
2778fb039b
Add a basic logcat thread
2023-01-16 16:10:53 +07:00