2018-07-25 06:38:04

by Taeung Song

[permalink] [raw]
Subject: [PATCH v2 bpf-next] tools/bpftool: ignore build products

For untracked things of tools/bpf, add this.

Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: Taeung Song <[email protected]>
---
tools/bpf/.gitignore | 5 +++++
tools/bpf/bpftool/.gitignore | 2 ++
2 files changed, 7 insertions(+)
create mode 100644 tools/bpf/.gitignore

diff --git a/tools/bpf/.gitignore b/tools/bpf/.gitignore
new file mode 100644
index 000000000000..dfe2bd5a4b95
--- /dev/null
+++ b/tools/bpf/.gitignore
@@ -0,0 +1,5 @@
+FEATURE-DUMP.bpf
+bpf_asm
+bpf_dbg
+bpf_exp.yacc.*
+bpf_jit_disasm
diff --git a/tools/bpf/bpftool/.gitignore b/tools/bpf/bpftool/.gitignore
index d7e678c2d396..67167e44b726 100644
--- a/tools/bpf/bpftool/.gitignore
+++ b/tools/bpf/bpftool/.gitignore
@@ -1,3 +1,5 @@
*.d
bpftool
+bpftool*.8
+bpf-helpers.*
FEATURE-DUMP.bpftool
--
2.17.1



2018-07-27 01:49:04

by Daniel Borkmann

[permalink] [raw]
Subject: Re: [PATCH v2 bpf-next] tools/bpftool: ignore build products

On 07/25/2018 08:36 AM, Taeung Song wrote:
> For untracked things of tools/bpf, add this.
>
> Reviewed-by: Jakub Kicinski <[email protected]>
> Signed-off-by: Taeung Song <[email protected]>

Applied to bpf-next, thanks Taeung!