Skip to content

Enable frame pointers on Linux for the perf profiler #992

@adamchainz

Description

@adamchainz

Python supports tracing with Linux's perf, and "for best results":

Python should be compiled with CFLAGS="-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"

The first of these options was previously discussed in #239 which stalled due to Python deprecating dttace support, but perf support is here to stay.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions