Re: [perf] perf test BPF fails on 4.9.20

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 5 Feb 2018 15:17:41 +0530
Pintu Kumar <pintu.ping@xxxxxxxxx> wrote:

> On Sat, Feb 3, 2018 at 6:49 PM, Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
> > Hi Pintu,
> >
> > On Fri, 2 Feb 2018 19:03:30 +0530
> > Pintu Kumar <pintu.ping@xxxxxxxxx> wrote:
> >
> >> Hi All,
> >>
> >> I have fixed both the issue with perf test.
> >>
> >> 1) 16: Try 'import perf' in python, checking link problems      : FAILED!
> >> To fix this issue, I have to install:
> >> pip install --upgrade pip
> >> pip2.7 install perf
> >>
> >> 2) 37.2: Test BPF prologue generation                           : FAILED!
> >> To fix this issue I had to enable full version of CONFIG_DEBUG_INFO in kernel.
> >>
> >> Now, my question is:
> >> Is it possible to pass BPF test without enabling CONFIG_DEBUG_INFO in kernel ?
> >
> > It depends on what BPF test does, but it seems to access local vars. This means
> > you need to enable CONFIG_DEBUG_INFO. With debuginfo we can find the assignment
> > of register/stack for each local variable.
> >
> 
> OK. Thank you so much for your reply.
> I think we don't need BPF test at this time.
> Is it possible to disable/skip it ?

It depends on what you want to do with perf. If you don't use BPF, yes, you can
skip it :)

Thank you,

-- 
Masami Hiramatsu <mhiramat@xxxxxxxxxx>

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux