Commit Graph

  • 39de671179 sync: latest libbpf changes from kernel Andrii Nakryiko 2019-06-11 09:56:11 -07:00
  • 49967c1f5a bpf: add a new API libbpf_num_possible_cpus() Hechao Li 2019-06-10 17:56:50 -07:00
  • 4f260bccf5 libbpf: remove qidconf and better support external bpf programs. Jonathan Lemon 2019-06-06 13:59:43 -07:00
  • 80aeaa33e7 bpf/tools: sync bpf.h Jonathan Lemon 2019-06-06 13:59:41 -07:00
  • fcbc2604c8 libbpf: reduce unnecessary line wrapping Andrii Nakryiko 2019-05-29 10:36:11 -07:00
  • 896c231d8c libbpf: typo and formatting fixes Andrii Nakryiko 2019-05-29 10:36:10 -07:00
  • e13049a667 libbpf: simplify two pieces of logic Andrii Nakryiko 2019-05-29 10:36:09 -07:00
  • 8e01ffc179 libbpf: use negative fd to specify missing BTF Andrii Nakryiko 2019-05-29 10:36:08 -07:00
  • c7b8b2e3a5 libbpf: fix error code returned on corrupted ELF Andrii Nakryiko 2019-05-29 10:36:07 -07:00
  • e977af8516 libbpf: check map name retrieved from ELF Andrii Nakryiko 2019-05-29 10:36:06 -07:00
  • dd55058989 libbpf: simplify endianness check Andrii Nakryiko 2019-05-29 10:36:05 -07:00
  • 64852b2fb9 libbpf: preserve errno before calling into user callback Andrii Nakryiko 2019-05-29 10:36:04 -07:00
  • 1aedc35d5d libbpf: fix detection of corrupted BPF instructions section Andrii Nakryiko 2019-05-29 10:36:03 -07:00
  • d5013de6a5 libbpf: prevent overwriting of log_level in bpf_object__load_progs() Quentin Monnet 2019-05-29 15:26:41 +01:00
  • 0e37e0d03a build: add hashmap and btf_dump to OBJS list Andrii Nakryiko 2019-05-30 15:07:51 -07:00
  • 75db50f4a0 sync: latest libbpf changes from kernel Andrii Nakryiko 2019-05-29 10:01:08 -07:00
  • d714245dd9 libbpf: add bpf_object__load_xattr() API function to pass log_level Quentin Monnet 2019-05-24 11:36:47 +01:00
  • 1d0ddcdbda libbpf: fix warning that PTR_ERR_OR_ZERO can be used Hariprasad Kelam 2019-05-25 14:32:57 +05:30
  • edf3123942 libbpf: add "prog_flags" to bpf_program/bpf_prog_load_attr/bpf_load_program_attr Jiong Wang 2019-05-24 23:25:19 +01:00
  • 1f8e2f7208 tools: bpf: sync uapi header bpf.h Jiong Wang 2019-05-24 23:25:17 +01:00
  • ca76b123f1 tools/bpf: sync bpf uapi header bpf.h to tools directory Yonghong Song 2019-05-23 14:47:46 -07:00
  • 4fe8a54efe libbpf: add btf_dump API for BTF-to-C conversion Andrii Nakryiko 2019-05-24 11:59:03 -07:00
  • 5f3f74892a libbpf: switch btf_dedup() to hashmap for dedup table Andrii Nakryiko 2019-05-24 11:59:02 -07:00
  • 553db8ba73 libbpf: add resizable non-thread safe internal hashmap Andrii Nakryiko 2019-05-24 11:59:00 -07:00
  • 939da1eb3f libbpf: add btf__parse_elf API to load .BTF and .BTF.ext Andrii Nakryiko 2019-05-24 11:58:57 -07:00
  • d557b32f71 libbpf: ensure libbpf.h is included along libbpf_internal.h Andrii Nakryiko 2019-05-24 11:58:56 -07:00
  • e60460f4e5 linux/err.h: add PTR_ERR_OR_ZERO Andrii Nakryiko 2019-05-29 10:05:50 -07:00
  • 59a641543e sync: latest libbpf changes from kernel v0.0.3 Andrii Nakryiko 2019-05-23 13:45:07 -07:00
  • 51dc322283 libbpf: move logging helpers into libbpf_internal.h Andrii Nakryiko 2019-05-15 20:39:27 -07:00
  • 256cf5fa87 libbpf: don't fail when feature probing fails Stanislav Fomichev 2019-05-14 20:38:49 -07:00
  • e10521b1a8 tools/bpf: Sync kernel btf.h header Gary Lin 2019-05-14 11:15:50 +08:00
  • 672ae75b66 AF_XDP: Fix install_headers to also install AF_XDP ones Eelco Chaudron 2019-05-21 16:09:46 +02:00
  • 5188b0ca5c sync: latest libbpf changes from kernel Andrii Nakryiko 2019-05-15 21:00:15 -07:00
  • c1cdd86d6b libbpf: detect supported kernel BTF features and sanitize BTF Andrii Nakryiko 2019-05-10 14:13:15 -07:00
  • 785c526594 tools: bpf: synchronise BPF UAPI header with tools Quentin Monnet 2019-05-10 15:51:25 +01:00
  • c1ad4efe09 libbpf: remove unnecessary cast-to-void Björn Töpel 2019-05-06 11:24:43 +02:00
  • 65cfbbcc87 tools/bpf: fix perf build error with uClibc (seen on ARC) Vineet Gupta 2019-05-02 08:56:50 -07:00
  • 9ffd53d73e libbpf: proper XSKMAP cleanup Björn Töpel 2019-04-30 14:45:36 +02:00
  • 97f453307d libbpf: fix invalid munmap call Björn Töpel 2019-04-30 14:45:35 +02:00
  • f4bf5c3edd bpf: Support BPF_MAP_TYPE_SK_STORAGE in bpf map probing Martin KaFai Lau 2019-04-26 16:39:44 -07:00
  • e87112ab24 bpf: Sync bpf.h to tools Martin KaFai Lau 2019-04-26 16:39:42 -07:00
  • 540d704584 tools: sync bpf.h Matt Mullins 2019-04-26 11:49:50 -07:00
  • c438cecc54 libbpf: fix samples/bpf build failure due to undefined UINT32_MAX Daniel T. Lee 2019-04-24 05:24:56 +09:00
  • 72ef206260 bpf, libbpf: fix segfault in bpf_object__init_maps' pr_debug statement Daniel Borkmann 2019-04-24 00:45:57 +02:00
  • 29e229ef14 bpf, libbpf: handle old kernels more graceful wrt global data sections Daniel Borkmann 2019-04-24 00:45:56 +02:00
  • 0167179e6f libbpf: fix BPF_LOG_BUF_SIZE off-by-one error McCabe, Robert J 2019-04-19 18:37:20 -05:00
  • 7285545e22 libbpf: remove compile time warning from libbpf_util.h Magnus Karlsson 2019-04-18 09:21:10 +02:00
  • 3a41dddce2 Fix up README's markdown formatting Andrii Nakryiko 2019-05-15 20:55:16 -07:00
  • 58d39f2af3 filter.h: add missing BPF raw instruction macros Andrii Nakryiko 2019-05-15 21:09:33 -07:00
  • 90df021013 README: rename to README.md Nirmoy Das 2019-05-14 15:30:21 +02:00
  • 816253000e Travis CI: add gcc-8, gcc-8 ASan+UBSan tests hex 2019-04-29 14:06:46 -07:00
  • 7ed7e4f0ad Embed Travis CI status image into libbpf README hex 2019-04-19 12:13:25 -07:00
  • 4de9ffcffe Travis CI folow up Fix ENV_VARS passing to docker so CC is set to clang. Fix asan compiler option. Specify all compiler options in CFLAGS. hex 2019-04-19 11:36:09 -07:00
  • 910c475f09 sync: latest libbpf changes from kernel Andrii Nakryiko 2019-04-18 15:21:15 -07:00
  • 59c979cadc libbpf: optimize barrier for XDP socket rings Magnus Karlsson 2019-04-16 14:58:12 +02:00
  • b0404eeba8 libbpf: remove dependency on barrier.h in xsk.h Magnus Karlsson 2019-04-16 14:58:11 +02:00
  • b0abd1bc24 libbpf: remove likely/unlikely in xsk.h Magnus Karlsson 2019-04-16 14:58:10 +02:00
  • 01d7b7ebbf libbpf: fix XDP socket ring buffer memory ordering Magnus Karlsson 2019-04-16 14:58:09 +02:00
  • 6afcd645c8 libbpf: fix printf formatter for ptrdiff_t argument Andrii Nakryiko 2019-04-16 11:47:17 -07:00
  • 7ee515fed9 bpf: fix whitespace for ENCAP_L2 defines in bpf.h Alan Maguire 2019-04-12 12:27:34 +01:00
  • f0e76d6e9e btf: add support for VAR and DATASEC in btf_dedup() Andrii Nakryiko 2019-04-15 16:48:07 -07:00
  • 6be72ba83c bpf: Sync bpf.h to tools/ Andrey Ignatov 2019-03-18 18:07:01 -07:00
  • 6cf6bed724 libbpf: Support sysctl hook Andrey Ignatov 2019-03-08 09:15:26 -08:00
  • 805f4593af bpf: Sync bpf.h to tools/ Andrey Ignatov 2019-03-07 19:09:29 -08:00
  • b18e6122b6 bpf: sync bpf.h to tools/ for BPF_F_ADJ_ROOM_ENCAP_L2 Alan Maguire 2019-04-09 15:06:42 +01:00
  • 61419aae26 sync-kernel.sh: detect synced commits, interactively resolve conflicts Andrii Nakryiko 2019-04-18 15:24:21 -07:00
  • 2d1959ff60 Introduce Travis CI tests hex 2019-04-17 11:02:45 -07:00
  • 65b4e9359a add meson.build for meson build system hex 2019-04-09 14:14:52 -07:00
  • 8bbb21c227 libbpf: fix extraversion in makefile to that of upstream Daniel Borkmann 2019-04-12 08:55:04 +02:00
  • dd3fc8bde1 sync: latest tooling changes from kernel Daniel Borkmann 2019-04-12 00:42:07 +02:00
  • 5844f6e4dd sync: latest libbpf changes from kernel Yonghong Song 2019-04-11 08:53:14 -07:00
  • e2871d1c75 libbpf: add support for ctx_{size, }_{in, out} in BPF_PROG_TEST_RUN Stanislav Fomichev 2019-04-09 11:49:10 -07:00
  • ac2254d0ea libbpf: Fix build with gcc-8 Andrey Ignatov 2019-04-10 18:36:43 -07:00
  • f49907472f sync: latest libbpf changes from kernel Yonghong Song 2019-04-10 14:15:54 -07:00
  • a74350fc04 libbpf: fix crash in XDP socket part with new larger BPF_LOG_BUF_SIZE Magnus Karlsson 2019-04-10 08:54:16 +02:00
  • 1770ac49cf bpf, bpftool: fix a few ubsan warnings Yonghong Song 2019-04-09 17:37:41 -07:00
  • 0c4ac0d576 bpf, libbpf: add support for BTF Var and DataSec Daniel Borkmann 2019-04-09 23:20:14 +02:00
  • d99a28343f bpf, libbpf: support global data/bss/rodata sections Daniel Borkmann 2019-04-09 23:20:13 +02:00
  • a3d236332e bpf, libbpf: refactor relocation handling Joe Stringer 2019-04-09 23:20:12 +02:00
  • bbd32bd59d bpf: sync {btf, bpf}.h uapi header from tools infrastructure Daniel Borkmann 2019-04-09 23:20:11 +02:00
  • a6ce1c6423 libbpf: Ignore -Wformat-nonliteral warning Andrey Ignatov 2019-04-06 22:37:34 -07:00
  • 6d7acdae6d libbpf: teach libbpf about log_level bit 2 Alexei Starovoitov 2019-04-01 21:27:47 -07:00
  • 7c27c63061 Merge pull request #25 from rdna/version-updates 4ast 2019-04-02 19:16:21 -07:00
  • 23a177a0ce Add SONAME to DSO Andrey Ignatov 2019-04-02 18:41:41 -07:00
  • db1adc8658 Add symlinks for DSO Andrey Ignatov 2019-04-02 18:07:41 -07:00
  • c3b329c387 Add LIBBPF_VERSION Andrey Ignatov 2019-04-02 16:37:26 -07:00
  • 8c091e4ffd Enable version script for DSO building Andrey Ignatov 2019-04-02 16:33:00 -07:00
  • 2dd2a2d701 Fix libbpf.pc target Andrey Ignatov 2019-03-29 14:33:20 -07:00
  • 46936194ed Merge pull request #23 from bluca/pkgconfig-elf 4ast 2019-03-29 11:05:02 -07:00
  • 438584bfc2 Makefile: use pkg-config to get libelf flags Luca Boccassi 2019-03-28 19:31:46 +00:00
  • 3e403451c7 Build shared lib by default, add options to turn it off Luca Boccassi 2019-03-29 16:29:49 +00:00
  • e31e1a5a3f Makefile: pass CPPFLAGS to the compiler Luca Boccassi 2019-03-28 19:33:17 +00:00
  • 93bc1d03f4 makefile: sync generate pkg-config file for libbpf Luca Boccassi 2019-03-28 19:07:41 +00:00
  • 27a5f60a8b sync: latest libbpf changes from kernel Andrii Nakryiko 2019-03-28 16:30:37 -07:00
  • 9d60bfdfa6 tools/bpf: generate pkg-config file for libbpf Luca Boccassi 2019-03-28 11:33:53 +00:00
  • 413703c8cb tools lib bpf: Introduce bpf_program__get_prog_info_linear() Song Liu 2019-03-11 22:30:38 -07:00
  • 556285a37a perf tools: Fix errors under optimization level '-Og' Changbin Du 2019-03-16 16:05:43 +08:00
  • 7183d5132f tools lib bpf: Fix the build by adding a missing stdarg.h include Arnaldo Carvalho de Melo 2019-03-11 17:07:52 -03:00
  • 2b9a24d7ce bpf: Sync bpf.h to tools Willem de Bruijn 2019-03-22 14:32:57 -04:00
  • 0c639aae80 tools: update include/uapi/linux/bpf.h Lorenz Bauer 2019-03-22 09:54:03 +08:00