Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3065458ybl; Sun, 1 Sep 2019 05:49:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqzvI4fxuGMA4/p6uVW/sB6K4tfIvMJhTYzCLcXVb0QCc6vIqeJdfhAWYji0n39NOJPifspu X-Received: by 2002:aa7:8436:: with SMTP id q22mr1261385pfn.74.1567342174295; Sun, 01 Sep 2019 05:49:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567342174; cv=none; d=google.com; s=arc-20160816; b=NZxVeOViPLcGSTtFKpzws38j38+6S991yPkSse7D9fc4WE8NJKJ6oddaRTXOyV5fFs Xl1DCK/Mgd59vMPoE51htBNHqJ9f/Wd7Lz39ZTGUWO8I+05KBXbxihMorqvoFzYsDYwj P/A+IwVKDKLlm9RkjTMImoT+K7J/X240Qz9CMPXj5kncyI330JR9tgdJtsAKpwdaUbao gVLnw6t+HjaAPvWUrJzq4mvHwIwBwqIMxtPCAdwI+X49/E/GQHhaF0n9tDE+BIh7n4jg 2vRhIvj00w0TPKFQR8Amqa0y78mJPvtWqyQoLcJaVM1wDLROjEagLet7r3/YjjrLRA/0 b0PA== 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=lczk/rDWR0EtAiVALatCW9GOte4zNqctJ4ApdtmSX2E=; b=ZHN6yVUV2YVqT0eY+BaXdKQJZBt8QIKtttvhcwkAsqZE2JjLTUrint1eXXXTRLAJbi WT7cd0zHRtKT8uFevtzeftNVU2fq6XZNCKv2Z09Rj+fdU+kKB6/z+8+WMh17wbYbEUbD kpnsYeQqfAMmv18EQha59hBW0loV2WDT+o8aGzdnrEtXz8sZueI9u1ut+azbOHK3n/W3 PZ1oJRmj3WD1k2IZr3u/f+kbjlinLr9ZzrBV6NipLxNPBgmcxILjhB14jLIvQ9rpxN2g QmVO47OZu/fVwEkMDSEgjmTppuaiCIoHzVaTLv0JOzkB1D2uTl3faxl4JuFk+3ujcoAb JUhQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r4si9056283pgi.304.2019.09.01.05.49.19; Sun, 01 Sep 2019 05:49:34 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728978AbfIAMs3 (ORCPT + 99 others); Sun, 1 Sep 2019 08:48:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58317 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728963AbfIAMs2 (ORCPT ); Sun, 1 Sep 2019 08:48:28 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DDA907F747; Sun, 1 Sep 2019 12:48:27 +0000 (UTC) Received: from krava.redhat.com (ovpn-204-69.brq.redhat.com [10.40.204.69]) by smtp.corp.redhat.com (Postfix) with ESMTP id E4880600CE; Sun, 1 Sep 2019 12:48:25 +0000 (UTC) From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan Subject: [PATCH 1/4] perf tools: Fix python/perf.so compilation Date: Sun, 1 Sep 2019 14:48:19 +0200 Message-Id: <20190901124822.10132-2-jolsa@kernel.org> In-Reply-To: <20190901124822.10132-1-jolsa@kernel.org> References: <20190901124822.10132-1-jolsa@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.71]); Sun, 01 Sep 2019 12:48:28 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The python/perf.so compilation needs libperf ready, otherwise it fails: $ make python/perf.so JOBS=1 BUILD: Doing 'make -j1' parallel build GEN python/perf.so gcc: error: /home/jolsa/kernel/linux-perf/tools/perf/lib/libperf.a: No such file or directory Fixing this with by adding libperf dependency. Link: http://lkml.kernel.org/n/tip-0aaa6frvqnybjc2rjn7xrvjh@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/Makefile.perf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index f9807d8c005b..2ccc12f3730b 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -567,7 +567,7 @@ all: shell_compatibility_test $(ALL_PROGRAMS) $(LANG_BINDINGS) $(OTHER_PROGRAMS) # Create python binding output directory if not already present _dummy := $(shell [ -d '$(OUTPUT)python' ] || mkdir -p '$(OUTPUT)python') -$(OUTPUT)python/perf.so: $(PYTHON_EXT_SRCS) $(PYTHON_EXT_DEPS) $(LIBTRACEEVENT_DYNAMIC_LIST) +$(OUTPUT)python/perf.so: $(PYTHON_EXT_SRCS) $(PYTHON_EXT_DEPS) $(LIBTRACEEVENT_DYNAMIC_LIST) $(LIBPERF) $(QUIET_GEN)LDSHARED="$(CC) -pthread -shared" \ CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS) $(LIBTRACEEVENT_DYNAMIC_LIST_LDFLAGS)' \ $(PYTHON_WORD) util/setup.py \ -- 2.21.0