This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: timestamp
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: "Sanket Somnath Hase" <sanket at cmu dot edu>
- Cc: systemtap at sourceware dot org
- Date: 07 Aug 2007 15:51:43 -0400
- Subject: Re: timestamp
- References: <46765.148.87.1.170.1186104386.squirrel@148.87.1.170>
"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