[genivi-dlt] [Patch] Fixed core pattern to use correct dlt-cdh install path

Helwing, Lutz Lutz_Helwing at mentor.com
Tue Feb 2 07:46:22 EST 2016

Hi all,

we have found a small issue with the core dump handler feature. The persistent setting of /proc/sys/kernel/core_pattern was always set to "|/usr/local/bin/dlt-cdh %t %p %s %e" regardless where dlt-cdh has really been installed. This led to a non-functioning core dump mechanism when dlt-cdh was installed to a path other than /usr/local/bin.

The attached patch changes this behaviour to use the actual installation path of dlt-cdh by generating the 50-coredump.conf file from 50-coredump.conf.cmake to be installed to /usr/lib/sysctl.d/.

If you intend to use the core dump handler feature please take a look at this patch if it is good for you. When no objections arise the fix will be integrated into master in a week from now.

Best regards,

Lutz Helwing
Senior Engineer

+49 (89) 57096 - 297<tel:+49%287721%294060-422>


+49 (89) 57096 - 400

<mailto:Oliver_Hartfuss at mentor.com>lutz_helwing at mentor.com<mailto:lutz_helwing at mentor.com>

[Mentor                                                    Automotive]
Mentor Graphics Development (Deutschland) GmbH
Arnulfstrasse 201
D-80634 München

Mentor Graphics Development (Deutschland) GmbH
Geschäftsführung: Dean Freed, Walter Vermijs, Shannon Wetzel
Handelsregister: Amtsgericht Freiburg i.Br., HRB 705237
Sitz der Gesellschaft: Peterzeller Straße 8, 78048 Villingen-Schwenningen
USt-Id Nummer: DE268786819

Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genivi.org/pipermail/genivi-diagnostic-log-and-trace_lists.genivi.org/attachments/20160202/4478f561/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7787 bytes
Desc: image001.png
URL: <http://lists.genivi.org/pipermail/genivi-diagnostic-log-and-trace_lists.genivi.org/attachments/20160202/4478f561/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fixed-core-pattern-to-use-correct-dlt-cdh-install-pa.patch
Type: text/x-patch
Size: 5792 bytes
Desc: 0001-Fixed-core-pattern-to-use-correct-dlt-cdh-install-pa.patch
URL: <http://lists.genivi.org/pipermail/genivi-diagnostic-log-and-trace_lists.genivi.org/attachments/20160202/4478f561/attachment.patch>

More information about the genivi-diagnostic-log-and-trace mailing list