- 博客(231)
- 收藏
- 关注
转载 将信号用作 Linux 调试工具
使用智能信号处理更快地寻找 bugMadhavan Srinivasan (masriniv@in.ibm.com), 开发人员, PowerPC Tools Development, IBM简介: 通过重点分析使用信号处理程序捕获到的数据,您可以加速调试过程中耗时最多的一个步骤:寻找 bug。本文介绍了 Linux? 信号的背景知识,并给出了已在 PP
2013-09-25 09:57:34 717
原创 试玩UML(User Mode Linux)
这里的UML并非指统一建模语言,而指用户模式的linux。顾名思义,就是让linux系统作为一个用户进程运行。为什么要这样做呢?大家都知道调试linux 内核是件麻烦的事情,虽然可以使用kdb、gdb或者虚拟机来调试内核,但这些本身方法都有一些限制,而且我总感觉使用很麻烦,几次尝试失败后,没有再去调试过linux内核。 Linux内核对调试支持力度不够,并非是因为实现起来很困难,而是因为他
2013-09-25 09:52:22 828
原创 使用gdbserver远程调试
1.默认crosstool交叉编译器没有自带gdbserver,需要自行编译到GNU官方FTP下载,目前最新版的是gdb-6.7.1下载地址:http://ftp.gnu.org/gnu/gdb/注:若已有gdbserver,可以直接跳到步骤4 2.编译gdbserver编译GDB源码时只需要编译出gdbserver就可以了,交叉编译器自带arm-linux-gdb(cli
2013-09-25 09:51:32 807
转载 How to generate gcc debug symbol outside the build target?
gcc -ggdb -o test test.c; cp test test.debug; strip --only-keep-debug test.debug; strip test; objcopy --add-gnu-debuglink=test.debug test http://stackoverflow.com/questions/866721/how-to-generate-
2013-09-25 09:50:41 732
转载 Oprofile gprof
Reference: http://www.dedoimedo.com/computers/oprofile.htmlhttp://souptonuts.sourceforge.net/performance_tutorial.html
2013-09-25 09:49:09 668
转载 Analysis of Linux kernel crashes
From: http://stablebits.blogspot.hk/IntroductionToolsFormat of a crash reportAnalysisSimple case to learn the basicsCrash in a binary kernel moduleSuspected memory corruptionExtra DetailsI
2013-09-25 09:48:35 5228
转载 Compile Linux Kernel on Ubuntu 12.10
Solution A: Mainly from http://mitchtech.net/compile-linux-kernel-on-ubuntu-12-04-lts-detailed/There are too many manuals for Ubuntu kernel compile and update, but most of them does not work for me
2013-09-24 18:31:49 1328
转载 Kdb on ubuntu 12.10
1. How to config to enter kdb:Refer to https://www.kernel.org/doc/htmldocs/kgdb.htmlUsing kgdb, kdb and the kernel debugger internals2. On ubuntu, more actions to take to enter character mode, o
2013-09-24 18:30:28 823
转载 ubuntu 11.10 安装systemtap
http://blog.csdn.net/ustc_dylan/article/details/70798761. 从源安装systemtap$ sudo apt-get install systemtap2. 由于ubuntu 桌面版默认没有安装kernel-debug-info,所以安装了systemtap后仍然不能够追踪内核信息,因此需要手动安装kernel
2013-09-24 18:30:06 543
转载 kprobes tutorial
kprobes tutorialThis tutorial was developed for the 2006 Ottawa Linux Symposium. I'm hoping it will be useful as a general resource.There is documentation in Documentation/kprobes.txt in t
2013-09-24 18:29:03 558
转载 ftrace 简介
http://www.ibm.com/developerworks/cn/linux/l-cn-ftrace/更清楚系统的文档参考Kernel Document http://lxr.linux.no/#linux+v3.8/Documentation/trace/ftrace.txt其他工具也是类似,唯有源头活水来
2013-09-24 18:25:54 473
转载 Lttng
https://www.youtube.com/user/lttngLinux跟踪工具:虚幻的肥皂闹剧 http://os.51cto.com/art/201305/395819.htm1. Install Lttng from source codes2.1 Install lttng results reviewers2.2 Install Eclipse and
2013-09-24 18:24:04 635
转载 Uml usage
Good reference: http://lenky.info/2012/04/06/uml-user-mode-linux/ http://blog.csdn.net/ztz0223/article/details/7874759 UML进行Linux内核调试 --1 环境搭建 http://blog.csdn.net/ztz0223/article/details/822
2013-09-24 18:23:47 695
转载 kgdb and qemu
http://www.kgdb.info/kgdb/use_kgdb/using_kgdb_base_qemu/http://mathslinux.org/?p=130http://blog.csdn.net/leisure512/article/details/6761073 使用QEMU模拟搭建ARM开发平台(三)——添加SCSI和MTD以及NAND flash支持
2013-09-24 18:20:49 514
转载 KDB commands
from: http://www.linuxdevices.com/articles/AT3761062961.htmlby Hariprasad Nellitheertha (Nov. 7, 2003) KDB commandsKDBis a very powerful tool that allows several operations such as memory
2013-09-24 18:19:17 644
转载 ubuntu 11.10 安装systemtap
http://blog.csdn.net/ustc_dylan/article/details/70798761. 从源安装systemtap$ sudo apt-get install systemtap2. 由于ubuntu 桌面版默认没有安装kernel-debug-info,所以安装了systemtap后仍然不能够追踪内核信息,因此需要手动安装kernel
2013-09-18 10:00:20 666
转载 kprobes tutorial
http://www-users.cs.umn.edu/~boutcher/kprobes/kprobes tutorialThis tutorial was developed for the 2006 Ottawa Linux Symposium. I'm hoping it will be useful as a general resource.There is doc
2013-09-18 09:51:37 780
转载 ftrace 简介
http://www.ibm.com/developerworks/cn/linux/l-cn-ftrace/更清楚系统的文档参考Kernel Document http://lxr.linux.no/#linux+v3.8/Documentation/trace/ftrace.txt其他工具也是类似,唯有源头活水来
2013-09-15 16:45:19 574
原创 Lttng
https://www.youtube.com/user/lttngLinux跟踪工具:虚幻的肥皂闹剧 http://os.51cto.com/art/201305/395819.htm1. Install Lttng from source codes2.1 Install lttng results reviewers2.2 Install Eclipse and
2013-09-15 16:39:57 673
原创 Uml Usage
Good reference: http://lenky.info/2012/04/06/uml-user-mode-linux/ http://blog.csdn.net/ztz0223/article/details/7874759 UML进行Linux内核调试 --1 环境搭建 http://blog.csdn.net/ztz0223/article/details/822
2013-09-15 16:32:04 680
转载 kgdb and qemu
http://www.kgdb.info/kgdb/use_kgdb/using_kgdb_base_qemu/http://mathslinux.org/?p=130http://blog.csdn.net/leisure512/article/details/6761073 使用QEMU模拟搭建ARM开发平台(三)——添加SCSI和MTD以及NAND flash支
2013-09-13 10:48:38 911
转载 Kprobes Tutorial
kprobes tutorialThis tutorial was developed for the 2006 Ottawa Linux Symposium. I'm hoping it will be useful as a general resource.There is documentation in Documentation/kprobes.txt in the k
2013-09-13 10:36:46 771
转载 Ftrace 简介
http://www.ibm.com/developerworks/cn/linux/l-cn-ftrace/更清楚系统的文档参考Kernel Document http://lxr.linux.no/#linux+v3.8/Documentation/trace/ftrace.txt其他工具也是类似,唯有源头活水来
2013-09-13 10:20:28 512
转载 Lttng
https://www.youtube.com/user/lttngLinux跟踪工具:虚幻的肥皂闹剧 http://os.51cto.com/art/201305/395819.htm1. Install Lttng from source codes2.1 Install lttng results reviewers2.2 Install Eclipse and
2013-09-13 10:18:08 642
转载 Install Eclipse
1. Install open JRE 1.6http://openjdk.java.net/install/2. Download Eclipse
2013-09-12 14:39:35 558
原创 Uml Usage
Good reference: http://lenky.info/2012/04/06/uml-user-mode-linux/ http://blog.csdn.net/ztz0223/article/details/7874759 UML进行Linux内核调试 --1 环境搭建 http://blog.csdn.net/ztz0223/article/details/822
2013-09-12 14:37:12 911
转载 Kgdb And Qemu
http://www.kgdb.info/kgdb/use_kgdb/using_kgdb_base_qemu/http://mathslinux.org/?p=130http://blog.csdn.net/leisure512/article/details/6761073 使用QEMU模拟搭建ARM开发平台(三)——添加SCSI和MTD以及NAND flash支持
2013-09-12 11:15:20 899
转载 28个Unix/Linux的命令行神器
http://www.kaixinwenda.com/article-diy534-8113527.html
2013-09-12 11:11:28 585
原创 HP450安装WIN8和Ubuntu 13.10双系统
HP450-D7X31_Install:(1)BIOS SETTINGF9->f10 boot settings:Legacy enableUSB BOOT up(2)InstallF9->Usb ->F6 no-acpi(3)Configure boot options F9/ BOOT options/From USB/try Ubuntu 如果是EFI+GPT的话, 那
2013-09-12 11:01:25 1681
原创 Ubuntu上使用QEMU模拟Ubuntu
Install qemu on Ubuntu(1) sudo apt-get install kvm qemu libvirt-bin virtinst virt-manager virt-viepwerqemu,kqemu,kvm,qemu-kvm,libvirt关系 http://www.cloud2012.net/post/23.htmlQEMU的三种运行模式 http://book
2013-09-08 15:53:33 1447
转载 KDB commands
from: http://www.linuxdevices.com/articles/AT3761062961.htmlby Hariprasad Nellitheertha (Nov. 7, 2003) KDB commandsKDBis a very powerful tool that allows several operations such as memory
2013-08-27 13:50:47 834
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人