[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOuPNLjsj+ocT9TO6H-nAe5FDG+mMVUuGehYybxaToMzLQHLYw@mail.gmail.com>
Date: Mon, 5 Feb 2018 22:36:26 +0530
From: Pintu Kumar <pintu.ping@...il.com>
To: Masami Hiramatsu <mhiramat@...nel.org>
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, Feb 5, 2018 at 7:24 PM, Masami Hiramatsu <mhiramat@...nel.org> wrote:
> 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 :)
>
Yes I want to skip the BPF.
What is the best way to skip it.
I found out that by commenting 'bpf' under :
tools/build/Makefile.feature -> FEATURE_TESTS_BASIC,
I can turn BPF feature OFF during compilation.
However, I still need to execute BPF test and check, if it skips.
Is this good enough ?
> Thank you,
>
> --
> Masami Hiramatsu <mhiramat@...nel.org>
Powered by blists - more mailing lists