[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180205225402.f0b2448650763bc5cb8099a8@kernel.org>
Date: Mon, 5 Feb 2018 22:54:02 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: Pintu Kumar <pintu.ping@...il.com>
Cc: linux-kernel@...r.kernel.org, "Wangnan (F)" <wangnan0@...wei.com>,
acme@...hat.com, quentin.monnet@...ronome.com,
daniel@...earbox.net, davem@...emloft.net,
alexander.shishkin@...ux.intel.com, mingo@...hat.com,
huawei.libin@...wei.com,
Alexis Berlemont <alexis.berlemont@...il.com>,
maddy@...ux.vnet.ibm.com, naveen.n.rao@...ux.vnet.ibm.com,
peterz@...radead.org, kernelnewbies@...nelnewbies.org
Subject: Re: [perf] perf test BPF fails on 4.9.20
On Mon, 5 Feb 2018 15:17:41 +0530
Pintu Kumar <pintu.ping@...il.com> wrote:
> On Sat, Feb 3, 2018 at 6:49 PM, Masami Hiramatsu <mhiramat@...nel.org> wrote:
> > Hi Pintu,
> >
> > On Fri, 2 Feb 2018 19:03:30 +0530
> > Pintu Kumar <pintu.ping@...il.com> 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@...nel.org>
Powered by blists - more mailing lists