Re: Profiling code execution on amd64?
- From: Ryan Stone <rysto32@xxxxxxxxx>
- Date: Thu, 13 Jan 2011 22:08:30 -0500
I would suggest using hwpmc for profiling:
# kldload hwpmc
# pmcstat -S unhalted-cycles -O /tmp/samples.out ../penetration
# pmcstat -R /tmp/samples.out -G /tmp/penetration.txt
You can also get pmcstat to generate gprof-compatible output with -g,
but I never use the mode so I'm really not sure what it gives you. I
think that you have to run gprof on the output or something, but don't
hold me to that.
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Profiling code execution on amd64?
- From: Steve Kargl
- Re: Profiling code execution on amd64?
- References:
- Profiling code execution on amd64?
- From: Steve Kargl
- Profiling code execution on amd64?
- Prev by Date: Re: R: Recent mouse freeze problem with X, different window managers, any browser and flash.
- Next by Date: Re: Profiling code execution on amd64?
- Previous by thread: Profiling code execution on amd64?
- Next by thread: Re: Profiling code execution on amd64?
- Index(es):
Relevant Pages
|