<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/DLT-daemon.git/src/console, branch master</title>
<subtitle>github.com: GENIVI/dlt-daemon.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/DLT-daemon.git/'/>
<entry>
<title>logfile: exhance internal dlt logging by introducing size limits (#369)</title>
<updated>2023-03-10T14:31:48+00:00</updated>
<author>
<name>Daniel Weber</name>
<email>37300320+danielweber2018@users.noreply.github.com</email>
</author>
<published>2023-03-10T14:31:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/DLT-daemon.git/commit/?id=363d433a5dac141020cef4f698f60644fe4a202c'/>
<id>363d433a5dac141020cef4f698f60644fe4a202c</id>
<content type='text'>
Enhance dlt logging such that multiple files are used as it is done
for the offline traces. Add limit-specific config values for logging.
For this purpose the pattern of index-based file names is used only.
This approach of logging to multiple files and rotating in order
to keep the limits ensures that dlt logs take care of available
space on the underlying file system and do not grow infinitely.

Signed-off-by: Daniel Weber &lt;daniel.w.weber@daimler.com&gt;
Co-authored-by: Oleg Tropmann &lt;oleg.tropmann@daimler.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enhance dlt logging such that multiple files are used as it is done
for the offline traces. Add limit-specific config values for logging.
For this purpose the pattern of index-based file names is used only.
This approach of logging to multiple files and rotating in order
to keep the limits ensures that dlt logs take care of available
space on the underlying file system and do not grow infinitely.

Signed-off-by: Daniel Weber &lt;daniel.w.weber@daimler.com&gt;
Co-authored-by: Oleg Tropmann &lt;oleg.tropmann@daimler.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix memory leak</title>
<updated>2023-02-09T08:22:27+00:00</updated>
<author>
<name>Le Van Khanh</name>
<email>Khanh.LeVan@vn.bosch.com</email>
</author>
<published>2023-02-09T08:17:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/DLT-daemon.git/commit/?id=b6149e203f919c899fefc702a17fbb78bdec3700'/>
<id>b6149e203f919c899fefc702a17fbb78bdec3700</id>
<content type='text'>
Free the ecuid_conf in case of memory alllocated

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>
Free the ecuid_conf in case of memory alllocated

Signed-off-by: Le Van Khanh &lt;Khanh.LeVan@vn.bosch.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dlt-convert: Fix memory leak by calling dlt_file_free (#434)</title>
<updated>2023-01-20T08:52:34+00:00</updated>
<author>
<name>lvklevankhanh</name>
<email>119659574+lvklevankhanh@users.noreply.github.com</email>
</author>
<published>2023-01-20T08:52:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/DLT-daemon.git/commit/?id=9b1f51cc173e74354b947336f69b371ef66a8940'/>
<id>9b1f51cc173e74354b947336f69b371ef66a8940</id>
<content type='text'>
Free the index which already allocated memory in dlt_file_read phase

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>
Free the index which already allocated memory in dlt_file_read phase

Signed-off-by: Le Van Khanh &lt;Khanh.LeVan@vn.bosch.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>dlt-receive: set host interface and allow multiple udp multicast addresses (#420)</title>
<updated>2022-10-26T08:14:49+00:00</updated>
<author>
<name>Bui Nguyen Quoc Thanh</name>
<email>49302843+thanhbnq@users.noreply.github.com</email>
</author>
<published>2022-10-26T08:14:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/DLT-daemon.git/commit/?id=71b131daf2c13477470289cc8faef319e2ff5f2f'/>
<id>71b131daf2c13477470289cc8faef319e2ff5f2f</id>
<content type='text'>
* dlt-receive: Allow listening to multiple udp multicast addresses

Multiple udp multicast addresses can now be specified, e.g:
dlt-receive -u 224.255.1.1 225.255.1.1

Signed-off-by: Alexander Irion &lt;alexander_irion@mentor.com&gt;

* dlt-receive: Add option to set host interface address

Signed-off-by: Alexander Irion &lt;alexander_irion@mentor.com&gt;
Signed-off-by: Alexander Irion &lt;alexander.irion@partner.bmw.de&gt;
Co-authored-by: Alexander Irion &lt;alexander_irion@mentor.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* dlt-receive: Allow listening to multiple udp multicast addresses

Multiple udp multicast addresses can now be specified, e.g:
dlt-receive -u 224.255.1.1 225.255.1.1

Signed-off-by: Alexander Irion &lt;alexander_irion@mentor.com&gt;

* dlt-receive: Add option to set host interface address

Signed-off-by: Alexander Irion &lt;alexander_irion@mentor.com&gt;
Signed-off-by: Alexander Irion &lt;alexander.irion@partner.bmw.de&gt;
Co-authored-by: Alexander Irion &lt;alexander_irion@mentor.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid memory corruption behind buffer wp in function dlt_getloginfo_conv_ascii_to_id (#411)</title>
<updated>2022-10-11T02:53:12+00:00</updated>
<author>
<name>michael-methner</name>
<email>mmethner@de.adit-jv.com</email>
</author>
<published>2022-10-11T02:53:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/DLT-daemon.git/commit/?id=154d225b934de70387533f3dfaf5d449a580c28b'/>
<id>154d225b934de70387533f3dfaf5d449a580c28b</id>
<content type='text'>
* Avoid memory corruption behind buffer wp in function dlt_getloginfo_conv_ascii_to_id

- Introduced new function dlt_getloginfo_conv_ascii_to_string for '\0' terminated strings
- Avoid printing garbage characters in dlt-control after APID and CTID (which are not null terminated anymore)
- Added unit test for dlt_client_parse_get_log_info_resp_text and dlt_getloginfo_conv_ascii_to_string
- Use dlt_getloginfo_conv_ascii_to_string to get '\0' terminated for app_description and context_description

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>
* Avoid memory corruption behind buffer wp in function dlt_getloginfo_conv_ascii_to_id

- Introduced new function dlt_getloginfo_conv_ascii_to_string for '\0' terminated strings
- Avoid printing garbage characters in dlt-control after APID and CTID (which are not null terminated anymore)
- Added unit test for dlt_client_parse_get_log_info_resp_text and dlt_getloginfo_conv_ascii_to_string
- Use dlt_getloginfo_conv_ascii_to_string to get '\0' terminated for app_description and context_description

Signed-off-by: Michael Methner &lt;mmethner@de.adit-jv.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix handle returned value (#384)</title>
<updated>2022-07-07T04:00:34+00:00</updated>
<author>
<name>Bui Nguyen Quoc Thanh</name>
<email>49302843+thanhbnq@users.noreply.github.com</email>
</author>
<published>2022-07-07T04:00:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/DLT-daemon.git/commit/?id=855e0017a980d2990c16f7dbf3b4983b48fac272'/>
<id>855e0017a980d2990c16f7dbf3b4983b48fac272</id>
<content type='text'>
* common: Handle returned value

- The returned value of supporting APIs should be checked correctly.
- In case of extended header, the buffer of header must be checked
before proceeding further.

Signed-off-by: Bui Nguyen Quoc Thanh &lt;thanh.buinguyenquoc@vn.bosch.com&gt;

* console: Handle returned value

In case of parsing dlt file, the failed messages
should be skipped by evaluating returned value

Signed-off-by: Bui Nguyen Quoc Thanh &lt;thanh.buinguyenquoc@vn.bosch.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* common: Handle returned value

- The returned value of supporting APIs should be checked correctly.
- In case of extended header, the buffer of header must be checked
before proceeding further.

Signed-off-by: Bui Nguyen Quoc Thanh &lt;thanh.buinguyenquoc@vn.bosch.com&gt;

* console: Handle returned value

In case of parsing dlt file, the failed messages
should be skipped by evaluating returned value

Signed-off-by: Bui Nguyen Quoc Thanh &lt;thanh.buinguyenquoc@vn.bosch.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>cmake: Add options to enable/disable each dlt console tool</title>
<updated>2022-01-25T10:34:01+00:00</updated>
<author>
<name>Alexander Mohr</name>
<email>alexander.m.mohr@daimler.com</email>
</author>
<published>2022-01-20T15:58:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/DLT-daemon.git/commit/?id=fbda66c2ed84221466914a71e49319d83ad37d22'/>
<id>fbda66c2ed84221466914a71e49319d83ad37d22</id>
<content type='text'>
This commits adds several cmake options to enable or disable
each console tool separately.

Signed-off-by: Alexander Mohr &lt;alexander.m.mohr@daimler.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commits adds several cmake options to enable or disable
each console tool separately.

Signed-off-by: Alexander Mohr &lt;alexander.m.mohr@daimler.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dlt-control-common: shutdown and close socket</title>
<updated>2021-10-05T02:19:26+00:00</updated>
<author>
<name>Bui Nguyen Quoc Thanh</name>
<email>thanh.buinguyenquoc@vn.bosch.com</email>
</author>
<published>2021-08-12T07:05:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/DLT-daemon.git/commit/?id=bca4804feaed8e5a5363972a6ac05e0f9586cee9'/>
<id>bca4804feaed8e5a5363972a6ac05e0f9586cee9</id>
<content type='text'>
Before cancelling the listening thread, try to shutdown
and close the socket so that the listening thread is
terminated intentionally

Signed-off-by: Bui Nguyen Quoc Thanh &lt;thanh.buinguyenquoc@vn.bosch.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before cancelling the listening thread, try to shutdown
and close the socket so that the listening thread is
terminated intentionally

Signed-off-by: Bui Nguyen Quoc Thanh &lt;thanh.buinguyenquoc@vn.bosch.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>console: Add cmake options for control and timestamp</title>
<updated>2021-10-05T02:19:26+00:00</updated>
<author>
<name>Saya Sugiura</name>
<email>ssugiura@jp.adit-jv.com</email>
</author>
<published>2021-07-28T02:46:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/DLT-daemon.git/commit/?id=a8d57d390bb676602031e3f1bac5f75d67e16170'/>
<id>a8d57d390bb676602031e3f1bac5f75d67e16170</id>
<content type='text'>
Following cmake options are introduced in order to build and install
only minimum sets from src/console

- WITH_DLT_CONSOLE_WO_CTRL: Set to ON not to build control commands under src/console (Default OFF)
- WITH_DLT_CONSOLE_WO_SBTM: Set to ON not to build dlt-sortbytimestamp under src/console (Default OFF)

Signed-off-by: Saya Sugiura &lt;ssugiura@jp.adit-jv.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Following cmake options are introduced in order to build and install
only minimum sets from src/console

- WITH_DLT_CONSOLE_WO_CTRL: Set to ON not to build control commands under src/console (Default OFF)
- WITH_DLT_CONSOLE_WO_SBTM: Set to ON not to build dlt-sortbytimestamp under src/console (Default OFF)

Signed-off-by: Saya Sugiura &lt;ssugiura@jp.adit-jv.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>client: pthread_join for deinit</title>
<updated>2021-10-05T02:19:26+00:00</updated>
<author>
<name>Bui Nguyen Quoc Thanh</name>
<email>thanh.buinguyenquoc@vn.bosch.com</email>
</author>
<published>2021-07-29T11:01:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/DLT-daemon.git/commit/?id=4fb420dc7aec6e428e6f4a2320ea66c722d20337'/>
<id>4fb420dc7aec6e428e6f4a2320ea66c722d20337</id>
<content type='text'>
In case the client sends single request of control
there could be a case the dlt_control_init finishes
before the cancellation of receiver thread.
So the main thread should wait for the receiver thread
via pthread_join

Signed-off-by: Bui Nguyen Quoc Thanh &lt;thanh.buinguyenquoc@vn.bosch.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In case the client sends single request of control
there could be a case the dlt_control_init finishes
before the cancellation of receiver thread.
So the main thread should wait for the receiver thread
via pthread_join

Signed-off-by: Bui Nguyen Quoc Thanh &lt;thanh.buinguyenquoc@vn.bosch.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
