Commit Graph

10 Commits

Author SHA1 Message Date
Adeeb Shihadeh
f68f0403a6 bootlog: setup cloudlog on keywords (#20898)
* bootlog: setup cloudlog on keywords

* just log
old-commit-hash: 2bc9b97aba
2021-05-13 23:02:08 -07:00
Willem Melching
8b785f4744 store all files in /sys/fs/pstore in bootlog (#20875)
* store all files in /sys/fs/pstore in bootlog

* whitespace

* fix bootlog test
old-commit-hash: 4742f55749
2021-05-12 11:15:54 +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
532d19427c bump cereal
old-commit-hash: 8a280fbb8e
2021-05-03 20:47:11 -07:00
Dean Lee
60aa7b9d96 Logger: added function logger_get_route_name (#19995)
* added function logger_get_route_name

* remove empty line
old-commit-hash: 1588a6f0ac
2021-02-02 12:09:27 +01:00
Dean Lee
bc3b705a5b mv logger_build_boot to bootlog.cc (#19996)
old-commit-hash: 678c149246
2021-02-02 12:07:52 +01:00
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
2021-02-01 21:00:42 -08:00
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 4df4685bfcaba0c5400e2690440a74c32ff75afa.

* Empty commit,trigger Build

* fix each segment in a route having a different initial logMonoTime
old-commit-hash: 79e05965c4
2021-01-28 13:34:07 +01:00
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
2021-01-27 13:36:40 -08:00
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 18a587023d75b3a3a54f1ceaf9cb31a51640a067.

* add bootlog to .gitignore

* use s->has_qlog instead of true

* add blank lines & remove extern C
old-commit-hash: f973c56a36
2021-01-19 12:16:12 -08:00