Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp120563ybg; Mon, 8 Jun 2020 18:11:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwLUo9zyuXR8UmQyPxRAcru62VjlGhnUWrKmAizcH7zRDC7Mboh9Ytopvk74o4jXf0rcJ8 X-Received: by 2002:a17:906:a889:: with SMTP id ha9mr24202790ejb.429.1591665066987; Mon, 08 Jun 2020 18:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591665066; cv=none; d=google.com; s=arc-20160816; b=ba+mKTpbb+LqeecLKbCXa4VJvwqLa/jq/Mj3VpoZb91QAdlUVadh7gkfJL8u0Q71ko UPHehncru7AtEsHwcPkH8esTF3aowuC7GWQY80twcFArP0sSz7/peJD5RqDFvt6Ldcn4 U8btzKM/d0tu3MBfXDxnWlSKZE9ZM4zfip9rXbXbA9n40sl/u+y9pfG3atVUaIgM+rUu WaqUKQ+RLcyexUl+BQD32uPzzqDHScWpaN/3uV46Zwi31yd49aLCsP/9tQ85iT9ZSwJE /uEmCFXRVgvK2GJ3EUQdo44dmkx78XBRvj+iVqT2RzrcNF1hQuFdZxLEsGgfhOi3MYf4 bQvQ== 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 :dkim-signature; bh=zaiFhkTW8GvssBGOmlN1nD7DXK04uYhqxjEFvWKNHGg=; b=KXu0StRB8r2hGzN/ec11I05/SLhsUTSbJLy20khNFuWvP97aLj7b83yXL0HLKLLnL3 CkZU6IV37/qFq+COlcPyGRxkjW0ZP9bgTdYdPZqJi4Q+POOaxnxM1UJKODA1EE8Et80s UZLcHu9rljIQ7tEhihmRlmXIbE4VujbdUNXaqN4F0Iv1EPhp7Pf3JsnCUo7uQBSN8A4N +U9t3F7HnZ1PIcXFm39SEq8VuAOFsmqbeUxSsYyvL59D8PKjcwd+Ah0rptJGV/Xsk/n0 ocFwinhmFOqHoaLasJIO74EEjbuETa3q8sjEWo6qG/8axtauPHK/xjFpym8jHiwkxVVC //Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CDob7Bst; 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 be4si9813919edb.610.2020.06.08.18.10.44; Mon, 08 Jun 2020 18:11:06 -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; dkim=pass header.i=@kernel.org header.s=default header.b=CDob7Bst; 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 S1728388AbgFIBJD (ORCPT + 99 others); Mon, 8 Jun 2020 21:09:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:49910 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727031AbgFHXGh (ORCPT ); Mon, 8 Jun 2020 19:06:37 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1BE9F2088E; Mon, 8 Jun 2020 23:06:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591657597; bh=KtAe3ObSg25LYSidXIG8L8qyak2OFEVpw47b12Sn1UY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CDob7BstU3Fw6JHjJo6+nEU5zMwXbEQYLBfhk45mmmfmECguNkv9sqOq9C1Hgmj7R 3KzFFwyC6Inu8MDOSJDh3F9OScaIxc3aNamUo95UMDCK5Nm68Jb67hnH/YOQ4CLWQG u4gR4F8xrROFoJ7Fjkcb3iQPSc2C7QJqZKFD36Zw= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Veronika Kabatova , Daniel Borkmann , Andrii Nakryiko , Sasha Levin , linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org Subject: [PATCH AUTOSEL 5.7 023/274] selftests/bpf: Copy runqslower to OUTPUT directory Date: Mon, 8 Jun 2020 19:01:56 -0400 Message-Id: <20200608230607.3361041-23-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200608230607.3361041-1-sashal@kernel.org> References: <20200608230607.3361041-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Veronika Kabatova [ Upstream commit b26d1e2b60284dc9f66ffad9ccd5c5da1100bb4b ] $(OUTPUT)/runqslower makefile target doesn't actually create runqslower binary in the $(OUTPUT) directory. As lib.mk expects all TEST_GEN_PROGS_EXTENDED (which runqslower is a part of) to be present in the OUTPUT directory, this results in an error when running e.g. `make install`: rsync: link_stat "tools/testing/selftests/bpf/runqslower" failed: No such file or directory (2) Copy the binary into the OUTPUT directory after building it to fix the error. Fixes: 3a0d3092a4ed ("selftests/bpf: Build runqslower from selftests") Signed-off-by: Veronika Kabatova Signed-off-by: Daniel Borkmann Acked-by: Andrii Nakryiko Link: https://lore.kernel.org/bpf/20200428173742.2988395-1-vkabatov@redhat.com Signed-off-by: Sasha Levin --- tools/testing/selftests/bpf/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile index 7729892e0b04..4e654d41c7af 100644 --- a/tools/testing/selftests/bpf/Makefile +++ b/tools/testing/selftests/bpf/Makefile @@ -141,7 +141,8 @@ VMLINUX_BTF := $(abspath $(firstword $(wildcard $(VMLINUX_BTF_PATHS)))) $(OUTPUT)/runqslower: $(BPFOBJ) $(Q)$(MAKE) $(submake_extras) -C $(TOOLSDIR)/bpf/runqslower \ OUTPUT=$(SCRATCH_DIR)/ VMLINUX_BTF=$(VMLINUX_BTF) \ - BPFOBJ=$(BPFOBJ) BPF_INCLUDE=$(INCLUDE_DIR) + BPFOBJ=$(BPFOBJ) BPF_INCLUDE=$(INCLUDE_DIR) && \ + cp $(SCRATCH_DIR)/runqslower $@ $(TEST_GEN_PROGS) $(TEST_GEN_PROGS_EXTENDED): $(OUTPUT)/test_stub.o $(BPFOBJ) -- 2.25.1