Skip to content

gh-142927: Show module names instead of file paths in flamegraph#146040

Open
ivonastojanovic wants to merge 2 commits intopython:mainfrom
ivonastojanovic:flamegraph_modules
Open

gh-142927: Show module names instead of file paths in flamegraph#146040
ivonastojanovic wants to merge 2 commits intopython:mainfrom
ivonastojanovic:flamegraph_modules

Conversation

@ivonastojanovic
Copy link
Contributor

@ivonastojanovic ivonastojanovic commented Mar 16, 2026

Display module names instead of full file paths (/home/user/project/pkg/mod.pypkg.mod) in flamegraph for readability.

image

CC: @pablogsal @lkollar

The issue:

Show module names instead of full file paths — /home/user/project/pkg/mod.py → pkg.mod for readability

Move module name extraction logic from heatmap_collector to shared
module_utils to enable flamegraph to display module names instead of
full file paths.
Display module names instead of full file paths
(/home/user/project/pkg/mod.py → pkg.mod) in flamegraph for
readability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant