Commit Graph

18 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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