FlameGraph icon indicating copy to clipboard operation
FlameGraph copied to clipboard

Flame graph enhancement (feature request)

Open ifdru74 opened this issue 2 years ago • 0 comments

Hello @brendangregg , I’m really appreciated with your work. I work under system performance validation. That’s an old and complicated system with a lot of configurable options. That make possible a lot of different approach to achieve similar goals. I validate performance with a kind of silver bullet (perf + eBPF). I'm using perf as observability tool and eBPF as a tool for precise cuts. It requires to quick transfer data from perf to eBPF. I'd like to introduce a kind of feature request - quick copy function names from flame graph to eBPF scripf. I've created a quick patch which enhance flame graph (SVG) functionality with an ability to copy function names by clicking on flame graph boxes and copy resulting list into clipboard. For Windows (and Linix) users it is activating by ctrl+mouse click. For Mack users - Meta+mouse click. Please take a look to the attachment (svg_quick.zip). That's a kind of demo. I'm using it to patch existing SVG files. P.S. The idea of this patch was inspired by one of my colleagues.

ifdru74 avatar Aug 02 '22 20:08 ifdru74