libbpf: add binary to gitignore [Linux 5.1]

libbpf: add binary to gitignore [Linux 5.1]

This Linux kernel change "libbpf: add binary to gitignore" is included in the Linux 5.1 release. This change is authored by Matteo Croce <mcroce [at] redhat.com> on Sat Apr 13 03:37:32 2019 +0200. The commit for this change in Linux stable tree is 3939137 (patch).

libbpf: add binary to gitignore

Some binaries are generated when building libbpf from tools/lib/bpf/,
namely libbpf.so.0.0.2 and libbpf.so.0.
Add them to the local .gitignore.

Signed-off-by: Matteo Croce <[email protected]>
Reviewed-by: Jakub Kicinski <jakub.kicinsk[email protected]>
Acked-by: Song Liu <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>

There is one line of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 tools/lib/bpf/.gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/lib/bpf/.gitignore b/tools/lib/bpf/.gitignore
index 4db7475..fecb78a 100644
--- a/tools/lib/bpf/.gitignore
+++ b/tools/lib/bpf/.gitignore
@@ -1,3 +1,4 @@
 libbpf_version.h
 FEATURE-DUMP.libbpf
 test_libbpf
+libbpf.so.*

Leave a Reply

Your email address will not be published. Required fields are marked *