From patchwork Tue Apr 11 12:14:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Alemayhu X-Patchwork-Id: 749432 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3w2QwC0706z9s8G for ; Tue, 11 Apr 2017 22:14:35 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=alemayhu-com.20150623.gappssmtp.com header.i=@alemayhu-com.20150623.gappssmtp.com header.b="IiZRnMAE"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752722AbdDKMOb (ORCPT ); Tue, 11 Apr 2017 08:14:31 -0400 Received: from mail-lf0-f47.google.com ([209.85.215.47]:34302 "EHLO mail-lf0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751790AbdDKMOa (ORCPT ); Tue, 11 Apr 2017 08:14:30 -0400 Received: by mail-lf0-f47.google.com with SMTP id z15so85815311lfd.1 for ; Tue, 11 Apr 2017 05:14:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alemayhu-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=SAtzhJKXZFMz8jGVDWonDn68FPchbukTeSEsmo6v8XQ=; b=IiZRnMAE/otVHLfozbxCsqAa8cZjr08z7j7S44NrCknm5AQBQH1TlHmitBv2OjDJFU FfnUHmUqiTSnDOwhPT1ml8AnC6VHSKrjdgclg8IpWB75LQWChffm7gCIMw+311yKWpVc ClFZs+dPWsq5WVrVQLszZ8U6z93RQqFldIgdjL77Cy18tAu67ZUdE7ZSI3m9TUzyQ+WJ LlFP7E11rRp/5KLsaVD2Z9ThMEPZn/z9AgGe3NTD/rR3XltMvWpgQ3kwghTk2cz2E/9V e1CBLpjm7sZ9y/zKz6n+MdphpSUkpnuS+/VAz8+bzH9f1wWsFLFiYzTmfnpfBM2PEN3Y ShCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=SAtzhJKXZFMz8jGVDWonDn68FPchbukTeSEsmo6v8XQ=; b=XKeoAIWay07hvXM8KQ7JlXNGjMj9AoB6cuprsYj9CcxXSt1BMHN+Qz4bRl3dlx4tFe sRUcG68jnAHJSlJdaUc7cVWdfG11nPkQgYzDfaWtmeXyXpj9czcgZ43c3G3EZookroak eC/cpzNAFoYSf2szgPPxOkC85hFdw7MpFHW8X5bmIeiykqXtVE4jEo3LUnahB4oG4wzp dcTvVUuH38lUvT8YuazCpdE6CmQBdNVaYxLE1JKWrD8tmXxtEwbK4LarP+dmDLb57K18 ytwTmO71GJvzOz7SVH02Wq3H1nulvtpECgl6wqnv3MtRNWDV0gFLWESfUEae4IZFFqRz 9Spg== X-Gm-Message-State: AFeK/H0P+CGxxZUHv7fzODU5rPlW2BP6NE0M1MnlCqOXB0cRjWRMJ4aRHx6WtyJFEnvoDw== X-Received: by 10.46.32.4 with SMTP id g4mr17833976ljg.18.1491912868600; Tue, 11 Apr 2017 05:14:28 -0700 (PDT) Received: from localhost ([2a02:fe0:c020:790::6]) by smtp.gmail.com with ESMTPSA id c76sm3455445ljd.44.2017.04.11.05.14.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 11 Apr 2017 05:14:27 -0700 (PDT) Date: Tue, 11 Apr 2017 14:14:27 +0200 From: Alexander Alemayhu To: Daniel Borkmann Cc: netdev@vger.kernel.org, ast@fb.com Subject: Re: [PATCH net-next] bpf: add test_progs to .gitignore Message-ID: <20170411121427.GB5207@gmail.com> References: <20170411113538.31423-1-alexander@alemayhu.com> <58ECC2B6.1020104@iogearbox.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <58ECC2B6.1020104@iogearbox.net> User-Agent: Mutt/1.8.0 (2017-02-23) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, Apr 11, 2017 at 01:49:10PM +0200, Daniel Borkmann wrote: > > Good point, we should also add '*.o' in that case for the > TEST_GEN_FILES specified objs that clang generates. Think that is covered by other files but added. Would it be okay to ignore all the generated files, like the below? commit 1036c0af4dc381c2571947f197c9d30c2c9f4510 Author: Alexander Alemayhu Date: Tue Apr 11 13:31:32 2017 +0200 bpf: ignore generated files o add test_progs to tools/testing/selftests/bpf/.gitignore and the other generated files. o new ignore file in samples/bpf Signed-off-by: Alexander Alemayhu Thanks. diff --git a/samples/bpf/.gitignore b/samples/bpf/.gitignore new file mode 100644 index 000000000000..6537659507f1 --- /dev/null +++ b/samples/bpf/.gitignore @@ -0,0 +1,35 @@ +fds_example +lathist +lwt_len_hist +map_perf_test +offwaketime +per_socket_stats_example +sampleip +sock_example +sockex1 +sockex2 +sockex3 +spintest +tc_l2_redirect +test_cgrp2_array_pin +test_cgrp2_attach +test_cgrp2_attach2 +test_cgrp2_sock +test_cgrp2_sock2 +test_current_task_under_cgroup +test_lru_dist +test_map_in_map +test_overhead +test_probe_write_user +trace_event +trace_output +tracex1 +tracex2 +tracex3 +tracex4 +tracex5 +tracex6 +xdp1 +xdp2 +xdp_tx_iptunnel +*.o diff --git a/tools/testing/selftests/bpf/.gitignore b/tools/testing/selftests/bpf/.gitignore index 541d9d7fad5a..78c8fb7077e0 100644 --- a/tools/testing/selftests/bpf/.gitignore +++ b/tools/testing/selftests/bpf/.gitignore @@ -3,3 +3,8 @@ test_maps test_lru_map test_lpm_map test_tag +test_progs +FEATURE-DUMP.libbpf +feature/ +fixdep +*.o