Oliver Yang writes:
> > How can I find the address of the kernel thread reponding to Sync570 module 
> > ?
> >
> >
> >   
> If you know the function name of Sync570, you can log all of kernel 
> thread into a text file, and check that file.
> 
> ::log /a.txt
> mdb: logging to "/a.txt"
> 
> ::threadlist -v
> 
> then grep the a.txt with the pattern of your driver function name.

That's a little too hard.  Here's a better alternative:

  ::threadlist -v ! less

... and then use the search options already present in 'less'.  You
can construct regular shell pipelines in mdb; just start them off with
"!" to let mdb know that the rest of the line is to be passed to a
subshell rather than to an internal command.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to