diff options
author | Lutz Helwing <lutz_helwing@mentor.com> | 2015-06-23 18:32:44 +0200 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2015-10-28 11:38:27 +0100 |
commit | d7cea9b4df048a3b5da68710a5b62efe082fb447 (patch) | |
tree | a7e114d2bbf5814b5f221cb0273cc05fbbf52483 /src/core_dump_handler/README | |
parent | 2355ca4927cffd8307fdb78aaadeb584450bef21 (diff) | |
download | DLT-daemon-d7cea9b4df048a3b5da68710a5b62efe082fb447.tar.gz |
Added core dump handler code
Fixed author Doxygen tag
Added licence headers
Moved return value definition to new header
Converted all DOS line endings to Unix
Solution for CPU dependency by using CMAKE_SYSTEM_PROCESSOR cmake variable
CPU specific stuff is implemented in own implementation file for each CPU architecture
Added config file for sysctl. Fixed wrong parameters to open call for lockfile
Added mechanism to overwrite TARGET_CPU_NAME with command line option
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'src/core_dump_handler/README')
-rw-r--r-- | src/core_dump_handler/README | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core_dump_handler/README b/src/core_dump_handler/README new file mode 100644 index 0000000..d47ced8 --- /dev/null +++ b/src/core_dump_handler/README @@ -0,0 +1,13 @@ +To build use cmake with -DWITH_DLT_COREDUMPHANDLER=ON + + +Temporary replacement of default crash handler: +If you don't want to make the change persistent just become root (not sudo) and execute the following ("man core" for details): +echo "|/usr/local/bin/dlt-cdh %t %p %s %e" > /proc/sys/kernel/core_pattern + + +Persistent replacement of default crash handler: +We have to install "50-coredump.conf" to "/usr/lib/sysctl.d/" which is done automatically by "make install". +Unfortunately we also have to remove abrt with "yum remove abrtd*" because this ruthlessly overwrites our change at +every boot. This must be done when installing this stuff as Debian package. +To enable the core dump handler without rebooting we have to execute "sysctl -p /usr/lib/sysctl.d/50-coredump.conf" |