Hi, Could somebody include this in the FAQ? I found Daniel Hartmeier personal page which shows how to get stack trace and line numbers. I know that the stacktrace info is included somewhere on openbsd.org. But the way Daniel presented was much better. That particular presentation or a link should be in the FAQ too. They would be really useful.
Thanks > The "someone" running a profiling kernel to identify the hot spots could be > you. > > cd /sys/arch/<arch>/config > config -p <kernelname> > build a kernel from the ../compile/<kernelname>.PROF directory in the usual > way > kgmon -b to start profiling > (generate some traffic) > kgmon -h to stop profiling > kgmon -p to dump stats > gprof /bsd gmon.out to read stats... > > Assuming you're interested in routed traffic (rather than queuing traffic > generated on a box itself), make sure you run the traffic source and sink > on other machines routing through the altq box, don't source/sink traffic > on the altq box itself.