⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 能把所有线程的数据和环境记录到文件,方便调试.
💻
字号:
The coredumper library can be compiled into applications to createcore dumps of the running program, without having to terminatethem. It supports both single- and multi-threaded core dumps, even ifthe kernel does not have native support for multi-threaded core files.This library is primarily intended to simplify debugging oflong-running services. It is often inacceptable to suspend productionservices by attaching a debugger, nor is it possible to crash theservice in order to generate a core file.By modifying an existing service to take advantage of the coredumperlibrary, it is possible to expose an interface for obtaining snapshotsof the running application. The library supports writing of core filesto disk (e.g. triggered upon reception of a signal) but it can alsogenerate in-memory core files.  This makes it possible for webservices to expose remote access to core files.The "examples" directory shows how to add a core file feature to anexisting TFTP server. For an example of how to use on-disk core files,take a look at "src/coredump_unittest.c".The code has been tested on Linux x86/32, x86/64, and ARM. It isdistributed from http://code.google.com/p/google-coredumper. It isavailable as a tar source archive, and in prebuilt form as Debian andRedHat packages.For detailed information on how to build and install this library,read the "INSTALL" file. On most systems, you will need to configureand build by running:  ./configure && makeYou can then test whether the code works correctly on your system, byrunning:  make checkThe check requires that you have access to development tools such as"readelf", and "gdb".If you decide to install from the tar file, you now need to run thefollowing command as "root":  make installAlternatively, you can build packages for your targeted distributionby running either:  make debor  make rpmThese commands generate installable package files. The packages willbe located in the "packages/<DISTRIBUTION>" directory (e. g. packages/rh9or packages/woody). The exact path name is printed at the end of thecompilation.Follow your distribution's instructions on how to install newpackages.For more information on how to use the library, read the manual pagesfor "GetCoreDump" and "WriteCoreDump".15 February 2007

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -