summaryrefslogtreecommitdiff
path: root/src/core_dump_handler/README
diff options
context:
space:
mode:
authorLutz Helwing <lutz_helwing@mentor.com>2016-01-20 15:09:27 +0100
committerLutz Helwing <lutz_helwing@mentor.com>2016-02-01 10:02:17 +0100
commite712b34212b6e0f03ec4843531ae2df03c53ec7d (patch)
tree2c2ae1c2d52bc11057c54f5372110f4eac9acda9 /src/core_dump_handler/README
parent2dbef064093bc17ff58c734280a3301fb1e3eded (diff)
downloadDLT-daemon-e712b34212b6e0f03ec4843531ae2df03c53ec7d.tar.gz
Fixed core pattern to use correct dlt-cdh install path
- 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>
Diffstat (limited to 'src/core_dump_handler/README')
-rw-r--r--src/core_dump_handler/README9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core_dump_handler/README b/src/core_dump_handler/README
index a1a9d88..ce0a35e 100644
--- a/src/core_dump_handler/README
+++ b/src/core_dump_handler/README
@@ -3,11 +3,12 @@ To build use cmake with -DWITH_DLT_COREDUMPHANDLER=ON -DTARGET_CPU_NAME={i686|x8
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
+echo "|/usr/local/bin/dlt-cdh %t %p %s %e" > /proc/sys/kernel/core_pattern (replace /usr/local/bin with the path dlt-cdh has
+been installed to)
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.
+We have to generate "50-coredump.conf" in "/usr/lib/sysctl.d/" which is done automatically by "make install".
+Unfortunately at least on Fedora systems 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"