Re: [PATCH][RFC] perf annotate: show full line locations with 'k' in UI

From: Martin Liška
Date: Sat Mar 06 2021 - 14:05:01 EST


This is a multi-part message in MIME format. On 3/6/21 3:31 PM, Arnaldo Carvalho de Melo wrote:
I see, it works only when pressing on source code lines:

Hey.

Yes, I forgot to explicitly mention that.


Source file location: /usr/src/debug/kernel-5.10.fc33/linux-5.10.19-200.fc33.x86_64/./arch/x86/include/asm/msr.h:205

So we better improve that message? I.e. 'press on source code lines', or
'enable showing source code lines to get line number'?

Fixed that in the attached patch. I got inspiration from 's' hotkey which prints the following warning:
"Only available for assembly lines.".

Thanks,
Martin