Coverage Report

Created: 2022-07-08 09:39

/home/mdboom/Work/builds/cpython/Include/pydtrace.h
Line
Count
Source (jump to first uncovered line)
1
/* Static DTrace probes interface */
2
3
#ifndef Py_DTRACE_H
4
#define Py_DTRACE_H
5
#ifdef __cplusplus
6
extern "C" {
7
#endif
8
9
#ifdef WITH_DTRACE
10
11
#include "pydtrace_probes.h"
12
13
/* pydtrace_probes.h, on systems with DTrace, is auto-generated to include
14
   `PyDTrace_{PROBE}` and `PyDTrace_{PROBE}_ENABLED()` macros for every probe
15
   defined in pydtrace_provider.d.
16
17
   Calling these functions must be guarded by a `PyDTrace_{PROBE}_ENABLED()`
18
   check to minimize performance impact when probing is off. For example:
19
20
       if (PyDTrace_FUNCTION_ENTRY_ENABLED())
21
           PyDTrace_FUNCTION_ENTRY(f);
22
*/
23
24
#else
25
26
/* Without DTrace, compile to nothing. */
27
28
static inline void PyDTrace_LINE(const char *arg0, const char *arg1, int arg2) {}
Unexecuted instantiation: ceval.c:PyDTrace_LINE
Unexecuted instantiation: import.c:PyDTrace_LINE
Unexecuted instantiation: sysmodule.c:PyDTrace_LINE
Unexecuted instantiation: gcmodule.c:PyDTrace_LINE
29
static inline void PyDTrace_FUNCTION_ENTRY(const char *arg0, const char *arg1, int arg2)  {}
Unexecuted instantiation: ceval.c:PyDTrace_FUNCTION_ENTRY
Unexecuted instantiation: import.c:PyDTrace_FUNCTION_ENTRY
Unexecuted instantiation: sysmodule.c:PyDTrace_FUNCTION_ENTRY
Unexecuted instantiation: gcmodule.c:PyDTrace_FUNCTION_ENTRY
30
static inline void PyDTrace_FUNCTION_RETURN(const char *arg0, const char *arg1, int arg2) {}
Unexecuted instantiation: ceval.c:PyDTrace_FUNCTION_RETURN
Unexecuted instantiation: import.c:PyDTrace_FUNCTION_RETURN
Unexecuted instantiation: sysmodule.c:PyDTrace_FUNCTION_RETURN
Unexecuted instantiation: gcmodule.c:PyDTrace_FUNCTION_RETURN
31
static inline void PyDTrace_GC_START(int arg0) {}
Unexecuted instantiation: ceval.c:PyDTrace_GC_START
Unexecuted instantiation: import.c:PyDTrace_GC_START
Unexecuted instantiation: sysmodule.c:PyDTrace_GC_START
Unexecuted instantiation: gcmodule.c:PyDTrace_GC_START
32
static inline void PyDTrace_GC_DONE(Py_ssize_t arg0) {}
Unexecuted instantiation: ceval.c:PyDTrace_GC_DONE
Unexecuted instantiation: import.c:PyDTrace_GC_DONE
Unexecuted instantiation: sysmodule.c:PyDTrace_GC_DONE
Unexecuted instantiation: gcmodule.c:PyDTrace_GC_DONE
33
static inline void PyDTrace_INSTANCE_NEW_START(int arg0) {}
Unexecuted instantiation: ceval.c:PyDTrace_INSTANCE_NEW_START
Unexecuted instantiation: import.c:PyDTrace_INSTANCE_NEW_START
Unexecuted instantiation: sysmodule.c:PyDTrace_INSTANCE_NEW_START
Unexecuted instantiation: gcmodule.c:PyDTrace_INSTANCE_NEW_START
34
static inline void PyDTrace_INSTANCE_NEW_DONE(int arg0) {}
Unexecuted instantiation: ceval.c:PyDTrace_INSTANCE_NEW_DONE
Unexecuted instantiation: import.c:PyDTrace_INSTANCE_NEW_DONE
Unexecuted instantiation: sysmodule.c:PyDTrace_INSTANCE_NEW_DONE
Unexecuted instantiation: gcmodule.c:PyDTrace_INSTANCE_NEW_DONE
35
static inline void PyDTrace_INSTANCE_DELETE_START(int arg0) {}
Unexecuted instantiation: ceval.c:PyDTrace_INSTANCE_DELETE_START
Unexecuted instantiation: import.c:PyDTrace_INSTANCE_DELETE_START
Unexecuted instantiation: sysmodule.c:PyDTrace_INSTANCE_DELETE_START
Unexecuted instantiation: gcmodule.c:PyDTrace_INSTANCE_DELETE_START
36
static inline void PyDTrace_INSTANCE_DELETE_DONE(int arg0) {}
Unexecuted instantiation: ceval.c:PyDTrace_INSTANCE_DELETE_DONE
Unexecuted instantiation: import.c:PyDTrace_INSTANCE_DELETE_DONE
Unexecuted instantiation: sysmodule.c:PyDTrace_INSTANCE_DELETE_DONE
Unexecuted instantiation: gcmodule.c:PyDTrace_INSTANCE_DELETE_DONE
37
static inline void PyDTrace_IMPORT_FIND_LOAD_START(const char *arg0) {}
Unexecuted instantiation: ceval.c:PyDTrace_IMPORT_FIND_LOAD_START
Unexecuted instantiation: import.c:PyDTrace_IMPORT_FIND_LOAD_START
Unexecuted instantiation: sysmodule.c:PyDTrace_IMPORT_FIND_LOAD_START
Unexecuted instantiation: gcmodule.c:PyDTrace_IMPORT_FIND_LOAD_START
38
static inline void PyDTrace_IMPORT_FIND_LOAD_DONE(const char *arg0, int arg1) {}
Unexecuted instantiation: ceval.c:PyDTrace_IMPORT_FIND_LOAD_DONE
Unexecuted instantiation: import.c:PyDTrace_IMPORT_FIND_LOAD_DONE
Unexecuted instantiation: sysmodule.c:PyDTrace_IMPORT_FIND_LOAD_DONE
Unexecuted instantiation: gcmodule.c:PyDTrace_IMPORT_FIND_LOAD_DONE
39
static inline void PyDTrace_AUDIT(const char *arg0, void *arg1) {}
Unexecuted instantiation: ceval.c:PyDTrace_AUDIT
Unexecuted instantiation: import.c:PyDTrace_AUDIT
Unexecuted instantiation: sysmodule.c:PyDTrace_AUDIT
Unexecuted instantiation: gcmodule.c:PyDTrace_AUDIT
40
41
static inline int PyDTrace_LINE_ENABLED(void) { return 0; }
ceval.c:PyDTrace_LINE_ENABLED
Line
Count
Source
41
static inline int PyDTrace_LINE_ENABLED(void) { return 0; }
Unexecuted instantiation: import.c:PyDTrace_LINE_ENABLED
Unexecuted instantiation: sysmodule.c:PyDTrace_LINE_ENABLED
Unexecuted instantiation: gcmodule.c:PyDTrace_LINE_ENABLED
42
static inline int PyDTrace_FUNCTION_ENTRY_ENABLED(void) { return 0; }
ceval.c:PyDTrace_FUNCTION_ENTRY_ENABLED
Line
Count
Source
42
static inline int PyDTrace_FUNCTION_ENTRY_ENABLED(void) { return 0; }
Unexecuted instantiation: import.c:PyDTrace_FUNCTION_ENTRY_ENABLED
Unexecuted instantiation: sysmodule.c:PyDTrace_FUNCTION_ENTRY_ENABLED
Unexecuted instantiation: gcmodule.c:PyDTrace_FUNCTION_ENTRY_ENABLED
43
static inline int PyDTrace_FUNCTION_RETURN_ENABLED(void) { return 0; }
ceval.c:PyDTrace_FUNCTION_RETURN_ENABLED
Line
Count
Source
43
static inline int PyDTrace_FUNCTION_RETURN_ENABLED(void) { return 0; }
Unexecuted instantiation: import.c:PyDTrace_FUNCTION_RETURN_ENABLED
Unexecuted instantiation: sysmodule.c:PyDTrace_FUNCTION_RETURN_ENABLED
Unexecuted instantiation: gcmodule.c:PyDTrace_FUNCTION_RETURN_ENABLED
44
static inline int PyDTrace_GC_START_ENABLED(void) { return 0; }
Unexecuted instantiation: ceval.c:PyDTrace_GC_START_ENABLED
Unexecuted instantiation: import.c:PyDTrace_GC_START_ENABLED
Unexecuted instantiation: sysmodule.c:PyDTrace_GC_START_ENABLED
gcmodule.c:PyDTrace_GC_START_ENABLED
Line
Count
Source
44
static inline int PyDTrace_GC_START_ENABLED(void) { return 0; }
45
static inline int PyDTrace_GC_DONE_ENABLED(void) { return 0; }
Unexecuted instantiation: ceval.c:PyDTrace_GC_DONE_ENABLED
Unexecuted instantiation: import.c:PyDTrace_GC_DONE_ENABLED
Unexecuted instantiation: sysmodule.c:PyDTrace_GC_DONE_ENABLED
gcmodule.c:PyDTrace_GC_DONE_ENABLED
Line
Count
Source
45
static inline int PyDTrace_GC_DONE_ENABLED(void) { return 0; }
46
static inline int PyDTrace_INSTANCE_NEW_START_ENABLED(void) { return 0; }
Unexecuted instantiation: ceval.c:PyDTrace_INSTANCE_NEW_START_ENABLED
Unexecuted instantiation: import.c:PyDTrace_INSTANCE_NEW_START_ENABLED
Unexecuted instantiation: sysmodule.c:PyDTrace_INSTANCE_NEW_START_ENABLED
Unexecuted instantiation: gcmodule.c:PyDTrace_INSTANCE_NEW_START_ENABLED
47
static inline int PyDTrace_INSTANCE_NEW_DONE_ENABLED(void) { return 0; }
Unexecuted instantiation: ceval.c:PyDTrace_INSTANCE_NEW_DONE_ENABLED
Unexecuted instantiation: import.c:PyDTrace_INSTANCE_NEW_DONE_ENABLED
Unexecuted instantiation: sysmodule.c:PyDTrace_INSTANCE_NEW_DONE_ENABLED
Unexecuted instantiation: gcmodule.c:PyDTrace_INSTANCE_NEW_DONE_ENABLED
48
static inline int PyDTrace_INSTANCE_DELETE_START_ENABLED(void) { return 0; }
Unexecuted instantiation: ceval.c:PyDTrace_INSTANCE_DELETE_START_ENABLED
Unexecuted instantiation: import.c:PyDTrace_INSTANCE_DELETE_START_ENABLED
Unexecuted instantiation: sysmodule.c:PyDTrace_INSTANCE_DELETE_START_ENABLED
Unexecuted instantiation: gcmodule.c:PyDTrace_INSTANCE_DELETE_START_ENABLED
49
static inline int PyDTrace_INSTANCE_DELETE_DONE_ENABLED(void) { return 0; }
Unexecuted instantiation: ceval.c:PyDTrace_INSTANCE_DELETE_DONE_ENABLED
Unexecuted instantiation: import.c:PyDTrace_INSTANCE_DELETE_DONE_ENABLED
Unexecuted instantiation: sysmodule.c:PyDTrace_INSTANCE_DELETE_DONE_ENABLED
Unexecuted instantiation: gcmodule.c:PyDTrace_INSTANCE_DELETE_DONE_ENABLED
50
static inline int PyDTrace_IMPORT_FIND_LOAD_START_ENABLED(void) { return 0; }
Unexecuted instantiation: ceval.c:PyDTrace_IMPORT_FIND_LOAD_START_ENABLED
import.c:PyDTrace_IMPORT_FIND_LOAD_START_ENABLED
Line
Count
Source
50
static inline int PyDTrace_IMPORT_FIND_LOAD_START_ENABLED(void) { return 0; }
Unexecuted instantiation: sysmodule.c:PyDTrace_IMPORT_FIND_LOAD_START_ENABLED
Unexecuted instantiation: gcmodule.c:PyDTrace_IMPORT_FIND_LOAD_START_ENABLED
51
static inline int PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED(void) { return 0; }
Unexecuted instantiation: ceval.c:PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED
import.c:PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED
Line
Count
Source
51
static inline int PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED(void) { return 0; }
Unexecuted instantiation: sysmodule.c:PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED
Unexecuted instantiation: gcmodule.c:PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED
52
static inline int PyDTrace_AUDIT_ENABLED(void) { return 0; }
Unexecuted instantiation: ceval.c:PyDTrace_AUDIT_ENABLED
Unexecuted instantiation: import.c:PyDTrace_AUDIT_ENABLED
sysmodule.c:PyDTrace_AUDIT_ENABLED
Line
Count
Source
52
static inline int PyDTrace_AUDIT_ENABLED(void) { return 0; }
Unexecuted instantiation: gcmodule.c:PyDTrace_AUDIT_ENABLED
53
54
#endif /* !WITH_DTRACE */
55
56
#ifdef __cplusplus
57
}
58
#endif
59
#endif /* !Py_DTRACE_H */