Re: [PATCH] perf test: Fix probe testsuite with a new error message

From: Arnaldo Carvalho de Melo
Date: Thu Oct 10 2024 - 08:50:46 EST


On Thu, Oct 10, 2024 at 09:48:52AM -0300, Arnaldo Carvalho de Melo wrote:
> On Wed, Oct 09, 2024 at 10:16:20PM -0700, Namhyung Kim wrote:
> > On my system, it's constantly failing because of new error message from
> > perf probe. It should update the regex pattern to match the message -
> > "A function DIE doesn't have decl_line. Maybe broken DWARF?".
> >
> > $ sudo head -n 2 /sys/kernel/debug/kprobes/blacklist | cut -f2
> > warn_thunk_thunk
> > asm_exc_divide_error
> >
> > $ sudo perf probe warn_thunk_thunk
> > A function DIE doesn't have decl_line. Maybe broken DWARF?
> > A function DIE doesn't have decl_line. Maybe broken DWARF?
> > Probe point 'warn_thunk_thunk' not found.
> > Error: Failed to add events.
> >
> > $ sudo perf probe asm_exc_overflow
> > Failed to find scope of probe point.
> > Error: Failed to add events.
>
> We discussed this in the past, I came up with a similar patch, Veronika
> rightly pointed out that this may point to a real problem, Masami said
> that since these are for DWARF from assembly those are known issues, I
> suggested Veronika checked if the CU where the function came from was
> generated from Assembly (there are DWARF tags that have that info), IIRC
> she said she would try to do it.
>
> I'll try to find out the threads and see what happened.

https://lore.kernel.org/all/ZvXhJLkJcR99Y2sF@xxxxxxxxxx/T/#u

Veronika, was there a v3?

Thanks,

- Arnaldo