Paul Durrant wrote:
Pradeep wrote:
                    I am developing a gldv3 network driver , i need
some information about profiling the driver. Is there any tool
or method available in solaris which can profile the driver like
oprofile in linux . All i want to know which function is using how much percentage of cpu and all


driver-discuss is probably more appropriate for this discussion, but you should start by looking at lockstat (-I and -i options) and the dtrace cpc provider.

  Paul

Back in the Surya-II era, I did some benchmarking using "er_kernel" to do kernel profiling. Its built on top of dtrace. You can google for "er_kernel" to find documentation on it in the Sun Studio documentation. The "analyzer" tool that is part of it can give a good graphical representation of where the time is spent, allowing you to drill down to the individual instruction level. (Its a pretty amazing tool.)

   - Garrett

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to