@@ -272,9 +272,7 @@ should instead read:
272
272
Available static markers
273
273
------------------------
274
274
275
- .. I'm reusing the "c:function" type for markers
276
-
277
- .. c :function :: function__entry(str filename, str funcname, int lineno)
275
+ .. object :: function__entry(str filename, str funcname, int lineno)
278
276
279
277
This marker indicates that execution of a Python function has begun.
280
278
It is only triggered for pure-Python (bytecode) functions.
@@ -290,40 +288,40 @@ Available static markers
290
288
291
289
* ``$arg3 `` : ``int `` line number
292
290
293
- .. c : function :: function__return(str filename, str funcname, int lineno)
291
+ .. object :: function__return(str filename, str funcname, int lineno)
294
292
295
293
This marker is the converse of :c:func: `function__entry `, and indicates that
296
294
execution of a Python function has ended (either via ``return ``, or via an
297
295
exception). It is only triggered for pure-Python (bytecode) functions.
298
296
299
297
The arguments are the same as for :c:func: `function__entry `
300
298
301
- .. c : function :: line(str filename, str funcname, int lineno)
299
+ .. object :: line(str filename, str funcname, int lineno)
302
300
303
301
This marker indicates a Python line is about to be executed. It is
304
302
the equivalent of line-by-line tracing with a Python profiler. It is
305
303
not triggered within C functions.
306
304
307
305
The arguments are the same as for :c:func: `function__entry `.
308
306
309
- .. c : function :: gc__start(int generation)
307
+ .. object :: gc__start(int generation)
310
308
311
309
Fires when the Python interpreter starts a garbage collection cycle.
312
310
``arg0 `` is the generation to scan, like :func: `gc.collect() `.
313
311
314
- .. c : function :: gc__done(long collected)
312
+ .. object :: gc__done(long collected)
315
313
316
314
Fires when the Python interpreter finishes a garbage collection
317
315
cycle. ``arg0 `` is the number of collected objects.
318
316
319
- .. c : function :: import__find__load__start(str modulename)
317
+ .. object :: import__find__load__start(str modulename)
320
318
321
319
Fires before :mod: `importlib ` attempts to find and load the module.
322
320
``arg0 `` is the module name.
323
321
324
322
.. versionadded :: 3.7
325
323
326
- .. c : function :: import__find__load__done(str modulename, int found)
324
+ .. object :: import__find__load__done(str modulename, int found)
327
325
328
326
Fires after :mod: `importlib `'s find_and_load function is called.
329
327
``arg0 `` is the module name, ``arg1 `` indicates if module was
@@ -332,7 +330,7 @@ Available static markers
332
330
.. versionadded :: 3.7
333
331
334
332
335
- .. c : function :: audit(str event, void *tuple)
333
+ .. object :: audit(str event, void *tuple)
336
334
337
335
Fires when :func: `sys.audit ` or :c:func: `PySys_Audit ` is called.
338
336
``arg0 `` is the event name as C string, ``arg1 `` is a :c:type: `PyObject `
@@ -375,14 +373,14 @@ If this file is installed in SystemTap's tapset directory (e.g.
375
373
``/usr/share/systemtap/tapset ``), then these additional probepoints become
376
374
available:
377
375
378
- .. c : function :: python.function.entry(str filename, str funcname, int lineno, frameptr)
376
+ .. object :: python.function.entry(str filename, str funcname, int lineno, frameptr)
379
377
380
378
This probe point indicates that execution of a Python function has begun.
381
379
It is only triggered for pure-Python (bytecode) functions.
382
380
383
- .. c : function :: python.function.return (str filename, str funcname, int lineno, frameptr)
381
+ .. object :: python.function.return(str filename, str funcname, int lineno, frameptr)
384
382
385
- This probe point is the converse of :c:func: ` python.function.return `, and
383
+ This probe point is the converse of `` python.function.return ` `, and
386
384
indicates that execution of a Python function has ended (either via
387
385
``return ``, or via an exception). It is only triggered for pure-Python
388
386
(bytecode) functions.
0 commit comments