Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

perf maps address format #103650

Closed
Closed
Labels
3.12only security fixes3.13bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error
@art049

Description

@art049

Bug report

As implemented by@pablogsal in#96123 we can now generate perf maps(which is awesome BTW).
Currently, perf maps are formatted this way:

0x58c5882 b py::<module>:/home/arthur/Projects/python-playground/dummy_script.py0x58c588d b py::baz:/home/arthur/Projects/python-playground/dummy_script.py0x58c5898 b py::bar:/home/arthur/Projects/python-playground/dummy_script.py0x58c58a3 b py::foo:/home/arthur/Projects/python-playground/dummy_script.py

However, as per theperf maps interface specification it seems the address should not include the leading0x.

Thus the perf map should look like this:

58c5882 b py::<module>:/home/arthur/Projects/python-playground/dummy_script.py58c588d b py::baz:/home/arthur/Projects/python-playground/dummy_script.py58c5898 b py::bar:/home/arthur/Projects/python-playground/dummy_script.py58c58a3 b py::foo:/home/arthur/Projects/python-playground/dummy_script.py

Still, it works fine withperf but might not with other tools not handling this leading0x.

Your environment

  • CPython versions tested on: 3.12.0a7
  • Operating system and architecture: Manjaro 22.1.0 x86_64

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixes3.13bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp