diff options
Diffstat (limited to 'src/core_dump_handler/README')
-rw-r--r-- | src/core_dump_handler/README | 9 |
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" |