| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Topic: GENDLT-425
Change-Id: I4ec56d714804d9ee4fa904b71c58dafd00990b4f
|
|
|
|
|
|
| |
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Change-Id: Id01c9a11e4b5ccf4166f10c5e45363f3a7c00535
|
|
|
|
|
|
| |
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Change-Id: I211222d04350820098bf56dfc5b7aee50e2529f0
|
|
|
|
|
| |
Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
Change-Id: I504664fa8d2a4c6d9449a1911bf139dfe6005d76
|
|
|
|
|
|
|
|
| |
This commit resloves a bug introduced from the commit:
CommonControl: Unix socket path and ecuid parsing for control applications
Signed-off-by: S. Hameed <shameed@jp.adit-jv.com>
Change-Id: Ifd4af24cab3ef41fda86fdf63a559438b51eca6e
|
|
|
|
|
|
| |
Signed-off-by: Manikandan C <Manikandan.Chockalingam@in.bosch.com>
Change-Id: I023c6bccbe3977d50b77bb601df80643d8e2d82c
|
|
|
|
|
|
|
|
| |
1. support for setting log level using wildcards for both app and context
2. support for setting entire system log level
Signed-off-by: Manikandan C <Manikandan.Chockalingam@in.bosch.com>
Change-Id: I92f8c5461903f092cd50f05f644013432940a87b
|
|
|
|
|
|
|
|
| |
This macro internally checks the size of a void pointer to decide if the
pointer address is sent with DLT_HEX32 or DLT_HEX64 macro.
Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
Change-Id: Ie316ac411f2174e0760e09244d04b83c8006f55d
|
|
|
|
|
|
|
|
| |
The user log message handler was returning 1 instead of -1 in case of
failure, which was not expected.
Signed-off-by: Frederic Berat <fberat@de.adit-jv.com>
Change-Id: Id03b2879f631e804f9939a9f52132be26491f888
|
|
|
|
|
|
|
|
| |
The activation of the connection is now centralized in one common
function.
Signed-off-by: Frederic Berat <fberat@de.adit-jv.com>
Change-Id: I86703eab411088905a85f526d5102875e2c92b7e
|
|
|
|
|
|
|
|
|
|
| |
The receiver structures have been removed from the dlt-daemon structure,
they are now part of the connection.
The overall usage of the receiver structrure has also been reviewed in
the daemon.
Signed-off-by: Frederic Berat <fberat@de.adit-jv.com>
Change-Id: I7cf80d79ed73bd6d4f370bb3f278d26ccc9d8d7a
|
|
|
|
|
|
|
|
| |
Incremented client connections in case of serial connection also
Signed-off-by: Manikandan C <Manikandan.Chockalingam@in.bosch.com>
Change-Id: I3eb56ca67d46a7474cb750769c65c6548d40554f
|
|
|
|
|
|
|
| |
To avoid collisions with Logstorage Offlinetrace code checks for Offlinetrace log file base name
Signed-off-by: S. Hameed <shameed@jp.adit-jv.com>
Change-Id: I9719dd116cc72dd61f41211caba805e865be9539
|
|
|
|
|
|
|
|
|
|
|
| |
Some configuration elements are mandatory, some other optionals.
The Gateway configuration handler now supports both of them.
If a mandatory configuration is missing, the Section is ignored, and
next one is handled.
If all sections are wrong, the Gaeteway fails its initialization.
Signed-off-by: Frederic Berat <fberat@de.adit-jv.com>
Change-Id: I41177783e7c5cae528b54b48f558032e672c9451
|
|
|
|
|
|
|
|
|
|
|
| |
The New SendSerialHeader configuration allows to define if a gateway
needs this serial header to be sent. It can be configured differently
for each gateway.
If the configuration is not available, the DLT global configuration is
used.
Signed-off-by: Frederic Berat <fberat@de.adit-jv.com>
Change-Id: If37cb0dfc7e765a1752e438e61c1622ffb7dbc4f
|
|
|
|
|
|
| |
Signed-off-by:Frederic Berat <fberat@de.adit-jv.com>
Change-Id: I9b387d5713f5ae7b6fcfadb22d804fdb97534e44
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A list of control messages can be specified in the dlt_gateway.conf.
These messages then are send immediately to the passive node after the
connection has been established.
Currently supported control messages are
- GET_LOG_INFO
- GET_SOFTWARE_VERSION
Having the "SendControl" property is now mandatory for a passive node
configuration, but the list of control messages might be empty.
Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
Change-Id: I0ae4501449bf264c2d6f32724b0f035926115611
|
|
|
|
|
|
| |
Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
Change-Id: Iffbfb4693b172065d6000ecbf23342498341fa73
|
|
|
|
|
|
|
|
| |
support long options
Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
Change-Id: I2bac5e48a5d210b544a96fe96dc322f28ac472fe
|
|
|
|
|
|
| |
Signed-off-by: S. Hameed <shameed@jp.adit-jv.com>
Change-Id: I6d4e893b0d2d76edf6235040ffd215a9305b7a22
|
|
|
|
|
|
|
|
| |
properties
Signed-off-by: S. Hameed <shameed@jp.adit-jv.com>
Change-Id: I52c70f051c407e7b7e0281b1f48cdaf2f9dc5a47
|
|
|
|
|
|
| |
Signed-off-by: S. Hameed <shameed@jp.adit-jv.com>
Change-Id: I4466364e6340c526c8ce6f22d80c3ffc1b8be4ef
|
|
|
|
|
|
|
|
|
|
|
|
| |
- double free SIGSEGV caused by uninitialized free'd value in case
of uncomplete Logstorage filter configuration
- load configuratation returns error when the last configuration is
invalid, but previous configurations are valid which results in
memory leaks
Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
Change-Id: I44103ed6b17e4b02eb35bdb575c234ff12bb5208
|
|
|
|
| |
Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
|
|
|
|
|
|
|
|
|
| |
A new return value DLT_RETURN_USER_BUFFER_FULL is introduced which is
returned by all dlt_user_log_write_* and dlt_log_* functions when the
data to be added to the user buffer exceeds its size (datasize >
DLT_USER_BUF_MAX_SIZE)
Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit d319ebf4d2d449d70befae0eebbdd82c19c5315f introduced new handling
of the situation when writing data to the user buffer would exceed its
size. This was achieved by truncating the data to fit. This solution had
a problem:
It could lead to a buffer overflow when the updated arg_size gets negative
(actually undefined value because it is unsigned).
As a quick fix the behaviour is reverted to the state before the
aforementioned commit.
Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
|
|
|
|
| |
Change-Id: Ib8f298937a715a0f05e34f8b843dd7c1f2fda63f
|
|
|
|
|
| |
Change-Id: I9a129ccdb00ebbb51dc6bbd5e858b9bdcd3046f2
Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
|
|
|
|
|
|
|
|
| |
With commit d319ebf4d2d449d70befae0eebbdd82c19c5315f a bug was
introduces which lead to some messages getting not transmitted.
Change-Id: I9f20177fbc7db9d7caf527e14159444b5fec168a
Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
|
|
|
|
|
|
|
|
|
|
|
| |
- Updated INSTALL
- Updated README
- Fixed ReleaseNotes.txt for asciidoc generation
- Added manual for core dump handler
- Updated all man pages
Change-Id: I7154c14f92b3f7f6ca05c721d154a8e1aa7df1bf
Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously if messages containing strings or raw data were exceeding the
maximum message size (DLT_USER_BUF_MAX_SIZE, currently set to 1390) they
were discarded completely.
This behaviour is changed so that too large data is truncated and
sent anyway.
Commented out part of unit test for dlt_log_raw abnormal where
negative values for unsigned length were passed.
Change-Id: I4f6bf152e7125924717c941ad7ebb8fd79787715
Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
|
|
|
|
|
|
|
|
|
|
|
| |
If a file get written to after it appeared in a folder that is watched
by the dlt-system filetransfer thread, the application tries to send
this file multiple times, causing it to crash. This patch fixes this by
canceling the sending process more gracefully if the file cannot be
found.
Change-Id: Id19b72061bed41642d12cd33afeaa41fb444b2c8
Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For each file that is supposed to be sent, dlt-system will check if a
client is connected to the daemon. If not, it waits and keeps checking
once per second, until a client is connected.
Files will still be compressed and moved to the .tosend subdirectory,
regardless of the client connection.
Changed the default startup timeout in the configuration file to 0.
Change-Id: I5850adb51c381bc6279ac59f5bd985491ba5caf3
Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
|
|
|
|
|
|
| |
- compilation failed with gcc 4.5.3
Signed-off-by: Stefan Vacek <stefan.vacek@intel.com>
|
|
|
|
|
|
|
|
|
| |
- 50-coredump.conf is now generated and installed
by cmake and uses @CMAKE_INSTALL_PREFIX@ for setting
path to dlt-cdh
- README updated
Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
|
|
|
|
|
| |
Change-Id: I58a5a89de2ab6a2ab91aad919144307f49f046af
Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
|
|
|
|
| |
Signed-off-by: Stefan Vacek <stefan.vacek@intel.com>
|
|
|
|
| |
Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
|
|
|
|
|
| |
Change-Id: Ib5518d058c367b0514930157880231f6d0e19d5f
Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
|
|
|
|
|
|
|
| |
Add option to specify user for non root processes
Change-Id: I8055695c9653e3a52a3838d20e4be87ef5de3972
Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
|
|
|
|
|
|
|
| |
- Added dlt-kpi.txt as asciidoc document.
- Fixed a bug where extremely high CPU- and IO-Wait times were
calculated.
- CPU- and IO-Wait time are now being divided by CPU count.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This tool logs the following information to dlt-daemon:
- PID, parent's PID, commandline
when new processes appear, maked by "NEW"
- PID
when processes stop, marked by "STP"
- PID, CPU-Time (ms), RSS (bytes), CTX-switches, I/O (bytes), I/O-wait (ms)
for all processes that consume CPU time, marked as "ACT"
- PID, commandline
in a regular time-interval, marked as "CHK"
- The number of interrupts on each CPU in a regular time interval,
marked as "IRQ"
A configuration file, called dlt-procfs.conf allows configuring
the time intervals of the updated processes, the command-line updates
and the interrupts as well as the preferred log level.
|
|
|
|
|
|
| |
Updated release notes
Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
|
|
|
|
|
|
|
|
|
| |
The Gateway DLT Daemon will try to reconnect to a passive node once
after the connection was lost.
The maximum number of reconnects can be configured by changing
the DLT_GATEWAY_RECONNECT_MAX definition.
Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
|
|
|
|
| |
Signed-off-by: S. Hameed <shameed@jp.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
|
|
|
|
| |
Signed-off-by: Stefan Vacek <stefan.vacek@intel.com>
|
|
|
|
|
|
|
|
| |
- feature: allow to define a default-log-level in dlt.conf (see dlt.conf for documentation)
- bugfix: make dlt_unlock_mutex not inline to fix linkage
- bugfix: initial log-level was not set correctly when no dlt-daemon was running
Signed-off-by: Stefan Vacek <stefan.vacek@intel.com>
|