简体   繁体   English

如何在ARM Linux内核中提供Coredump支持

[英]How to provide Coredump support in ARM Linux Kernel

We have appilication running on top of ARM processor and layer of Linux arm in between ,We have requirement to provide Coredump support when a process at application crahes,We have idea like to provide ulimit unlimited option somewhere but not sure where in kernel 我们在ARM处理器和Linux arm层之间运行应用程序,我们要求在应用程序进程崩溃时提供Coredump支持,我们想在某个地方提供无限的选项,但不确定内核中的哪个位置

We have Yocto as our build environment . 我们将Yocto作为构建环境。

Would like to know how and where we can provide this Coredump support . 想知道我们如何以及在何处可以提供此Coredump支持。

Start with reading core manual page , you are probably just looking for /proc/sys/kernel/core_pattern . 从阅读核心手册页开始 ,您可能只是在寻找/proc/sys/kernel/core_pattern

If your shell does not have ulimit support , you may need to call setrlimit(RLIMIT_CORE) . 如果您的外壳不支持ulimit ,则可能需要调用setrlimit(RLIMIT_CORE)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM