Anatoli wrote: > Hi, All > Below is some data and a questions is 'why I do not see gettimeofday with > truss & dtrace, but pstack' ? > (NOTE: I am on the global container, not in zone) > > PS: when running, gettimeofday consumes whole CPU >
Looking through the source, I don't think gettimeofday() results in any syscalls -- at least on some architectures, it looks like it's simply read out of user-accessible CPU registers and then scaled appropriately. Using "truss -u::" you can see the gettimeofday() libc call. -- Andrew _______________________________________________ dtrace-discuss mailing list [email protected]
