< Hi Everybody,
<                     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

  dtrace

  for starters you can use the hotkernel -m <module> dtrace script included
  with the dtrace toolkit.

DTrace can also profile using a CPU's performance counter events.
To do this you need to chck out the 'cpc' provider. Useful links:

http://wikis.sun.com/display/DTrace/cpc+Provider
http://blogs.sun.com/jonh/entry/finally_dtrace_meets_the_cpu


Jon.
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to