| 1 |
.\" -*- nroff -*- |
| 2 |
.TH TAPSET::STRING 3stap "October 2025" "SystemTap Tapset Reference" |
| 3 |
.SH NAME |
| 4 |
tapset::string \- systemtap string tapset |
| 5 |
|
| 6 |
.SH DESCRIPTION |
| 7 |
.TP |
| 8 |
.P |
| 9 |
.TP |
| 10 |
.B strlen |
| 11 |
Returns the length of a string |
| 12 |
.IP |
| 13 |
See |
| 14 |
.IR function::strlen (3stap) |
| 15 |
for details. |
| 16 |
.P |
| 17 |
.TP |
| 18 |
.B substr |
| 19 |
Returns a substring |
| 20 |
.IP |
| 21 |
See |
| 22 |
.IR function::substr (3stap) |
| 23 |
for details. |
| 24 |
.P |
| 25 |
.TP |
| 26 |
.B stringat |
| 27 |
Returns the char at a given position in the string |
| 28 |
.IP |
| 29 |
See |
| 30 |
.IR function::stringat (3stap) |
| 31 |
for details. |
| 32 |
.P |
| 33 |
.TP |
| 34 |
.B isinstr |
| 35 |
Returns whether a string is a substring of another string |
| 36 |
.IP |
| 37 |
See |
| 38 |
.IR function::isinstr (3stap) |
| 39 |
for details. |
| 40 |
.P |
| 41 |
.TP |
| 42 |
.B strpos |
| 43 |
Returns location of a substring within another string |
| 44 |
.IP |
| 45 |
See |
| 46 |
.IR function::strpos (3stap) |
| 47 |
for details. |
| 48 |
.P |
| 49 |
.TP |
| 50 |
.B text_str |
| 51 |
Escape any non-printable chars in a string |
| 52 |
.IP |
| 53 |
See |
| 54 |
.IR function::text_str (3stap) |
| 55 |
for details. |
| 56 |
.P |
| 57 |
.TP |
| 58 |
.B text_strn |
| 59 |
Escape any non-printable chars in a string |
| 60 |
.IP |
| 61 |
See |
| 62 |
.IR function::text_strn (3stap) |
| 63 |
for details. |
| 64 |
.P |
| 65 |
.TP |
| 66 |
.B - strtol |
| 67 |
Convert a string to a long |
| 68 |
.IP |
| 69 |
See |
| 70 |
.IR function::- strtol (3stap) |
| 71 |
for details. |
| 72 |
.P |
| 73 |
.TP |
| 74 |
.B isdigit |
| 75 |
Checks for a digit |
| 76 |
.IP |
| 77 |
See |
| 78 |
.IR function::isdigit (3stap) |
| 79 |
for details. |
| 80 |
.P |
| 81 |
.TP |
| 82 |
.B string_quoted |
| 83 |
Quotes a given string |
| 84 |
.IP |
| 85 |
See |
| 86 |
.IR function::string_quoted (3stap) |
| 87 |
for details. |
| 88 |
|
| 89 |
.SH SEE ALSO |
| 90 |
.BR |
| 91 |
.IR \%function::strlen (3stap), |
| 92 |
.BR |
| 93 |
.IR \%function::substr (3stap), |
| 94 |
.BR |
| 95 |
.IR \%function::stringat (3stap), |
| 96 |
.BR |
| 97 |
.IR \%function::isinstr (3stap), |
| 98 |
.BR |
| 99 |
.IR \%function::strpos (3stap), |
| 100 |
.BR |
| 101 |
.IR \%function::text_str (3stap), |
| 102 |
.BR |
| 103 |
.IR \%function::text_strn (3stap), |
| 104 |
.BR |
| 105 |
.IR \%function::- (3stap), |
| 106 |
.BR |
| 107 |
.IR \%function::strtol (3stap), |
| 108 |
.BR |
| 109 |
.IR \%function::isdigit (3stap), |
| 110 |
.BR |
| 111 |
.IR \%function::string_quoted (3stap), |
| 112 |
.BR |
| 113 |
.IR \%stap (1), |
| 114 |
.IR \%stapprobes (3stap) |