perfetto icon indicating copy to clipboard operation
perfetto copied to clipboard

How to copy heapprof callstack frame name (or function name)

Open lbknxy opened this issue 2 years ago • 7 comments

Hi, I want to copy function name, But Callstack panel not support copy and Selected function: just show part of name. Do you have plan to support copy function names or have idea to copy function names in this case ?

heapprof_copy_framename

lbknxy avatar Jul 17 '24 08:07 lbknxy

This is already fixed on the autopush version of the UI where there is a fully rewritten version of flamegraph which supports copying the function name.

LalitMaganti avatar Jul 17 '24 09:07 LalitMaganti

Where can I find this autopush version ?

lbknxy avatar Jul 18 '24 02:07 lbknxy

my chrome shows, current perfetto UI are : image
and

image

none of them can copy.

lbknxy avatar Jul 18 '24 03:07 lbknxy

Select "flags" on the sidebar, the top flag should be a version selector. Select autopush reload and then you should be using the new flamegraph.

LalitMaganti avatar Jul 18 '24 04:07 LalitMaganti

Very good job! Thanks!

lbknxy avatar Jul 18 '24 10:07 lbknxy

Please keep the so path!

From stable version: jfiGpOptX4

But, the autopush version, I find so path not show any more, it will help us differentiate callstack libraries, please keep them on: 2g4LGhngEW

lbknxy avatar Jul 18 '24 10:07 lbknxy

Thanks for the feedback. Reintroduced the mapping name in https://r.android.com/3184803 which should land next week.

LalitMaganti avatar Jul 19 '24 21:07 LalitMaganti