Set a static tracepoint at specified line, function or marker.
strace [LOCATION] [if CONDITION]
LOCATION may be a line number, function name, "*" and an address,
or -m MARKER_ID.
If a line number is specified, probe the marker at start of code
for that line. If a function is specified, probe the marker at start
of code for that function. If an address is specified, probe the marker
at that exact address. If a marker id is specified, probe the marker
with that name. With no LOCATION, uses current execution address of
the selected stack frame.
Static tracepoints accept an extra collect action -- ``collect $_sdata''.
This collects arbitrary user data passed in the probe point call to the
tracing library. You can inspect it when analyzing the trace buffer,
by printing the $_sdata variable like any other convenience variable.
CONDITION is a boolean expression.
Multiple tracepoints at one place are permitted, and useful if their
conditions are different.
Do "help breakpoints" for info on other commands dealing with breakpoints.
Do "help tracepoints" for info on other tracepoint commands.