FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.15] gh-148932: Docs / `profiling.sampling` Windows limitations (GH-150272) by miss-islington · Pull Request #150330 · python/cpython · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
5 changes: 5 additions & 0 deletions Doc/library/profiling.sampling.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,11 @@ This requires one of:
On Windows, the profiler requires administrative privileges or the
``SeDebugPrivilege`` privilege to read another process's memory.

*Note*: On Windows, ``python -m profiling.sampling`` fails inside a virtual
environment because the venv's ``python.exe`` is just a launcher shim that
re-executes the base interpreter as a child process. The shim itself isn't
a Python process and has no ``PyRuntime`` section to attach to. Instead,
run it from the global Python installation.

Version compatibility
---------------------
Expand Down
Loading

Back | FazBrowse Home | New Git URL