The way to unwind the stack on Linux EABI】的更多相关文章

I. probe the stack frame structure The original idea is to unwind the function call stack according to a determined prologue on the begin of a frame. For example: ------- PC ------- LR ------- SP ------- FP ------- ....... The precondition of this id…
https://www.amazon.com/gp/product/1118887735 The chapter about debugging is rather outdated - it describes LKCD/lcrash environment but all new kernels have kexec/kdump facility and 'crash' is the preferred debugger for those vmcores. Maybe 2.4 kernel…
测试环境:Ubuntu14.04 1.  获取进程ID号 ps -aux | grep your_process_name 例如: xxx@xxx:~$ ps -e |grep Midlet|awk '{print $1}' 9356 2.  查看进程相关信息 2.1 查看进程树信息: xxx@xxx:~$ pstree -p 9356 runMidlet(9356)───{runMidlet}(9357) 2.2 查看进程打开的文件: xxx@xxx:~$ lsof -p 9356 lsof:…
Coping with the TCP TIME-WAIT state on busy Linux servers 文章源自于:https://vincent.bernat.im/en/blog/2014-tcp-time-wait-state-linux.html Do not enable net.ipv4.tcp_tw_recycle. The Linux kernel documentation is not very helpful about whatnet.ipv4.tcp_tw_…
Linux comes with a host based firewall called Netfilter. According to the official project site: netfilter is a set of hooks inside the Linux kernel that allows kernel modules to register callback functions with the network stack. A registered callba…
https://www.suse.com/documentation/sles11/book_sle_tuning/data/part_tuning_kernel.html http://blog.csdn.net/maimang1001/article/details/34941471 https://www.suse.com/documentation/sles11/book_sle_tuning/data/sec_tuning_network_buffers.html http://dir…
Stack unwinding is just the process of navigating up the stack looking for the handler. Wikipedia summarizes it as follows: Some languages call for unwinding the stack as this search progresses. That is, if function f, containing a handler H for exce…
linux驱动开发总结(一) 基础性总结 1, linux驱动一般分为3大类: * 字符设备 * 块设备 * 网络设备 2, 开发环境构建: * 交叉工具链构建 * NFS和tftp服务器安装 3, 驱动开发中设计到的硬件: * 数字电路知识 * ARM硬件知识 * 熟练使用万用表和示波器 * 看懂芯片手册和原理图 4, linux内核源代码目录结构: * arch/: arch子目录包括了所有和体系结构相关的核心代码.它的每一个子目录都代表一种支持的体系结构,例如i386就是关于intel c…
文章地址  http://developer.android.com/training/articles/perf-jni.html JNI Tips JNI is the Java Native Interface. It defines a way for managed code (written in the Java programming language) to interact with native code (written in C/C++). It's vendor-ne…
JNI Tips In this document JavaVM and JNIEnv Threads jclass, jmethodID, and jfieldID Local and Global References UTF-8 and UTF-16 Strings Primitive Arrays Region Calls Exceptions Extended Checking Native Libraries 64-bit Considerations Unsupported Fea…