Fix `pydtrace.d` path comment in `Include/pydtrace.h` (#28539)

This commit is contained in:
Mark Hansen 2023-01-01 04:10:25 +11:00 committed by GitHub
parent ac7a0a9f9e
commit baf234971f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ extern "C" {
/* pydtrace_probes.h, on systems with DTrace, is auto-generated to include /* pydtrace_probes.h, on systems with DTrace, is auto-generated to include
`PyDTrace_{PROBE}` and `PyDTrace_{PROBE}_ENABLED()` macros for every probe `PyDTrace_{PROBE}` and `PyDTrace_{PROBE}_ENABLED()` macros for every probe
defined in pydtrace_provider.d. defined in pydtrace.d.
Calling these functions must be guarded by a `PyDTrace_{PROBE}_ENABLED()` Calling these functions must be guarded by a `PyDTrace_{PROBE}_ENABLED()`
check to minimize performance impact when probing is off. For example: check to minimize performance impact when probing is off. For example: