-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
gh-136459: Add perf trampoline support for macOS #136461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
7547a29
17df9c8
3dac7a9
d428ba4
50e80bf
3f9e24d
dc54659
8a20a4b
1432cc8
a7b043d
3ae5cb2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,12 @@ | |
Support for Perf Maps | ||
---------------------- | ||
|
||
On supported platforms (as of this writing, only Linux), the runtime can take | ||
On supported platforms (as of this writing, Linux and macOS), the runtime can take | ||
advantage of *perf map files* to make Python functions visible to an external | ||
profiling tool (such as `perf <https://perf.wiki.kernel.org/index.php/Main_Page>`_). | ||
A running process may create a file in the ``/tmp`` directory, which contains entries | ||
that can map a section of executable code to a name. This interface is described in the | ||
profiling tool (such as `perf <https://perf.wiki.kernel.org/index.php/Main_Page>`_ or | ||
`samply <https://github.com/mstange/samply/>`_). A running process may create a | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added a shameless plug to samply 😄 Disclaimer: I'm not the maintainer of the project, but the maintainer is my colleague. But it doesn't change the fact that it's an awesome profiler! But I can revert it if you prefer not to include :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am happy with the plug, but this docs are going to need much more than this then. If |
||
file in the ``/tmp`` directory, which contains entries that can map a section | ||
of executable code to a name. This interface is described in the | ||
`documentation of the Linux Perf tool <https://git.kernel.org/pub/scm/linux/ | ||
kernel/git/torvalds/linux.git/tree/tools/perf/Documentation/jit-interface.txt>`_. | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.