Filewatcher File Search File Search
Content Search
» » » » systemtap-0.5.5.tar.gz » Content »
pkg://systemtap-0.5.5.tar.gz:477205/systemtap-0.5.5/runtime/probes/where_func/  info  downloads


/** @dir where_func
This is a silly little instrumentation routine to instrument functions
entry by name. It makes use of the SystemTap runtime libraries to break
down the number of times the function by caller. 

It demonstrates kprobes, passing a module parameter, using the print buffer,
and using _stp_print_symbol() to map the addresses back to locations 
in functions.

By default it instruments schedule().

The instrumentation module is built by having the kernel that is going
to be instrumented currently on the machine and doing 
The instrumentation is inserted as root with:
/sbin/insmod kprobe_funct_where.ko funct_name=function_name
The instrumentation is removed as root with:
/sbin/rmmod kprobe_funct_where
-Will Cohen

Note that this module is broken now because we don't pass the module parameter
tp stpd.  FIXME
Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017