SystemTap脚本主要是由探测点和探测点处理函数组成的,来看下都有哪些探测点可用。
The essential idea behind a systemtap script is to name events, and to give them handlers.
Systemtap works by translating the script to C, running the system C compiler to create a kernel module from that.
When t...
分类:
其他好文 时间:
2014-06-07 01:59:08
阅读次数:
369
本文以编译android平台下的kernel uboot,比较详尽地分析了lichee在sun4i_crane平台下编译的过程...
分类:
其他好文 时间:
2014-06-05 08:00:38
阅读次数:
256
description
用gdb debug linux kernel容易吗?其实要走到这步真的不容易啊,其实也难道是不难,就是要知道的东西太多了。用gdb debug linux kernel 可以有2中方式:UML和qemu方式,这里主要说qemu,从源码编译安装qemu很费劲。
准备环境
linux OS: Debian7.5-i386(当时最新的Wheezy,装在VMware...
分类:
数据库 时间:
2014-06-04 21:12:03
阅读次数:
670
ld指令有一个选项:--oformat output_format,用于指定输出文件的格式。输入文件./kernel/kernel.o等是elf32格式,当前系统是64位,而ld默认生成的文件格式是elf64-x86-64;因此会出现“ld: warning: i386 architecture of input file `./kernel/kernel.o'
is incompatible...
分类:
系统相关 时间:
2014-06-03 00:37:43
阅读次数:
668
在Linux中,进程的创建由系统调用fork和vfork完成。它们生成一个子进程并且子进程是父进程的一个复制品。Fork系统调用对应的kernel函数是sys_fork,此函数简单的调用kernel函数do_fork。一个简化版的do_fork执行如下:(1)alloc_pid()。给新的进程分配一...
分类:
系统相关 时间:
2014-06-02 19:04:43
阅读次数:
355
概述JBoss 7/WildFly 以 domain 模式启动时会启动多个 JVM,例如如下通过启动脚本启动 domain 模式:./domain.sh启动后我们查看进程:[kylin@localhost tdump]$ jps -l
23655 /home/kylin/work/eap/jboss-eap-6.1/jboss-modules.jar
23671 /home/kylin/work/...
分类:
其他好文 时间:
2014-06-02 10:31:49
阅读次数:
425
wget -c http://ftp.gnu.org/gnu/binutils/binutils-2.7.tar.gz
wget -c http://ftp.gnu.org/gnu/gcc/gcc-4.4.2/gcc-4.4.2.tar.bz2
wget -c https://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.33.1.tar.bz2
...
分类:
系统相关 时间:
2014-06-02 05:03:55
阅读次数:
498
典型的两个现实案例: 我们先看两个用Go做消息推送的案例实际处理能力。 360消息推送的数据:
16台机器,标配:24个硬件线程,64GB内存 Linux Kernel 2.6.32 x86_64 单机80万并发连接,load 0.2~0.4,CPU
总使用率 7%~10%,内存占用20GB (re...
分类:
其他好文 时间:
2014-06-02 01:36:35
阅读次数:
593
发布说明:1. 添加Json格式数据文件支持.2. 彻底删除了Settings,
Modules, Themes模块.3. 删除了默认的ContentType,Site和User.4. 支持空库(无表结构)及默认设置运行.下载地址:源码:
Orchard.Platform.1.8.zip补丁: Or...
分类:
其他好文 时间:
2014-06-01 12:21:24
阅读次数:
319
yum命令升级的时候,报出这个错误。There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
Please install a package which provides t...
分类:
编程语言 时间:
2014-05-31 17:42:52
阅读次数:
453