# kmemprof

this is kmemprof's project page.

## Examples

### call graph profiling

    	# kmemprof --load-cgprof
    	# kmemprof --start
    	# favorite_benchmark
    	# kmemprof --stop

# cgprof-analyzer /proc/kmemprof-cgprof/* | less

# cgprof-analyzer --dotty /proc/kmemprof-cgprof/* > cgprof.dot
# dotty cgprof.dot

### allocation tracing

    	# kmemprof --load-trace
    	# kmemprof --start
    	# favorite_benchmark
    	# kmemprof --stop

# trace-analyzer /proc/kmemprof-trace/{logbuf-0,strtab-0} | less

### filtering options

    	# kmemprof --set-frequency 100
    	# kmemprof --set-filter "filter_pid=`cat /var/run/httpd.pid`"
    	# kmemprof --set-objfilter blkdev_requests,buffer_head