pmcstat and squid

Adrian Chadd adrian at freebsd.org
Mon Dec 11 19:55:46 PST 2006


I'm trying to use pmcstat to profile userspace time used in Squid. I
just can't seem to get pmcstat to report anything useful.

The last thing I tried was something like:

# pmcstat -O file -P instructions -t <pid of squid>
# pmcstat -R file -g
# ls k7-retired-instructions
kernel.gmon

There doesn't seem to be a good example for process-based counting
stuff with PMC. Could anyone give me a hand?

Thanks!


adrian

-- 
Adrian Chadd - adrian at freebsd.org


More information about the freebsd-hackers mailing list