1TAPSET::STRING(3stap) TAPSET::STRING(3stap)
2
3
4
6 tapset::string - systemtap string tapset
7
8
10 strlen Returns the length of a string
11
12 See function::strlen(3stap)
13 for details.
14
15 substr Returns a substring
16
17 See function::substr(3stap)
18 for details.
19
20 stringat
21 Returns the char at a given position in the string
22
23 See function::stringat(3stap)
24 for details.
25
26 isinstr
27 Returns whether a string is a substring of another string
28
29 See function::isinstr(3stap)
30 for details.
31
32 strpos Returns location of a substring within another string
33
34 See function::strpos(3stap)
35 for details.
36
37 text_str
38 Escape any non-printable chars in a string
39
40 See function::text_str(3stap)
41 for details.
42
43 text_strn
44 Escape any non-printable chars in a string
45
46 See function::text_strn(3stap)
47 for details.
48
49 - strtol
50 Convert a string to a long
51
52 See function::-strtol[4m(3stap)
53 for details.
54
55 isdigit
56 Checks for a digit
57
58 See function::isdigit(3stap)
59 for details.
60
61 string_quoted
62 Quotes a given string
63
64 See function::string_quoted(3stap)
65 for details.
66
67
69 function::strlen(3stap), function::substr(3stap),
70 function::stringat(3stap), function::isinstr(3stap),
71 function::strpos(3stap), function::text_str(3stap),
72 function::text_strn(3stap), function::-(3stap),
73 function::strtol(3stap), function::isdigit(3stap),
74 function::string_quoted(3stap), stap(1), stapprobes(3stap)
75
76
77
78SystemTap Tapset Reference June 2018 TAPSET::STRING(3stap)