Dean Lee
60aa7b9d96
Logger: added function logger_get_route_name ( #19995 )
...
* added function logger_get_route_name
* remove empty line
old-commit-hash: 1588a6f0ac
4 years ago
Dean Lee
bc3b705a5b
mv logger_build_boot to bootlog.cc ( #19996 )
...
old-commit-hash: 678c149246
4 years ago
Dean Lee
926c3d6fd7
Logger: new class BZFile ( #19959 )
...
* add class BZFile
* inline
* cleanup includes
* stack bzfile
* log first error
* remove assert
* rename log_err to err_logged
* assert in destructor
* LOGE
* don't assert statement
* assert error of fclose
old-commit-hash: ef6d1aeaaa
4 years ago
Dean Lee
b0552a1985
bootlog: fix dangling pointer problem in logger_build_boot ( #19942 )
...
* fix dangling pointer problem
* logger_build_init_data() has same problem
* return kj::Array<capnp::byte>
* Revert "return kj::Array<capnp::byte>"
This reverts commit 4df4685bfc
.
* Empty commit,trigger Build
* fix each segment in a route having a different initial logMonoTime
old-commit-hash: 79e05965c4
4 years ago
Willem Melching
4fd576e7f7
Put bootlog in own folder ( #19939 )
...
* put bootlog in own folder
* fix uploader
* remove print statements
* update test
* remove comment
* also write initddata
* remove sentinels from test
old-commit-hash: 87119aebe2
4 years ago
Adeeb Shihadeh
5362097b37
fix loggerd after bootlog split ( #19840 )
...
* fix loggerd after bootlog split
* logger handles that
* unused
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2e64049ea4
4 years ago
Dean Lee
57b1b4c456
loggerd: split bootlog to a separate program ( #19831 )
...
* bootlog
* blank lines
* move file_exists to util.h
* src = ['loggerd.cc']
* log_init_data
* Revert "src = ['loggerd.cc']"
This reverts commit 18a587023d
.
* add bootlog to .gitignore
* use s->has_qlog instead of true
* add blank lines & remove extern C
old-commit-hash: f973c56a36
4 years ago
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
5 years ago
Dean Lee
24a729dca8
improve loggerd error handling ( #1332 )
...
* call BZ2_bzWriteClose after fail
* set closed file handles to NULL
* move fclose after BZ2_bzWriteClose
old-commit-hash: 434a2b0658
5 years ago
George Hotz
640c41a3ff
Add sentinels to logs and qlogs ( #1205 )
...
* sentinel WIP
* logger is now a cc, not a c
* simpler code doesn't touch loggerd.cc
* oops, double lock. and logreader is nicer
old-commit-hash: 2f2b85581c
5 years ago
George Hotz
510b718f0f
logcatd, loggerd, mapd, modeld, proclogd
...
old-commit-hash: da079d47d7
5 years ago
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
5 years ago
Vehicle Researcher
9abcfabc5f
openpilot v0.6 release
...
old-commit-hash: 8a9ed94f5f
6 years ago