This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: timestamp


"Sanket Somnath Hase" <sanket@cmu.edu> writes:

> Do we have any interface to get "timestamp" ? #of seconds since
> epoch is not so pretty option.

stap -e 'probe begin {log(ctime(gettimeofday_s())) exit ()}'
Tue Aug  7 19:51:33 2007


- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]