<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/DLT-daemon.git/src, branch master</title>
<subtitle>github.com: GENIVI/dlt-daemon.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/DLT-daemon.git/'/>
<entry>
<title>dlt_user_shared: Add timeout to writev (#385)</title>
<updated>2023-05-17T06:43:33+00:00</updated>
<author>
<name>Alexander Mohr</name>
<email>alexander.m.mohr@mercedes-benz.com</email>
</author>
<published>2023-05-17T06:43:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/DLT-daemon.git/commit/?id=6005b92b34b3e3ffe43c59be544acd4688a3354c'/>
<id>6005b92b34b3e3ffe43c59be544acd4688a3354c</id>
<content type='text'>
This timeout is necessary to prevent
blocking writev indefinitely.
Without the timeout dlt-daemon, may block
indefinitely when an app id is re-used
very frequently.
In that case dlt-daemon won't accept anymore
new connections and further communication
in any way is not possible anymore.

Signed-off-by: Alexander Mohr &lt;alexander.m.mohr@mercedes-benz.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This timeout is necessary to prevent
blocking writev indefinitely.
Without the timeout dlt-daemon, may block
indefinitely when an app id is re-used
very frequently.
In that case dlt-daemon won't accept anymore
new connections and further communication
in any way is not possible anymore.

Signed-off-by: Alexander Mohr &lt;alexander.m.mohr@mercedes-benz.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix macro code  to use boolean value in while instruction (false) (#469)</title>
<updated>2023-05-08T07:50:17+00:00</updated>
<author>
<name>michael-methner</name>
<email>mmethner@de.adit-jv.com</email>
</author>
<published>2023-05-08T07:50:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/DLT-daemon.git/commit/?id=cfc2c86bfec130fb8a95ff0c2553d5c1dd1bd3c1'/>
<id>cfc2c86bfec130fb8a95ff0c2553d5c1dd1bd3c1</id>
<content type='text'>
* Fix macro code  to use boolean value in while instruction (false)

Signed-off-by: Michael Methner &lt;mmethner@de.adit-jv.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix macro code  to use boolean value in while instruction (false)

Signed-off-by: Michael Methner &lt;mmethner@de.adit-jv.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Remove use of DLT_LOG in signal handler (#472)</title>
<updated>2023-04-26T09:04:44+00:00</updated>
<author>
<name>michael-methner</name>
<email>mmethner@de.adit-jv.com</email>
</author>
<published>2023-04-26T09:04:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/DLT-daemon.git/commit/?id=07fe6557995682d3e7c99754f1f16d765c46a982'/>
<id>07fe6557995682d3e7c99754f1f16d765c46a982</id>
<content type='text'>
DLT_LOG is using internally function which are not async-signal safe (like calloc, vsnprintf). Therefore, it needs to be removed from the signal handler

Signed-off-by: Michael Methner &lt;mmethner@de.adit-jv.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DLT_LOG is using internally function which are not async-signal safe (like calloc, vsnprintf). Therefore, it needs to be removed from the signal handler

Signed-off-by: Michael Methner &lt;mmethner@de.adit-jv.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Re-Initialize internal logging in daemon mode only (#459)</title>
<updated>2023-04-19T09:31:26+00:00</updated>
<author>
<name>lvklevankhanh</name>
<email>119659574+lvklevankhanh@users.noreply.github.com</email>
</author>
<published>2023-04-19T09:31:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/DLT-daemon.git/commit/?id=0c1c75e8678e9dc7e0b76a3db1898a28100fcaf2'/>
<id>0c1c75e8678e9dc7e0b76a3db1898a28100fcaf2</id>
<content type='text'>
* Re-Initialize internal logging in daemon mode only

Re-Initialize internal logging is triggered twice during startup.
This fixed might be a simplified initailization code for DLT.

Signed-off-by: Le Van Khanh &lt;Khanh.LeVan@vn.bosch.com&gt;

* Re-Initialize internal logging in daemon mode only

Re-Initialize internal logging is triggered twice during startup.
This fixed might be a simplified initailization code for DLT.

Signed-off-by: Le Van Khanh &lt;Khanh.LeVan@vn.bosch.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Re-Initialize internal logging in daemon mode only

Re-Initialize internal logging is triggered twice during startup.
This fixed might be a simplified initailization code for DLT.

Signed-off-by: Le Van Khanh &lt;Khanh.LeVan@vn.bosch.com&gt;

* Re-Initialize internal logging in daemon mode only

Re-Initialize internal logging is triggered twice during startup.
This fixed might be a simplified initailization code for DLT.

Signed-off-by: Le Van Khanh &lt;Khanh.LeVan@vn.bosch.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>logstorage: Adds option to write logs in gzip format (#442)</title>
<updated>2023-04-19T09:28:50+00:00</updated>
<author>
<name>Linus Probert</name>
<email>linus.probert@gmail.com</email>
</author>
<published>2023-04-19T09:28:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/DLT-daemon.git/commit/?id=5ca800c65fba4738dedf85058fef2eca3251fe18'/>
<id>5ca800c65fba4738dedf85058fef2eca3251fe18</id>
<content type='text'>
* logstorage: Adds option to write logs in gzip format

Adds functionality to allow storing offline logs in gzipped files
instead of standard dlt files.

* Ensure tests run safely with or without GZIP compression enabled

* Enforce minimum version of zlib if enabling gzip compression</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* logstorage: Adds option to write logs in gzip format

Adds functionality to allow storing offline logs in gzipped files
instead of standard dlt files.

* Ensure tests run safely with or without GZIP compression enabled

* Enforce minimum version of zlib if enabling gzip compression</pre>
</div>
</content>
</entry>
<entry>
<title>dlt-user: fix crash with certain strings (#463)</title>
<updated>2023-04-17T13:02:23+00:00</updated>
<author>
<name>Alexander Mohr</name>
<email>alexander.m.mohr@mercedes-benz.com</email>
</author>
<published>2023-04-17T13:02:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/DLT-daemon.git/commit/?id=9a2312d3512a27620d41b9a325338b6e7b3d42de'/>
<id>9a2312d3512a27620d41b9a325338b6e7b3d42de</id>
<content type='text'>
make sure that a string with exactly UINT16_MAX bytes does not
overflow the dlt buffer

Signed-off-by: Alexander Mohr &lt;alexander.m.mohr@mercedes-benz.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
make sure that a string with exactly UINT16_MAX bytes does not
overflow the dlt buffer

Signed-off-by: Alexander Mohr &lt;alexander.m.mohr@mercedes-benz.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>dlt_multiple_files: remove superfluous mode bits and add header file to header list (#462)</title>
<updated>2023-04-12T09:19:34+00:00</updated>
<author>
<name>Minh Quang Luu</name>
<email>50074497+minminlittleshrimp@users.noreply.github.com</email>
</author>
<published>2023-04-12T09:19:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/DLT-daemon.git/commit/?id=fae02b466dfaee17dd0ac0368c7911d9654755d5'/>
<id>fae02b466dfaee17dd0ac0368c7911d9654755d5</id>
<content type='text'>
Signed-off-by: LUU QUANG MINH &lt;Minh.LuuQuang@vn.bosch.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: LUU QUANG MINH &lt;Minh.LuuQuang@vn.bosch.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>house-keeper: remove infinite wait (#438)</title>
<updated>2023-03-22T09:07:06+00:00</updated>
<author>
<name>Alexander Mohr</name>
<email>alexander.m.mohr@mercedes-benz.com</email>
</author>
<published>2023-03-22T09:07:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/DLT-daemon.git/commit/?id=68418a4fdbfb91cece184856deb02c796d40088c'/>
<id>68418a4fdbfb91cece184856deb02c796d40088c</id>
<content type='text'>
in case the house keeper thread does not start
we should not wait indefinitely but abort
the wait after a 10s

Signed-off-by: Alexander Mohr &lt;alexander.m.mohr@mercedes-benz.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in case the house keeper thread does not start
we should not wait indefinitely but abort
the wait after a 10s

Signed-off-by: Alexander Mohr &lt;alexander.m.mohr@mercedes-benz.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>dlt-logd-converter: Fix getting log level from log msg (#456)</title>
<updated>2023-03-20T08:00:19+00:00</updated>
<author>
<name>RobinChenJP</name>
<email>RobinChenJP@users.noreply.github.com</email>
</author>
<published>2023-03-20T08:00:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/DLT-daemon.git/commit/?id=28f08406ea1482509a7cb0a219d7f49c5f179599'/>
<id>28f08406ea1482509a7cb0a219d7f49c5f179599</id>
<content type='text'>
In AOSP, system/logging/liblog/logprint.cpp --&gt; android_log_processLogBuffer:
entry-&gt;priority = static_cast&lt;android_LogPriority&gt;(msg[0])
msg[0] is used to obtain the log level</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In AOSP, system/logging/liblog/logprint.cpp --&gt; android_log_processLogBuffer:
entry-&gt;priority = static_cast&lt;android_LogPriority&gt;(msg[0])
msg[0] is used to obtain the log level</pre>
</div>
</content>
</entry>
<entry>
<title>dlt-logd-converter: fixes android 12 compilation (#445)</title>
<updated>2023-03-14T13:45:11+00:00</updated>
<author>
<name>sebastienr</name>
<email>sebastien.raillet@marelli.com</email>
</author>
<published>2023-03-14T13:45:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/DLT-daemon.git/commit/?id=4149df65ca6672236b9b4662c9d22271b4ada519'/>
<id>4149df65ca6672236b9b4662c9d22271b4ada519</id>
<content type='text'>
* Since android 12 release (and the introduction of this commit
https://chromium.googlesource.com/aosp/platform/system/
logging/+/b674866203f05957b2ac5db94c3c0fe3d1d36793), the define
ANDROID_LOG_RDONLY and friends have been removed (see the commit
for the explanation). Therefore, dlt-logd-converter can't compile
anymore since this version.
* ANDROID_LOG_RDONLY was a define on O_RDONLY. O_RDONLY is now used
to allow the compilation on android 12 as well as previous versions
* &lt;log/logprint.h&gt; include is removed because we aren't using any
API from this file and moreover, this file shouldn't be included from
vendor application (not part of public API)
* Direct include on "system/core/include" inside Android.bp is removed
because it was previously used to find &lt;log/logprint.h&gt;. This should
be avoided. We should keep android build system providing right
headers path for us :)

Signed-off-by: Sébastien RAILLET &lt;sebastien.raillet@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Since android 12 release (and the introduction of this commit
https://chromium.googlesource.com/aosp/platform/system/
logging/+/b674866203f05957b2ac5db94c3c0fe3d1d36793), the define
ANDROID_LOG_RDONLY and friends have been removed (see the commit
for the explanation). Therefore, dlt-logd-converter can't compile
anymore since this version.
* ANDROID_LOG_RDONLY was a define on O_RDONLY. O_RDONLY is now used
to allow the compilation on android 12 as well as previous versions
* &lt;log/logprint.h&gt; include is removed because we aren't using any
API from this file and moreover, this file shouldn't be included from
vendor application (not part of public API)
* Direct include on "system/core/include" inside Android.bp is removed
because it was previously used to find &lt;log/logprint.h&gt;. This should
be avoided. We should keep android build system providing right
headers path for us :)

Signed-off-by: Sébastien RAILLET &lt;sebastien.raillet@gmail.com&gt;</pre>
</div>
</content>
</entry>
</feed>
