Dean Lee
ee85e7026a
logcatd_android.cc: fix repeating the same messages ( #23713 )
...
* fix repeating the same message
* cleanup
* use blocking mode
* check duplicate msg in test
3 years ago
Adeeb Shihadeh
5a9657cad5
logcat: include all logs since boot ( #23692 )
3 years ago
Willem Melching
fe0f9aaa4f
test_logcatd_android.py: catch unicode decode error
3 years ago
Dean Lee
f2c17bbcde
logcatd: fix sd_journal_seek_tail doesn't go to end ( #23319 )
...
* fix sd_journal_seek_tail doesn't go to end
* add comment
3 years ago
Dean Lee
f042962933
put logcat in bootlog ( #23217 )
...
* put logcat in boot log
* continue
* use std::unique_ptr
* Revert "use std::unique_ptr"
This reverts commit c671f8ca71
.
3 years ago
grekiki
6951b3271d
Python: Replace more lists with generators ( #23116 )
...
* Replace lists with generators v2
* Replace set with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Replace more set() with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Dean Lee
e4e669bb0f
add space after function name and if statement ( #21225 )
4 years ago
Dean Lee
65e0b1e699
Cleanup util.h ( #20849 )
...
* cleanup util.h
* fix build error:omx_encoder.cc:408: undefined reference to do_exit
* fix build error
* rebase master
* move helper functions back to util
* ExitHandleHelper->ExitHandlerHelper
* std::clamp
* struct ExitHandlerHelper to class
* rebase master
* cleanup
* restore ExitHandler
* prefer cassert
4 years ago
Dean Lee
0495426535
Cleanup includes ( #20925 )
...
* remove #include <pthread.h>
* remove #include<stdbool.h> for cc files
* remove #include<iostream>
4 years ago
Dean Lee
7222d0f20d
Cleanup selfdrive/ includes ( #20822 )
...
* cleanup include path
* continue
* format includes
* fix testraw.cc
* remove include path from SConstruct
* regroup
* rebase master
* almost done
* apply review
* rename FileReader.xx to filereader.xx
* rename Unlogger.x->unlogger.x
* rename FrameReader.xx -> framereader.xx
* apply reviews
* ui.h
* continue
* fix framebuffer.cc build error:mv util.h up
* full path to msm_media_info
* fix qcom2 camerad
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
ec414e2eb1
set nice values for non RT processes ( #20812 )
...
* set nice values for non RT processes
* builds
* fix qcom build
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
8a280fbb8e
bump cereal
4 years ago
Adeeb Shihadeh
9151f55e5d
android logcatd test reliability ( #20284 )
...
* android logcatd test reliability
* remove that
* more fix
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
bb0f91791a
android logcatd fixes + better test ( #20036 )
...
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Comma Device
366292a059
fix logcatd after bugfix
4 years ago
Dean Lee
1b140bdbca
logcatd: fix bug: subsequent reads after the first always return empty ( #19994 )
...
* refactor logcatd
* cleanup
* rename logger_list to loggers
* apply review
* little cleaner
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Dean Lee
91504176e4
Don't call function in assert ( #19997 )
4 years ago
Adeeb Shihadeh
49d4d58201
logcatd bugfix + tests ( #19689 )
...
* hack to exit cleanly
* move the hack
* add test
* run in ci
* unused
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
1e9e7264fa
Fix loggcatd: removed duplicate call to android_logger_list_free ( #19903 )
4 years ago
Dean Lee
595830135b
merge utilpp.h into util.h ( #19710 )
4 years ago
Comma Device
61bc7f73fa
logcatd_android: use sleep_for instead of usleep
4 years ago
Dean Lee
86fe2d1697
common exit handler ( #19661 )
...
* common signal handle
* fix typo
* rename to ExitHandler
* remove include signal.h
* remove include csignal
* rename variable exit to v
* rebase master
4 years ago
Adeeb Shihadeh
a399ec530d
make android logcat exit cleanly ( #19666 )
...
* make android logcat exit cleanly
* clean up cpu usage script
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
6104e4c09e
simplify logcatd ( #19640 )
...
* simplify logcatd
* add assert
* revert opendbc
* revert opendbc
4 years ago
Adeeb Shihadeh
ffa7e0cbdb
manager tests + make all processes exit cleanly ( #19595 )
...
* manager tests
* logcatd exits cleanly
* sigint
* boardd
* multiple dbus connections hangs for some reason
* clocksd proclogd
* network type from thermal
* fix tests
* fix android logcatd
* fix mac
* fix mac proclogd
* move on device athena tests
* build first
* build first
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Willem Melching
a4ccfcffe8
Remove czmq part 1 ( #2332 )
...
* remove czmq
* remove streaming mode from loggerd
* Add include for usleep
5 years ago
Adeeb Shihadeh
4d5733924a
message builder ( #2161 )
...
* use custom MessageBuilder from cereal
* use MesageBuilder.toBytes
* bump cereal
* unused
* another one
* fix ui msg
Co-authored-by: deanlee <deanlee3@gmail.com>
5 years ago
Willem Melching
5782efe3ae
Systemd logcatd ( #2085 )
...
* Systemd logcatd infrastructure
* This should work
* Cleanup
* Split
* More compact and cleanup
* Add to ubuntu setup package list
* Run logcatd on all non pc platforms
5 years ago
Willem Melching
ab5af232b2
Use C++ version of SubMaster and PubMaster ( #1548 )
...
* add PubMaster & SubMaster
remove 'delete msg'
remove headers
* use constructor to initial all submster
* modify drain sockets
* fix typo in ssconscript.remove lines
no checkValid in loggerd
last modify
handle_message:event->&event
fix type
remove heads
event to auto
* new interface
* api changed
* Revert "use constructor to initial all submster"
This reverts commit 73be7ea46250a325ce41d3a0445e34395a2ae692.
* change to new api
* revert loggerd
* dd
* use new PubSub api
* update to new interface
don't modify loggerd
reset panda
reset opendbc
remove empty lines
* switch to new pubMaster
* update to the new inteface
change
remove error code
. to ->
merge paramsd.cc
update panda
fix typo
simplify
fix typo
* Fix build
* always conflate
Co-authored-by: deanlee <deanlee3@gmail.com>
5 years ago
Dean Lee
75abfe28d5
fix wrong order of cleanup calls ( #1461 )
5 years ago
Willem Melching
45410ee8a8
Fix linter and compiler
5 years ago
Willem Melching
c818f1df37
rename event name instead of service
5 years ago
Willem Melching
196b28e311
fix androidLogEntry socket name
5 years ago
Willem Melching
12ff088b42
Fix kernel logging in logcatd, fixes #957
5 years ago
George Hotz
da079d47d7
logcatd, loggerd, mapd, modeld, proclogd
5 years ago