Thread_Timestamp; String Functions; Isinstr; Strlen - 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

39 swapper(0):
<- usb_hcd_giveback_urb
45 swapper(0): <- usb_hcd_irq
0 usb-storage(1338): -> usb_submit_urb
6 usb-storage(1338):
12 usb-storage(1338):
18 usb-storage(1338):
25 usb-storage(1338):
29 usb-storage(1338): <- usb_submit_urb
0 swapper(0): -> usb_hcd_irq
7 swapper(0): <- usb_hcd_irq

9.8.5. thread_timestamp

General syntax:
thread_timestamp:long ()
This function returns an absolute timestamp value for use by the indentation function. The default
function uses gettimeofday_us.

9.9. String functions

The following are string functions you can use.

9.9.1. isinstr

General syntax:
isinstr:long (s1:string, s2:string)
This function returns 1 if string s1 contains string s2, otherwise zero.

9.9.2. strlen

General syntax:
strlen:long (str:string)
This function returns the number of characters in str.

9.9.3. strtol

General syntax:
strtol:long (str:string, base:long)
-> usb_hcd_submit_urb
-> usb_get_urb
<- usb_get_urb
<- usb_hcd_submit_urb
thread_timestamp
59

Advertisement

Table of Contents
loading

Table of Contents