9b0fcaeb84 
								
							
								 
							
						 
						
							
							
								
								rename yuv streams ( #23071 )  
							
							... 
							
							
 
							
							* rename yuv streams
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 348d2d2b0d 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								28dd415759 
								
							
								 
							
						 
						
							
							
								
								Do not run code on version.py import ( #23063 )  
							
							... 
							
							
 
							
							* Do not run code on version.py import
* fix athena
old-commit-hash: f7c46c6949 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								3b8daea061 
								
							
								 
							
						 
						
							
							
								
								Clear loggerd locks once on boot ( #23060 )  
							
							... 
							
							
 
							
							* add test for clear_locks
* move to bootlog
* simplify test
old-commit-hash: a2f32fd3e1 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7f0beef092 
								
							
								 
							
						 
						
							
							
								
								loggerd: add test case for trigger_rotate ( #23038 )  
							
							... 
							
							
 
							
							* test rotate
* remove global LoggerdState
old-commit-hash: 1d323e0fd6 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c1ef2b7493 
								
							
								 
							
						 
						
							
							
								
								loggerd: add test case for sync_encoders ( #23020 )  
							
							... 
							
							
 
							
							old-commit-hash: b5eb02181c 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								987f87cc0e 
								
							
								 
							
						 
						
							
							
								
								loggerd: split loggerd.cc into three files  
							
							... 
							
							
 
							
							old-commit-hash: 75dd0d6296 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								44568de155 
								
							
								 
							
						 
						
							
							
								
								faster jenkins ( #22973 )  
							
							... 
							
							
 
							
							Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e13630dfee 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9399b6ae61 
								
							
								 
							
						 
						
							
							
								
								uploader: switch to upload_url v1.4 ( #22966 )  
							
							... 
							
							
 
							
							old-commit-hash: 23a1f47817 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								425349a55c 
								
							
								 
							
						 
						
							
							
								
								swaglog.py: respect LOGPRINT env variable ( #22950 )  
							
							... 
							
							
 
							
							* swaglog.py: respect LOGPRINT env variable
* only change handler that prints
* keep usefull manager prints
* only print running list
* revert process changes
* fix test
old-commit-hash: 77b334a698 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								35bfdce477 
								
							
								 
							
						 
						
							
							
								
								loggerd: trigger rotate on frame id instead of frame count ( #22848 )  
							
							... 
							
							
 
							
							Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ea761cbbd5 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								669ed5ff2b 
								
							
								 
							
						 
						
							
							
								
								Put journal and nvme stats in bootlog ( #22849 )  
							
							... 
							
							
 
							
							* Run commands and put output in bootlog
* log nvme
* fix indent
* cereal without event
* use regular array
old-commit-hash: fa0cbe5d40 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								48ed0e129e 
								
							
								 
							
						 
						
							
							
								
								loggerd/RawLogger: fix memory leak in encode_frame ( #22826 )  
							
							... 
							
							
 
							
							old-commit-hash: 0bd9aed82c 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								19deb98bc3 
								
							
								 
							
						 
						
							
							
								
								wshadow: fix comma three build  
							
							... 
							
							
 
							
							old-commit-hash: 45c506bb17 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								43e1903073 
								
							
								 
							
						 
						
							
							
								
								enable wshadow ( #22756 )  
							
							... 
							
							
 
							
							* enable wshadow (#22714 )
* fix replay
* more build fixes
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 5246f0231e 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a031b938b0 
								
							
								 
							
						 
						
							
							
								
								replay: improve segment download and merge ( #22654 )  
							
							... 
							
							
 
							
							* no-cache mode
* fix test cases build error
* space
* don't create cache dir in no-cache mode
* fix errors in test cases
* no_local_cache_
* set the number of connections by chunk_size
* use size_t instead of int64_t
* add test case for no-cache mode
* rename variables
* fix SIGSEGV
* cleanup
* faster decompressBZ2
* always decompress bz2
* add test cases
* prepare for python interface
* fix test cases build error
* continue
* camera_replay: cache remote file
* protected inheritance
* single option name
* TODO
* test_case for LogReader&FrameReader
* fix wrong require
* test case for FileReader
* cleanup test
* test:fix wrong filename
* check cached file's checksum
* fix mkdir permissions err
cleanup filereader
* remove initialize libav network libraries.
dd
* abort all loading if one failed
* cleanup tests
* use threadpool to limit concurrent downloads
* cache more segments
* merge 3 segments for replay
* one segment uses about 100M of memory
* use segments_need_merge.size()
* shutdown
* fix stuck if exit replay  before keyboard thread started
* load one segment at a time
* small cleanup
* cleanup filereader
* space
* tiny cleanup
* merge master
* cleanup test cases
* use util:create_directories
* cleanup framereader
old-commit-hash: 2b4a477fbc 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ebffd5f3ad 
								
							
								 
							
						 
						
							
							
								
								util: add safe write functions ( #22160 )  
							
							... 
							
							
 
							
							* add safe write functions
* log error
* bzfile safe_fopen&safe_flush
* update test_case
* trigger ci
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 652c42da2c 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								0afe7d74bc 
								
							
								 
							
						 
						
							
							
								
								util: add new function create_directories with unit tests ( #21871 )  
							
							... 
							
							
 
							
							* util::create_directories
* check bool ret
* don't assume mask
* rename with_umask to no_umask
* remove umask
* rebase master
* rebase master
* 0755
old-commit-hash: 1f39d8cee6 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c401d7aff3 
								
							
								 
							
						 
						
							
							
								
								loggerd: fix concurrency issues in sync encoders  ( #22590 )  
							
							... 
							
							
 
							
							* sync_encoders
* add variable camera_synced
* cleanup
old-commit-hash: 18caf3535b 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								bb7751fdb0 
								
							
								 
							
						 
						
							
							
								
								don't set core affinity on PC ( #22706 )  
							
							... 
							
							
 
							
							old-commit-hash: 5b331fd6f5 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								0f77dd4506 
								
							
								 
							
						 
						
							
							
								
								loggerd: set encodeIdx.valid if frame id is correct ( #22634 )  
							
							... 
							
							
 
							
							* loggerd: set encodeIdx.valid if frame id is correct
* check valid flag in test
* test cleanup
* bump cereal
old-commit-hash: 89f311714c 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b773f6711c 
								
							
								 
							
						 
						
							
							
								
								loggerd: always run encoders ( #22649 )  
							
							... 
							
							
 
							
							* loggerd: always run encoders
* fix raw logger
* bump loggerd cpu usage
old-commit-hash: 76bd932cf5 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								25cfa2b65a 
								
							
								 
							
						 
						
							
							
								
								tici: affine loggerd to efficiency cores ( #22581 )  
							
							... 
							
							
 
							
							old-commit-hash: 84de248fa7 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								66ca3985c9 
								
							
								 
							
						 
						
							
							
								
								replay : move utility functions into separate file ( #22414 )  
							
							... 
							
							
 
							
							* move functions into util
* read bz2 into stream
* pre-decompress log in the download thread
* cleanup logreader
* cache sha256 path
* use readBZ2file in test_logger
* Revert "cache sha256 path"
This reverts commit 60459d3ea09a2c80f4560cf95b1ce7d6af59f06d.
* use macro
* use ostringstream
* cleanup readBZ2File
* move precise_nano_sleep into util
old-commit-hash: d28b98c602 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								0cf0485912 
								
							
								 
							
						 
						
							
							
								
								small typo  
							
							... 
							
							
 
							
							old-commit-hash: 3ccf712ac9 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c0356ffe9b 
								
							
								 
							
						 
						
							
							
								
								add log docs  
							
							... 
							
							
 
							
							old-commit-hash: 0f8c6f130b 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d508125f35 
								
							
								 
							
						 
						
							
							
								
								Upload when on ethernet ( #22188 )  
							
							... 
							
							
 
							
							in addition to when on wifi
Co-authored-by: ntegan <nick@egan.gg>
old-commit-hash: 54b5972cf6 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4844f8196d 
								
							
								 
							
						 
						
							
							
								
								remove loggerd todo about encodeIdx decimation  
							
							... 
							
							
 
							
							old-commit-hash: 377fe84948 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								33b378419a 
								
							
								 
							
						 
						
							
							
								
								loggerd: remove obsolete ethernetsniffer.py ( #22139 )  
							
							... 
							
							
 
							
							old-commit-hash: 8bca70878f 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2dac83c02b 
								
							
								 
							
						 
						
							
							
								
								loggerd: remove obsolete testraw.cc ( #22138 )  
							
							... 
							
							
 
							
							old-commit-hash: 5a8ca8b449 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e49dd50f98 
								
							
								 
							
						 
						
							
							
								
								Disable encoder sync logic if only one rotate camera present ( #22107 )  
							
							... 
							
							
 
							
							* disable sync logic if only one rotate camera
* consistent brackets
old-commit-hash: 48035e9535 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								60e7e09127 
								
							
								 
							
						 
						
							
							
								
								Ensure that first segment starts with all cameras on the same frameId ( #22096 )  
							
							... 
							
							
 
							
							* test that segment starts with the same frame id
* improve test
* add sync logic
* atomic max
* review comments
old-commit-hash: a93271a518 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4c17c06799 
								
							
								 
							
						 
						
							
							
								
								Handle EINTR for all syscalls that can return it ( #21948 )  
							
							... 
							
							
 
							
							old-commit-hash: f02c8d0e2c 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ecf3ee7603 
								
							
								 
							
						 
						
							
							
								
								loggerd: create encoder threads from cameras_logged ( #21875 )  
							
							... 
							
							
 
							
							old-commit-hash: d9baaf7eb9 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								0fac38e34f 
								
							
								 
							
						 
						
							
							
								
								LoggerState: test cases ( #21855 )  
							
							... 
							
							
 
							
							* test multiple threads writing to log
* fix typo
* use util::getenv
* check INIT_DATA and SENTINEL
* test END_OF_SEGMENT
* add comment
* test multiple threads logging and rotation
* cleanup
* update
* LoggerHandle:quick fix
* cleanup
* revert test_loggerd.py
* refactor test case
* check lock file
* check refcnt after close
* test_runner.cc
d
* int eixt_signal
old-commit-hash: 935cbd3139 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								6f92abc815 
								
							
								 
							
						 
						
							
							
								
								Less open file permissions ( #21922 )  
							
							... 
							
							
 
							
							* Less open file permissions
* add test back
* remove params test for permissions
* remove umask
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dddab597bc 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								277bd43b15 
								
							
								 
							
						 
						
							
							
								
								Revert "tici: give loggerd rt priority ( #21503 )"  
							
							... 
							
							
 
							
							This reverts commit 0a50cf851e79342cf3db01033bc91516c504cbea.
old-commit-hash: 54a4eeb0fc 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5c1d1ebe76 
								
							
								 
							
						 
						
							
							
								
								tici: give loggerd rt priority ( #21503 )  
							
							... 
							
							
 
							
							* give loggerd rt priority
* assert
* little more
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7e2752c878 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f65c7e7418 
								
							
								 
							
						 
						
							
							
								
								capnp:Text::Reader: use implicit conversion from string ( #21980 )  
							
							... 
							
							
 
							
							old-commit-hash: c6a34dd9f7 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7d09945de3 
								
							
								 
							
						 
						
							
							
								
								BZFile: handle EINTR on BZ2_bzWrite ( #21949 )  
							
							... 
							
							
 
							
							old-commit-hash: b66e8adbef 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								aff7f0b1f3 
								
							
								 
							
						 
						
							
							
								
								enclose macro arguments in parentheses ( #21947 )  
							
							... 
							
							
 
							
							* macro argument should be enclosed in parentheses
* CL_CHECK
old-commit-hash: 4625098a79 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9b1a7a6f01 
								
							
								 
							
						 
						
							
							
								
								use same env variable for loggerd, deleter, and uploader  
							
							... 
							
							
 
							
							old-commit-hash: 1d4b19f739 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ae4f3c98d5 
								
							
								 
							
						 
						
							
							
								
								refactor loggerd: trigger rotate in encoder thread ( #21860 )  
							
							... 
							
							
 
							
							* trigger rotate in eoncode thread
* rotate in time
* lgtm
* dcam trigger rotate on C3
* check trigger rotate field
* Use >=
* add rotator thread
* set cnt to 0
* test encodeIdx is increasing across segments
* test both segmentId and encodeId
* fix encodeIdx
* no thread needed
* add log for failed to encode
* stricter C3 test, dont check start encodeId on C2 dcam
* only update last_camera_seen_tms when considered for rotate
Co-authored-by: deanlee <deanlee3@gmail.com>
old-commit-hash: a39873872d 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								94d534afea 
								
							
								 
							
						 
						
							
							
								
								hw.h: move Hardware-related paths to namespace Path ( #21826 )  
							
							... 
							
							
 
							
							* refactor getenv and path
* apply review
old-commit-hash: fefc70b4ca 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								17867a1122 
								
							
								 
							
						 
						
							
							
								
								loggerd: implement DONT_LOG flag ( #21832 )  
							
							... 
							
							
 
							
							* implement DONT_LOG flag
* better typing
old-commit-hash: 8354cfc53c 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								db62739c00 
								
							
								 
							
						 
						
							
							
								
								fix loggerd test failure when camerad is slow to start  
							
							... 
							
							
 
							
							old-commit-hash: d748b44f48 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7fed9b0c0c 
								
							
								 
							
						 
						
							
							
								
								logger.cc/logger_build_init_data(): reuse params_map ( #21811 )  
							
							... 
							
							
 
							
							* faster log params
* Update selfdrive/loggerd/logger.cc
* fix build
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: fecdf16f6b 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								31ea9413bb 
								
							
								 
							
						 
						
							
							
								
								util/read_files_in_dir: return map by value ( #21815 )  
							
							... 
							
							
 
							
							old-commit-hash: 11ffbc6936 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								dc0c4bd99b 
								
							
								 
							
						 
						
							
							
								
								debug msg for loggerd tests  
							
							... 
							
							
 
							
							old-commit-hash: 48652db706 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								14a441a314 
								
							
								 
							
						 
						
							
							
								
								publish uploader state ( #21580 )  
							
							... 
							
							
 
							
							* uploader state
* add time
* bump
* populate whole packet
* bump cereal
* revert
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6b69032807 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f8edcd64c4 
								
							
								 
							
						 
						
							
							
								
								loggerd: power failure print sync done  
							
							... 
							
							
 
							
							old-commit-hash: dd128f5916 
							
						 
						
							4 years ago