perf-probe.txt (73317b954041031249e8968d2e9023ff4e960d99) perf-probe.txt (b2a3c12b7442247c440f7083d48ef05716753ec1)
1perf-probe(1)
2=============
3
4NAME
5----
6perf-probe - Define new dynamic tracepoints
7
8SYNOPSIS

--- 80 unchanged lines hidden (view full) ---

89'ARG' specifies the arguments of this probe point, (see PROBE ARGUMENT).
90
91PROBE ARGUMENT
92--------------
93Each probe argument follows below syntax.
94
95 [NAME=]LOCALVAR|$retval|%REG|@SYMBOL[:TYPE]
96
1perf-probe(1)
2=============
3
4NAME
5----
6perf-probe - Define new dynamic tracepoints
7
8SYNOPSIS

--- 80 unchanged lines hidden (view full) ---

89'ARG' specifies the arguments of this probe point, (see PROBE ARGUMENT).
90
91PROBE ARGUMENT
92--------------
93Each probe argument follows below syntax.
94
95 [NAME=]LOCALVAR|$retval|%REG|@SYMBOL[:TYPE]
96
97'NAME' specifies the name of this argument (optional). You can use the name of local variable, local data structure member (e.g. var->field, var.field2), or kprobe-tracer argument format (e.g. $retval, %ax, etc). Note that the name of this argument will be set as the last member name if you specify a local data structure member (e.g. field2 for 'var->field1.field2'.)
97'NAME' specifies the name of this argument (optional). You can use the name of local variable, local data structure member (e.g. var->field, var.field2), local array with fixed index (e.g. array[1], var->array[0], var->pointer[2]), or kprobe-tracer argument format (e.g. $retval, %ax, etc). Note that the name of this argument will be set as the last member name if you specify a local data structure member (e.g. field2 for 'var->field1.field2'.)
98'TYPE' casts the type of this argument (optional). If omitted, perf probe automatically set the type based on debuginfo. You can specify 'string' type only for the local variable or structure member which is an array of or a pointer to 'char' or 'unsigned char' type.
99
100LINE SYNTAX
101-----------
102Line range is descripted by following syntax.
103
104 "FUNC[:RLN[+NUM|-RLN2]]|SRC:ALN[+NUM|-ALN2]"
105

--- 45 unchanged lines hidden ---
98'TYPE' casts the type of this argument (optional). If omitted, perf probe automatically set the type based on debuginfo. You can specify 'string' type only for the local variable or structure member which is an array of or a pointer to 'char' or 'unsigned char' type.
99
100LINE SYNTAX
101-----------
102Line range is descripted by following syntax.
103
104 "FUNC[:RLN[+NUM|-RLN2]]|SRC:ALN[+NUM|-ALN2]"
105

--- 45 unchanged lines hidden ---