On 6/20/09, Pankaj <me.pankajpar...@gmail.com> wrote: > I too had the same intuition that DTrace works completely in software
DTrace works by dynamically patching the text (the instructions) to pass control to the DTrace framework. This is how DTrace gets zero overhead when the probe is not turned on. > but after knowing that there is Performance Monitoring Unit(PMU) present in > intel's chip, so I got confused if DTRace uses it, also same type of hardware > is present in AMD's chip. Hardware performance counter support was added to profile processor level events like cache miss, instruction retired, etc. You can take a look at this page for details: http://blogs.sun.com/jonh/entry/finally_dtrace_meets_the_cpu Rayson > I might be wrong. > > Need conformation. > -- > This message posted from opensolaris.org > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss@opensolaris.org > _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org