Messages in this thread | | | Date | Mon, 5 Feb 2018 22:54:02 +0900 | From | Masami Hiramatsu <> | Subject | Re: [perf] perf test BPF fails on 4.9.20 |
| |
On Mon, 5 Feb 2018 15:17:41 +0530 Pintu Kumar <pintu.ping@gmail.com> wrote:
> On Sat, Feb 3, 2018 at 6:49 PM, Masami Hiramatsu <mhiramat@kernel.org> wrote: > > Hi Pintu, > > > > On Fri, 2 Feb 2018 19:03:30 +0530 > > Pintu Kumar <pintu.ping@gmail.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@kernel.org>
| |