From 5d21bc4858c7d0d67adb1e0cdec9880d97b83567 Mon Sep 17 00:00:00 2001 From: thanhbnq <49302843+thanhbnq@users.noreply.github.com> Date: Tue, 16 Apr 2019 14:52:52 +0700 Subject: doc: Update doc/CMakeList.txt after cleanup documentation (#111) (#117) * doc: Update after cleanup documentation - Add ascii_doc check - Spaces instead of tabs in doc/CMakeList.txt - Change style in markdown files to avoid error while converting from md to html - Since manpages are generated by pandoc, "doc-man" part is removed from doc/CMakeList.txt Signed-off-by: thanhbnq --- doc/dlt_cdh.md | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'doc/dlt_cdh.md') diff --git a/doc/dlt_cdh.md b/doc/dlt_cdh.md index 20857cd..4433829 100644 --- a/doc/dlt_cdh.md +++ b/doc/dlt_cdh.md @@ -14,7 +14,7 @@ When a program crash occurs on the system the Core Dump Handler is triggered to Add -> -DWITH_DLT_COREDUMPHANDLER=ON -DTARGET_CPU_NAME={i686|x86_64} +`-DWITH_DLT_COREDUMPHANDLER=ON -DTARGET_CPU_NAME={i686|x86_64}` options to cmake. The core dump handler code currently supports the i686 and x86_64 architecture. @@ -22,7 +22,7 @@ options to cmake. The core dump handler code currently supports the i686 and x86 As *root* (not sudo) execute the following: -> 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` NOTE: replace */usr/local/bin* with the path dlt-cdh has been installed to. This instructs the kernel to pipe a core dump as standard input to dlt-cdh together with the following parameters: @@ -33,7 +33,7 @@ NOTE: replace */usr/local/bin* with the path dlt-cdh has been installed to. This See -> man core +`man core` for details @@ -41,25 +41,27 @@ for details In */usr/lib/sysctl.d/* the file *50-coredump.conf* has to be created which is done automatically by -> make install +`make install` Unfortunately - at least on Fedora systems - abrt has to be removed with -> yum remove abrtd* +`yum remove abrtd*` because it ruthlessly overwrites our change at every boot. The core dump handler can be activated then without reboot by running -> sysctl -p /usr/lib/sysctl.d/50-coredump.conf +`sysctl -p /usr/lib/sysctl.d/50-coredump.conf` ### Configuration of link:dlt_filetransfer.html[DLT Filetransfer] for usage with dlt-cdh Make sure the following is set in the "Filetransfer Manager" section of */etc/dlt-system.conf*: -> ... -> FiletransferEnable = 1 -> ... -> FiletransferDirectory = /var/core -> ... +``` +... +FiletransferEnable = 1 +... +FiletransferDirectory = /var/core +... +``` ### Generation of core dump -- cgit v1.2.1