| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Use cmake option to support version with major number only.
Signed-off-by: Bui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By calling target_include_directories() for the dlt target in src/lib/.
CMake filters out duplicate include paths. So even if the include
directories are already added with include_directories() in the top-level
CMakeLists.txt, they are not duplicated when the compiler is invoked.
For example, with this patch, the following works:
[~/Source/foo]$ ls
bar CMakeLists.txt dlt-daemon
[~/Source/foo]$ cat CMakeLists.txt
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
project(foo)
add_subdirectory(dlt-daemon)
add_subdirectory(bar)
[~/Source/foo]$ cat bar/CMakeLists.txt
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
project(bar)
add_executable(bar main.cpp)
target_link_libraries(bar dlt)
install(TARGETS bar RUNTIME DESTINATION bin)
bar/main.cpp contains the example from the top of
doc/dlt_for_developers.md that does "#include <dlt.h>" and then uses the
DLT logging macros.
Signed-off-by: Martin Ejdestig <martin.ejdestig@volvocars.com>
|
|
|
|
|
|
|
| |
align variable names with cmake 3.3 change.
=> DLT_VERSION* -> PROJECT_VERSION*
Signed-off-by: Felix Herrmann <fherrmann@de.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Felix Herrmann <fherrmann@de.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Allow building as a subproject of another
cmake project (CMAKE_* vs PROJECT_* variables)
2. Do not generate header files within source – bad practice, use build
directory for that(e.g. change location where dlt_version.h is being generated)
3. Use add_compile_options() instead of *_C/CXX_FLAGS variables for proper
compile environment definition, also bad practice, also see p.2
4. Add WITH_DLT_PKGCONFIG – add generate pkgconfig .pc files as switchable
option, should probably be part of headers install routine.
Signed-off-by: Radoslaw Kaczorowski <external.radoslaw.kaczorowski@bosch-softtec.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The poll system call is now used in the daemon to enable DLT use in
POSIX compliant systems. Also added introduced new unregister_app macro
to avoid missing of logs in startup buffer.
Signed-off-by: Frederic Berat <fberat@de.adit-jv.com>
Signed-off-by: ManikandanC <Manikandan.Chockalingam@in.bosch.com>
Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Signed-off-by: S. Hameed <shameed@jp.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
name of environment variable: DLT_INITIAL_LOG_LEVEL
Syntax:
<apid1>:<ctid1>:<loglevel1>;<apid2>:<ctid2>:<loglevel2>;...
apid: application id (up to 4 chars), if empty all applications will match
ctid: context id (up to 4 chars), if empty all contexts will match
loglevel: either -1..6 or a symbolic name (default, off, fatal, error,
warning, info, debug, verbose)
Examples:
DLT_INITIAL_LOG_LEVEL=TEST:LOG:0
-> turn off logging for appid TEST and contextid LOG
DLT_INITIAL_LOG_LEVEL=:LOG:warn
-> for contexts with name "LOG" set log-level to warning (3)
DLT_INITIAL_LOG_LEVEL=::VERBOSE
-> set log-level of all contexts to VERBOSE
DLT_INITIAL_LOG_LEVEL=::VERBOSE;TEST:LOG:3
-> set log-level of all contexts to VERBOSE except TEST:LOG, set this to WARNING
dlt-example-user: add option -l to specify log-level to be used when sending messages
Signed-off-by: Stefan Vacek <stefan.vacek@intel.com>
|
|
|
|
| |
Signed-off-by: Stefan Vacek <stefan.vacek@intel.com>
|
|
|
|
| |
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
|
|
|
|
|
|
| |
Scan findings. Renamed and cleanup further files.
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
|
|
|
|
|
|
| |
lib dll to correct location on Windows. Originally from Mikko Rapeli <mikko.rapeli@bmw.de>.
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
|
|
|
|
| |
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
single DLT message
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
|
|
|
|
| |
Signed-off-by: Christian Muck <christian.muck@bmw.de>
|
| |
|
| |
|
|
|
|
| |
dlt-test-internal because has no functionality.
|
| |
|
| |
|
| |
|
|
|
|
| |
Added missing offline trace files.
|
| |
|
| |
|
| |
|
| |
|
|
|