Received: by 10.223.176.5 with SMTP id f5csp2540398wra; Mon, 5 Feb 2018 05:55:32 -0800 (PST) X-Google-Smtp-Source: AH8x224PYljSGkb3Z4nc1YsW/Mmo6fle47Sr4aNZrZysdP5MtMXmZ5ANnzyAGRzJcASS34XPkqj8 X-Received: by 2002:a17:902:930c:: with SMTP id bc12-v6mr44432763plb.328.1517838932022; Mon, 05 Feb 2018 05:55:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517838931; cv=none; d=google.com; s=arc-20160816; b=E67fi7E7TdmPPwJ2QqoEPPqd0VMIP0S9uZhxMijskEXcPT2T2Ef6xsw/vnmEbVHM1c BKP5fASeUuMq6CJqQOzk0m3X+Rip+jR9vZxQehiw6zn0WGkdDQIFJ4g3SjGrKSlYDdVg HtCMdaMd6mwAtgZ7E6gX6kBPLNvZ8WcmL0iGi6q2pmpvjW7v391H9OC9TQ7x4VrazPJ9 zE8Okt/3i84oy6hZc/N042vtlVWEHlF6SMmGYL9xPfj7mB9RJd/0dOlCdNd7+IwLi6XM 6hAe4O794QfqQzTudz9yJVdwazdZsFy1e+2sihjNyjFAyrF4WF40qRSrkeUuGF6KitIv uHIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=RKOpentJAru7EKjtHCtASSjt7x4/Kag7C7MS/7pqvSU=; b=P3yTIQykSUUv6vD3+uYBGYozqtgsvbUcpup4ZQ/pHAszJ+q9jFQqd2cb9+VCpewWhb /NPmxprO2I4mo582XqpKzZ6bInhesBHbkCl2+9Sz66UzfSlMcLCQbQXLaoAkhgWwf01d zUGHgH4sI8rQP5gqkVpWA32XanV9dS8f55i0HGYGP7/0kcnxvkLXSlxS1V8YbEb21JHb Un3NCFwIyAWPcFRTaNFzU0/JCj4k5SH+ril3iiiNtjYm8YFbsVpbEYT/lC4RqcM6uXzn YukzM5qhd5nAYGZuFNRPdMRv/Sqy9pLk9AxbQ8QDM+5PcBhxaKvNtUuyciGu3BZNgRXu 1HjA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3si4729103pgc.529.2018.02.05.05.55.17; Mon, 05 Feb 2018 05:55:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753128AbeBENyZ (ORCPT + 99 others); Mon, 5 Feb 2018 08:54:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:44232 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752925AbeBENyG (ORCPT ); Mon, 5 Feb 2018 08:54:06 -0500 Received: from devbox (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BD3DF21734; Mon, 5 Feb 2018 13:54:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BD3DF21734 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=mhiramat@kernel.org Date: Mon, 5 Feb 2018 22:54:02 +0900 From: Masami Hiramatsu To: Pintu Kumar Cc: linux-kernel@vger.kernel.org, "Wangnan (F)" , acme@redhat.com, quentin.monnet@netronome.com, daniel@iogearbox.net, davem@davemloft.net, alexander.shishkin@linux.intel.com, mingo@redhat.com, huawei.libin@huawei.com, Alexis Berlemont , maddy@linux.vnet.ibm.com, naveen.n.rao@linux.vnet.ibm.com, peterz@infradead.org, kernelnewbies@kernelnewbies.org Subject: Re: [perf] perf test BPF fails on 4.9.20 Message-Id: <20180205225402.f0b2448650763bc5cb8099a8@kernel.org> In-Reply-To: References: <20180203221935.bd3036aba7637a4de391a20e@kernel.org> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 5 Feb 2018 15:17:41 +0530 Pintu Kumar wrote: > On Sat, Feb 3, 2018 at 6:49 PM, Masami Hiramatsu wrote: > > Hi Pintu, > > > > On Fri, 2 Feb 2018 19:03:30 +0530 > > Pintu Kumar 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