Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp584835ybj; Thu, 7 May 2020 02:53:57 -0700 (PDT) X-Google-Smtp-Source: APiQypL3ApdKsiiEYLjESiL3VlThwurcsrwloDobqEyBsCWKJeTK+dpV3wwCrefSa1YBrzs6wrG1 X-Received: by 2002:a17:906:add7:: with SMTP id lb23mr11734592ejb.6.1588845237027; Thu, 07 May 2020 02:53:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588845237; cv=none; d=google.com; s=arc-20160816; b=vcLzvV3HKCqXfKCJbD/ox9fbP8Fb7N0M1YqJL3f6P09E9NPRrwySMsmR6vgBnRDLtm MTP+aa4SqKb3E7xIRa5GNBCJ7pdsnrM8WrJipaRMrLPdZOYLWqOj2Z5I48LvPnNKZsVN Db47vewUY20BLfHJvfhyoZ+VstyyxnCNtRnl1dowI4D9Zf4YuuCwPs38hdWjIcFUF/HH mMKtluKObZsNuaC3RyvGbRmj+1UJsLiYkLK1qlugUqLYy+A1qA/FmSEFchzuWzOFQvdm W6pwObdi+j0LanT87aNIvXsSTDPUWf9BOOE5DrbQyz5+95i29fCoGN47wrsw+gI7VROO kWHQ== 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:date:subject:cc:to:from; bh=LkzX2cgr390ywiLKUO/COKyXg8LlGjvxXxKRW9WcVvo=; b=OmzaqdNWxAFIF8S/gKqe7OOa0O8LO1ma39WH1F56n660BOf2aEma1NeI7YX/Q/AS5N qeqauly9/Zb9Bwyzs2gM/A7PEjBguW+cFRTRvFKqNZ83QXGCnINK5hQzLcbDP3iFzhYi IWpwH9KCdHseyj5S/SxT01GzGNRDEWlQH2F8DJwDHIFyf5rIdZPnWZp7oK0tutn4+53z 0IQgNxr3NEWUTZ9Y64+n2j4R6nYPaaiiLawgPOC+yvPavu9Onitl9dXZxjYoMXB2xz0y jXAGw+xOU1mPLNSz04lKnMJvip8WstgQT8eu9+hgNm8DeERGw7O8LXW3fZEWCrIkzx++ Zu+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u22si3128789edd.207.2020.05.07.02.53.33; Thu, 07 May 2020 02:53:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726575AbgEGJui convert rfc822-to-8bit (ORCPT + 99 others); Thu, 7 May 2020 05:50:38 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:60275 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725848AbgEGJuh (ORCPT ); Thu, 7 May 2020 05:50:37 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-291-zb60KkUBMi2TdjXxK_AgFg-1; Thu, 07 May 2020 05:50:31 -0400 X-MC-Unique: zb60KkUBMi2TdjXxK_AgFg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 26EF180183C; Thu, 7 May 2020 09:50:30 +0000 (UTC) Received: from krava.redhat.com (unknown [10.40.194.212]) by smtp.corp.redhat.com (Postfix) with ESMTP id EA12810013BD; Thu, 7 May 2020 09:50:27 +0000 (UTC) From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan , Ian Rogers , Paul Khuong Subject: [PATCH 1/5] perf tools: Do not display extra info when there is nothing to build Date: Thu, 7 May 2020 11:50:20 +0200 Message-Id: <20200507095024.2789147-2-jolsa@kernel.org> In-Reply-To: <20200507095024.2789147-1-jolsa@kernel.org> References: <20200507095024.2789147-1-jolsa@kernel.org> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: kernel.org Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Even with fully built tree, we still display extra output when make is invoked, like: $ make BUILD: Doing 'make -j8' parallel build DESCEND plugins make[3]: Nothing to be done for 'plugins/libtraceevent-dynamic-list'. Changing the make descend directly to plugins directory, which quiets those messages down. Signed-off-by: Jiri Olsa --- tools/perf/Makefile.perf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 94a495594e99..30e41dcd4095 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -278,6 +278,7 @@ strip-libs = $(filter-out -l%,$(1)) ifneq ($(OUTPUT),) TE_PATH=$(OUTPUT) + PLUGINS_PATH=$(OUTPUT) BPF_PATH=$(OUTPUT) SUBCMD_PATH=$(OUTPUT) LIBPERF_PATH=$(OUTPUT) @@ -288,6 +289,7 @@ else endif else TE_PATH=$(TRACE_EVENT_DIR) + PLUGINS_PATH=$(TRACE_EVENT_DIR)plugins/ API_PATH=$(LIB_DIR) BPF_PATH=$(BPF_DIR) SUBCMD_PATH=$(SUBCMD_DIR) @@ -297,7 +299,7 @@ endif LIBTRACEEVENT = $(TE_PATH)libtraceevent.a export LIBTRACEEVENT -LIBTRACEEVENT_DYNAMIC_LIST = $(TE_PATH)plugins/libtraceevent-dynamic-list +LIBTRACEEVENT_DYNAMIC_LIST = $(PLUGINS_PATH)libtraceevent-dynamic-list # # The static build has no dynsym table, so this does not work for @@ -756,10 +758,10 @@ $(LIBTRACEEVENT): FORCE $(Q)$(MAKE) -C $(TRACE_EVENT_DIR) $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) $(OUTPUT)libtraceevent.a libtraceevent_plugins: FORCE - $(Q)$(MAKE) -C $(TRACE_EVENT_DIR) $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) plugins + $(Q)$(MAKE) -C $(TRACE_EVENT_DIR)plugins $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) plugins $(LIBTRACEEVENT_DYNAMIC_LIST): libtraceevent_plugins - $(Q)$(MAKE) -C $(TRACE_EVENT_DIR) $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) $(OUTPUT)plugins/libtraceevent-dynamic-list + $(Q)$(MAKE) -C $(TRACE_EVENT_DIR)plugins $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) $(OUTPUT)libtraceevent-dynamic-list $(LIBTRACEEVENT)-clean: $(call QUIET_CLEAN, libtraceevent) -- 2.25.4