Back to home page

LXR

 
 

    


 
  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2017-02-19 22:34:00  
jprobe_example.c 1787 bytes 2017-02-19 22:34:00 2017-02-23 15:22:06

Here's a sample kernel module showing the use of jprobes to dump the arguments of _do_fork().

kprobe_example.c 3487 bytes 2017-02-19 22:34:00 2017-02-23 15:22:06

NOTE: This example is works on x86 and powerpc.

kretprobe_example.c 2957 bytes 2017-02-19 22:34:00 2017-02-23 15:22:06

Here's a sample kernel module showing the use of return probes to report the return value and total time taken for probed function to run.

Makefile 221 bytes 2017-02-19 22:34:00 2017-02-23 15:22:06