From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758955AbbGHToc (ORCPT ); Wed, 8 Jul 2015 15:44:32 -0400 Received: from mail.kernel.org ([198.145.29.136]:49617 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758763AbbGHToR (ORCPT ); Wed, 8 Jul 2015 15:44:17 -0400 Date: Wed, 8 Jul 2015 16:44:09 -0300 From: Arnaldo Carvalho de Melo To: Wang Nan Cc: ast@plumgrid.com, linux-kernel@vger.kernel.org, lizefan@huawei.com, hekuang@huawei.com, xiakaixu@huawei.com, pi3orama@163.com Subject: Re: [PATCH v11 28/39] perf tools: Make perf depend on libbpf Message-ID: <20150708194409.GB11374@kernel.org> References: <1436361268-234530-1-git-send-email-wangnan0@huawei.com> <1436361268-234530-29-git-send-email-wangnan0@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1436361268-234530-29-git-send-email-wangnan0@huawei.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, Jul 08, 2015 at 01:14:17PM +0000, Wang Nan escreveu: > By adding libbpf into perf's Makefile, this patch enables perf to build > libbpf during building if libelf is found and neither NO_LIBELF nor > NO_LIBBPF is set. The newly introduced code is similar to libapi and > libtraceevent building in Makefile.perf. > > MANIFEST is also updated for 'make perf-*-src-pkg'. > > Append make_no_libbpf to tools/perf/tests/make. At this point this is also handy, to make ctags happy and allow us to navigate on libbpf files when working on perf, using tools/perf/tags diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 7a4b549214e3..d4058dbb836d 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -439,7 +439,7 @@ INSTALL_DOC_TARGETS += quick-install-doc quick-install-man quick-install-html $(DOC_TARGETS): $(QUIET_SUBDIR0)Documentation $(QUIET_SUBDIR1) $(@:doc=all) -TAG_FOLDERS= . ../lib/traceevent ../lib/api ../lib/symbol +TAG_FOLDERS= . ../lib/traceevent ../lib/api ../lib/symbol ../lib/bpf TAG_FILES= ../../include/uapi/linux/perf_event.h TAGS: