kprobe以及seq procfs参考例子

13 views
Skip to first unread message

张海鹏

unread,
Nov 11, 2012, 8:27:15 AM11/11/12
to 2012-ustc-l...@googlegroups.com
kprobe_example.c
jprobe_example.c
kretprobe_exple.c
均是linux内核自己提供的参考例子,直接使用附件中的Makefile就可以编译。
seq_procfs.c是自己写的关于seq file的例子,编译安装后,每次cat /proc/test会使得每次输出的数加1.

--


**********************************************

        张海鹏(lzu...@gmail.com

**********************************************

kprobe_seqfile_example.rar
Reply all
Reply to author
Forward
0 new messages