@@ -280,41 +280,40 @@ Available static markers
280280
281281 The filename, function name, and line number are provided back to the
282282 tracing script as positional arguments, which must be accessed using
283- `$arg1 `, `$arg2 `, `$arg3 `:
283+ `` $arg1 `` , `` $arg2 `` , `` $arg3 ` `:
284284
285- * `$arg1 ` : `(const char *) ` filename, accessible using `user_string($arg1) `
285+ * `` $arg1 `` : `` (const char *) `` filename, accessible using `` user_string($arg1) ` `
286286
287- * `$arg2 ` : `(const char *) ` function name, accessible using
288- `user_string($arg2) `
287+ * `` $arg2 `` : `` (const char *) ` ` function name, accessible using
288+ `` user_string($arg2) ` `
289289
290- * `$arg3 ` : `int ` line number
290+ * `` $arg3 `` : `` int ` ` line number
291291
292292.. c :function :: function__return(str filename, str funcname, int lineno)
293293
294- This marker is the converse of `function__entry `, and indicates that
295- execution of a Python function has ended (either via ``return ``, or
296- via an exception). It is only triggered for pure-Python (bytecode)
297- functions.
294+ This marker is the converse of :c:func: `function__entry `, and indicates that
295+ execution of a Python function has ended (either via ``return ``, or via an
296+ exception). It is only triggered for pure-Python (bytecode) functions.
298297
299- The arguments are the same as for `function__entry `
298+ The arguments are the same as for :c:func: `function__entry `
300299
301300.. c :function :: line(str filename, str funcname, int lineno)
302301
303302 This marker indicates a Python line is about to be executed. It is
304303 the equivalent of line-by-line tracing with a Python profiler. It is
305304 not triggered within C functions.
306305
307- The arguments are the same as for `function__entry `.
306+ The arguments are the same as for :c:func: `function__entry `.
308307
309308.. c :function :: gc__start(int generation)
310309
311310 Fires when the Python interpreter starts a garbage collection cycle.
312- `arg0 ` is the generation to scan, like :func: `gc.collect() `.
311+ `` arg0 ` ` is the generation to scan, like :func: `gc.collect() `.
313312
314313.. c :function :: gc__done(long collected)
315314
316315 Fires when the Python interpreter finishes a garbage collection
317- cycle. `arg0 ` is the number of collected objects.
316+ cycle. `` arg0 ` ` is the number of collected objects.
318317
319318
320319SystemTap Tapsets
@@ -348,7 +347,7 @@ Here is a tapset file, based on a non-shared build of CPython:
348347 }
349348
350349 If this file is installed in SystemTap's tapset directory (e.g.
351- `/usr/share/systemtap/tapset `), then these additional probepoints become
350+ `` /usr/share/systemtap/tapset ` `), then these additional probepoints become
352351available:
353352
354353.. c :function :: python.function.entry(str filename, str funcname, int lineno, frameptr)
@@ -358,9 +357,10 @@ available:
358357
359358.. c :function :: python.function.return (str filename, str funcname, int lineno, frameptr)
360359
361- This probe point is the converse of `python.function.return `, and indicates
362- that execution of a Python function has ended (either via ``return ``, or
363- via an exception). It is only triggered for pure-python (bytecode) functions.
360+ This probe point is the converse of :c:func: `python.function.return `, and
361+ indicates that execution of a Python function has ended (either via
362+ ``return ``, or via an exception). It is only triggered for pure-python
363+ (bytecode) functions.
364364
365365
366366Examples
0 commit comments