Lippman 发表于 2008-01-18 13:23

Solaris Developer Quiz May 23, 2007

Can I trace global kernel variables using dtrace?
a) Yes.
b) No.
c) Maybe.
d) 42.

The correct answer is a.

Yes. Use a backqoute in front of a kernel variable to dereference it. E.g: 'kmem_flags.


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/27174/showart_467080.html
页: [1]
查看完整版本: Solaris Developer Quiz May 23, 2007