summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* appended null termination to version stringSimon Brandner2013-07-191-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | adding closure of socket in syslog_thread and read_socket fixed missing free of filepath in compressed file transfer fixed missing closedir in added in send_one error case fixed missing fclose of src_file in ferror case dlt-daemon.c fixed missing fclose in ferror case dlt_common.c using snprintf for filename instead sprintf in dlt_file_open modified some magix numbers - replaced by limits.h values. added strncpy instead strcpy to make cp more safe. split up a function to avoid coverity complaint when computing size of a write buffer length dlt_daemon_common: added strncpy instead strcpy to make cp more safe. Fixes some more Coverity issues in dlt-daemon.c dlt_user.c dlt_common.c and dlt_offline_trace.c. Conflicts: src/daemon/dlt-daemon.c src/lib/dlt_user.c Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Reduce used stack size needed by making resend buffer static.Alexander Wenzel2012-12-041-0/+5
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* [GDLT-120]: Segmented Network Trace: Prepare for rewrite.Lassi Marttala2012-11-262-3/+34
| | | | | | | | | | | | | This is a combination of 2 commits. Original descriptions below. [GDLT-120]: Remove dlt_queue. Only usage replace with POSIX queue. [GDLT-120]: Improve documentation. Add a note about context having to be pesistent thorough application lifetime. [GDLT-120]: Add macro interface. Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* [GDLT-120]: Improved Network trace. Rewrite to POSIX queue.Lassi Marttala2012-11-261-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | This is a squash of multiple commits. The original commit messages follow. [GDLT-120]: Segmented network trace: Correct error condition checks. [GDLT-120]: Add documentation for extended network trace [GDLT-120]: Add dlt_queue. Linked list based dynamic queue. [GDLT-120]: Recode to using queue for segmented messages [GDLT-120]: Improved thread start handling. Add error handling. Remove libm from linkage. [GDLT-120]: Avoid sending an extraneous empty segment, when size is aligned [GDLT-120]: More expansive return values from dlt_user_log_send_log [GDLT-120]: Change default behaviour of dlt_user_trace_network to truncated, instead of discard. [GDLT-120]: Convert to POSIX queue. Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* [GDLT-120] Segmentation of larger messages, raw blocks which fit not in a ↵Lassi Marttala2012-11-262-0/+31
| | | | | | single DLT message Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* [GDLT-115]: Encapsulate more macros. Fix things that used macrosLassi Marttala2012-11-261-38/+38
| | | | | | incorrectly. Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* [GDLT-115]: Prevent return value from DLT_REGISTER_APPLassi Marttala2012-11-261-2/+2
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* [GDLT-94]: Send periodic software version messages.Lassi Marttala2012-06-131-1/+1
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* [GDLT-67] dlt-system v2.0, check full commit message for rebase detailsLassi Marttala2012-06-131-10/+22
| | | | | | | | | | | | | | | [GDLT-67] Prepare build system. [GDLT-67] Config parsing, structure for thread handling [GDLT-67] Finalize configuration reading. [GDLT-67] Reimplementation of syslog, logfile, logprocess, shell. [GDLT-67] First complete version of the new dlt-system. [GDLT-67] Fixed header comments. authors, file names. [GDLT-67] Final touches. [GDLT-67] Fixed a problem with thread creation in optimized release binary. [GDLT-67] New configuration file. [GDLT-67] Added dlt debug output Signed-off-by: Christian Muck <christian.muck@bmw.de>
* Added define statement for initial value of file descriptor and (-1). ↵Christian Muck2012-05-301-0/+7
| | | | | | Updated the user_handle of the daemon and user Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GENDLT-21, Move mcnt from DltContextData to DltContextLassi Marttala2012-04-041-1/+1
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GENDLT-15, Avoid buffer overrun with snprintf().Lassi Marttala2012-04-042-3/+4
| | | | | | | | | | Check return value of dlt_user_log_write_start(_id) correctly. Reduce the number of applications if allocation fails. Make dlt_user_log_write_start inline Improve error checking in dlt_user_log_write_start_id Use databuffersize to avoid reallocations Signed-off-by: Christian Muck <christian.muck@bmw.de>
* Corrected email of Alexander WenzelChristian Muck2012-03-2711-11/+11
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GDLT-38, Update <FILE> fields in licenses.Lassi Marttala2012-03-2610-10/+10
|
* GDLT-38, Added license to dlt_filetransfer, which had no licenseLassi Marttala2012-03-261-0/+19
| | | notification
* GDLT-38, Update licenses in includeLassi Marttala2012-03-269-297/+160
|
* GDLT-38, Update license in more CMakeListsLassi Marttala2012-03-261-32/+11
|
* GDLT-38, Update licenses in CMakeListsLassi Marttala2012-03-261-32/+11
|
* Modified library for new test cases to corrupt data - related to the bug fix ↵Christian Muck2012-03-221-0/+10
| | | | | | for testing signed and unsigned integer Signed-off-by: Christian Muck <christian.muck@bmw.de>
* [GENDLT-21] Fixed bug: Message Counter (MCNT) should be increased but is ↵Christian Muck2012-03-211-2/+2
| | | | | | always 0 Signed-off-by: Christian Muck <christian.muck@bmw.de>
* Update project structureChristian Muck2012-02-132-24/+0
|
* Added .cproject and .project fileChristian Muck2012-02-091-5/+5
|
* [GENDLT-16] Create variable in dlt-system.conf to configure the timeout of ↵Christian Muck2012-02-081-0/+23
| | | | the filetransfer fixed.
* Changed to uint32_t to match the specification.Lassi Marttala2012-01-261-1/+1
|
* [GSW-141] Tracefile content stored different under Ubuntu 64 bit versionLassi Marttala2012-01-261-1/+1
| | | | | compared to Ubuntu/Win 32 Bit version Modified DltStorageHeader to use int32_t instead of time_t.
* [GSW-136] Improve including/prefixing of dlt_version.h fixedChristian Muck2012-01-183-17/+17
|
* [GSW-137] Wrong include gives error on compailing against dltChristian Muck2012-01-162-6/+6
|
* Clean up of doc generationChristian Muck2012-01-161-4/+4
|
* [GSW-138] API Extension to resend the log messages in the user buffer fixed.Christian Muck2012-01-131-0/+8
|
* Disabled completely SHM if not enabled.Alexander Wenzel2011-11-251-0/+2
|
* Fixed buffer overflow problem in buffer library.Alexander Wenzel2011-11-232-11/+2
|
* dlt-system filetransfer now recovers when file is deleted during filetransfer.Alexander Wenzel2011-11-221-50/+98
| | | | | Added check of file size when starting and deleting files during filetransfer. Added check of shm buffer availability when push to shm.
* Added dynamic increasable ringbuffers to user lib and daemon.Alexander Wenzel2011-11-152-9/+11
|
* Created abstraction of shm buffer management.Alexander Wenzel2011-11-142-3/+47
|
* Reworkd SHM implementation.Alexander Wenzel2011-11-101-0/+7
|
* Added dlt-daemon internal logging configuration into dlt.conf file.Alexander Wenzel2011-11-091-1/+11
| | | | Internal logging to file now also possible.
* Fixed shared memory problem in DLT library during startup, if application is ↵alex2011-11-041-2/+2
| | | | started before daemon.
* Reverted changes in dlt_register_app() function.Alexander Wenzel2011-10-282-2/+11
| | | | Added new dlt_check_library_version() function.
* [GSW-43] Performance improvement for bulk data over DLT.Alexander Wenzel2011-10-181-0/+16
| | | | Implemented recovery of SHM.
* [Reverted] Removed Ringbuffer implementation in Library.Alexander Wenzel2011-10-182-0/+72
|
* Prepared new version number and new config files installation.Alexander Wenzel2011-10-181-3/+3
|
* Improved file logging and added variable to enable each kind of system logging.Alexander Wenzel2011-10-141-1/+1
|
* Implemented new DLT user library function dlt_get_log_state.Alexander Wenzel2011-10-121-0/+12
|
* Added new API dlt_set_log_mode to enable/disable internal/external trace.Alexander Wenzel2011-10-111-0/+21
|
* Functionality log of processes from /proc added.Alexander Wenzel2011-10-052-2/+2
|
* First version of DLT system mamager.Alexander Wenzel2011-10-041-1/+1
|
* Fixed filetransfer to use shm status for flow control.Alexander Wenzel2011-09-292-0/+31
| | | | Added new function to dlt user library.
* Add Filetransfer feature to DLT user library.Alexander Wenzel2011-09-293-1/+203
| | | | Added missing offline trace files.
* Fixed wrong size of shm on server side.Alexander Wenzel2011-09-281-5/+90
|
* Offline trace memory partly implemented.Alexander Wenzel2011-09-272-1/+6
|