Adeeb Shihadeh
5a9644261f
remove comma two support ( #24248 )
...
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
old-commit-hash: 5c48e7bc86
2022-04-18 17:55:23 -07:00
Dean Lee
6c0939f51b
logcatd_android.cc: fix repeating the same messages ( #23713 )
...
* fix repeating the same message
* cleanup
* use blocking mode
* check duplicate msg in test
old-commit-hash: ee85e7026a
2022-02-05 16:02:45 -08:00
Adeeb Shihadeh
daa3432d01
logcat: include all logs since boot ( #23692 )
...
old-commit-hash: 5a9657cad5
2022-02-02 11:33:06 -08:00
Willem Melching
651df33062
test_logcatd_android.py: catch unicode decode error
...
old-commit-hash: fe0f9aaa4f
2022-01-17 11:33:26 +01:00
Dean Lee
f9fb28c1b3
logcatd: fix sd_journal_seek_tail doesn't go to end ( #23319 )
...
* fix sd_journal_seek_tail doesn't go to end
* add comment
old-commit-hash: f2c17bbcde
2022-01-04 12:14:29 +01:00
Dean Lee
01eb405677
put logcat in bootlog ( #23217 )
...
* put logcat in boot log
* continue
* use std::unique_ptr
* Revert "use std::unique_ptr"
This reverts commit c671f8ca7160691791bade508c4a8eb5cdb73fb8.
old-commit-hash: f042962933
2021-12-14 11:54:54 -08:00
grekiki
9e4cc1f7ff
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 >
old-commit-hash: 6951b3271d
2021-12-03 22:57:19 -08:00
Dean Lee
147b355dde
add space after function name and if statement ( #21225 )
...
old-commit-hash: e4e669bb0f
2021-06-11 10:17:52 +02:00
Dean Lee
497472932a
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
old-commit-hash: 65e0b1e699
2021-06-01 16:53:12 +02:00
Dean Lee
5609f32cee
Cleanup includes ( #20925 )
...
* remove #include <pthread.h>
* remove #include<stdbool.h> for cc files
* remove #include<iostream>
old-commit-hash: 0495426535
2021-05-17 10:31:31 +02:00
Dean Lee
e333e4f189
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 >
old-commit-hash: 7222d0f20d
2021-05-08 22:15:17 -07:00
Adeeb Shihadeh
55a9ec8a93
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 >
old-commit-hash: ec414e2eb1
2021-05-04 22:00:11 -07:00
Adeeb Shihadeh
532d19427c
bump cereal
...
old-commit-hash: 8a280fbb8e
2021-05-03 20:47:11 -07:00
Adeeb Shihadeh
1b54ab1135
android logcatd test reliability ( #20284 )
...
* android logcatd test reliability
* remove that
* more fix
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 9151f55e5d
2021-03-08 16:47:28 -08:00
Adeeb Shihadeh
5bc05ad36b
android logcatd fixes + better test ( #20036 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: bb0f91791a
2021-02-07 17:29:52 -08:00
Comma Device
d295eb68f9
fix logcatd after bugfix
...
old-commit-hash: 366292a059
2021-02-03 22:57:34 -08:00
Dean Lee
cb9b7c44c1
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 >
old-commit-hash: 1b140bdbca
2021-02-03 22:24:05 -08:00
Dean Lee
04adbaf8e1
Don't call function in assert ( #19997 )
...
old-commit-hash: 91504176e4
2021-02-02 13:18:11 +01:00
Adeeb Shihadeh
88566ec71c
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 >
old-commit-hash: 49d4d58201
2021-02-01 15:15:29 -08:00
Dean Lee
57c4099b7c
Fix loggcatd: removed duplicate call to android_logger_list_free ( #19903 )
...
old-commit-hash: 1e9e7264fa
2021-01-24 14:37:12 -08:00
Dean Lee
4c1919f41e
merge utilpp.h into util.h ( #19710 )
...
old-commit-hash: 595830135b
2021-01-10 14:57:32 -08:00
Comma Device
e4502623ad
logcatd_android: use sleep_for instead of usleep
...
old-commit-hash: 61bc7f73fa
2021-01-06 13:04:08 -08:00
Dean Lee
5e557ed96d
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
old-commit-hash: 86fe2d1697
2021-01-05 20:19:53 -08:00
Adeeb Shihadeh
3b2d64fddb
make android logcat exit cleanly ( #19666 )
...
* make android logcat exit cleanly
* clean up cpu usage script
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: a399ec530d
2021-01-05 15:10:55 -08:00
Dean Lee
df0435c933
simplify logcatd ( #19640 )
...
* simplify logcatd
* add assert
* revert opendbc
* revert opendbc
old-commit-hash: 6104e4c09e
2021-01-04 16:48:04 +01:00
Adeeb Shihadeh
5bbe4f3d52
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 >
old-commit-hash: ffa7e0cbdb
2020-12-29 22:32:03 -08:00
Willem Melching
a331861873
Remove czmq part 1 ( #2332 )
...
* remove czmq
* remove streaming mode from loggerd
* Add include for usleep
old-commit-hash: a4ccfcffe8
2020-10-13 16:01:07 +02:00
Adeeb Shihadeh
ac3422fc0f
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 >
old-commit-hash: 4d5733924a
2020-09-12 21:48:15 -07:00
Willem Melching
55c441b6dd
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
old-commit-hash: 5782efe3ae
2020-08-26 17:09:23 +02:00
Willem Melching
7f0b3180a4
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 >
old-commit-hash: ab5af232b2
2020-05-21 16:04:33 -07:00
Dean Lee
0a3dfb0476
fix wrong order of cleanup calls ( #1461 )
...
old-commit-hash: 75abfe28d5
2020-05-03 08:28:10 -07:00
Willem Melching
1f461cd205
Fix linter and compiler
...
old-commit-hash: 45410ee8a8
2020-03-20 16:28:14 -07:00
Willem Melching
401cd8b121
rename event name instead of service
...
old-commit-hash: c818f1df37
2020-03-20 16:11:27 -07:00
Willem Melching
7b4c8cac3a
fix androidLogEntry socket name
...
old-commit-hash: 196b28e311
2020-03-20 15:59:48 -07:00
Willem Melching
0c893bda6c
Fix kernel logging in logcatd, fixes #957
...
old-commit-hash: 12ff088b42
2020-03-17 16:35:39 -07:00
George Hotz
510b718f0f
logcatd, loggerd, mapd, modeld, proclogd
...
old-commit-hash: da079d47d7
2020-01-17 11:20:17 -08:00
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
2020-01-17 10:02:52 -08:00
Vehicle Researcher
99b637c7ce
openpilot v0.7 release
...
old-commit-hash: c025b96e8a
2019-12-13 13:03:08 -08:00
Vehicle Researcher
b713eae9f8
openpilot v0.6.6 release
...
old-commit-hash: d7f0b402a8
2019-11-04 15:13:52 -08:00
Vehicle Researcher
9abcfabc5f
openpilot v0.6 release
...
old-commit-hash: 8a9ed94f5f
2019-06-28 21:11:30 +00:00
Vehicle Researcher
81ebf6b142
openpilot v0.3.8.2 release
...
old-commit-hash: 187a70f760
2017-10-31 02:27:39 -07:00
Vehicle Researcher
2c0cc6103a
openpilot v0.3.7 release
...
old-commit-hash: daf54ad54d
2017-09-30 19:05:03 -07:00
Vehicle Researcher
5de48a7668
openpilot v0.3.0-devel release
...
old-commit-hash: 4653a9aef0
2017-05-11 12:41:17 -07:00
Vehicle Researcher
7609fa3b51
openpilot v0.2.4 release
...
old-commit-hash: ecc565aa3f
2017-01-29 16:10:13 -08:00
Vehicle Researcher
79ca8c9ec9
openpilot release
...
old-commit-hash: e94a30bec0
2016-11-29 18:34:21 -08:00