Probefunc; Probemod; Formatting Functions; Ctime - Red Hat ENTERPRISE LINUX 5.4 - SYSTEMTAP LANGUAGE Reference Manual

Systemtap language reference
Hide thumbs Also See for ENTERPRISE LINUX 5.4 - SYSTEMTAP LANGUAGE:
Table of Contents

Advertisement

probefunc

pp:string ()
This function returns the probe point associated with a currently running probe handler, including alias
and wild-card expansion effects.
9.7.2. probefunc
General syntax:
probefunc:string ()
This function returns the name of the function being probed.

9.7.3. probemod

General syntax:
probemod:string ()
This function returns the name of the module containing the probe point.

9.8. Formatting functions

The following functions help you format output.

9.8.1. ctime

General syntax:
ctime:string(epochsecs:long)
This function accepts an argument of seconds since the epoch as returned by gettimeofday_s(). It
returns a date string in UTC of the form:
"Wed Jun 30 21:49:008 2006"
This function does not adjust for timezones. The returned time is always in GMT. Your script must
manually adjust epochsecs before passing it to ctime() if you want to print local time.

9.8.2. errno_str

General syntax:
57

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 5.4 - SYSTEMTAP LANGUAGE and is the answer not in the manual?

Questions and answers

Table of Contents