I encountered a performance bottleneck issue. When testing my developed network driver, I found the CPU usage of iperf3(1) can reach 100%. I'd like to know the hotspot of my code, is there any good tool in FreeBSD can help?
By the way, the network driver is developed for Hyper-v VM, so pmcstat(8) does not work. I guess dtrace(1) may help, but I'm not familiar with it and does not find a DTrace script which can give the process's hotspot.
By the way, the network driver is developed for Hyper-v VM, so pmcstat(8) does not work. I guess dtrace(1) may help, but I'm not familiar with it and does not find a DTrace script which can give the process's hotspot.