Thomas Klausner wrote: > Module Name: src > Committed By: wiz > Date: Wed Jul 18 16:50:05 UTC 2018 > > Modified Files: > src/usr.sbin/tprof: tprof.8 tprof.c > > Log Message: > Various improvements to man page. Sync usage. >
Does tprof work on amd64? When I tried it a couple of days ago, tprof complained about missing /dev/tprof. I recompiled the kernel with options GPROF pseudo-device tprof then tried creating the device with MAKEDEV. It didn't know about tprof and I had to dig a major number in the code to create it manually. With /dev/tproj available, the tool complained about unsupported cpu. I'm on haswell notebook. It'd be nice to mention /dev/tprof in the man page and list common errors. Alex