summaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
AgeCommit message (Expand)AuthorLines
2016-07-26tools lib bpf: Use official ELF e_machine valueWang Nan-1/+6
2016-07-13tools lib bpf: Report error when kernel doesn't support program typeWang Nan-7/+20
2016-07-13tools lib bpf: New API to adjust type of a BPF programWang Nan-7/+46
2016-07-04tools lib bpf: Add license headerWang Nan-0/+13
2016-06-29tools lib bpf: Fix spelling mistake: "missmatch" -> "mismatch"Colin Ian King-1/+1
2016-06-06tools lib bpf: Rename set_private() to set_priv()Arnaldo Carvalho de Melo-5/+4
2016-06-06tools lib bpf: Make bpf_program__get_private() use IS_ERR()Arnaldo Carvalho de Melo-3/+2
2016-06-06tools lib bpf: Remove _get_ from non-refcount method namesArnaldo Carvalho de Melo-11/+5
2016-06-06tools lib bpf: Rename bpf_map__get_fd() to bpf_map__fd()Arnaldo Carvalho de Melo-5/+2
2016-06-06tools lib bpf: Use IS_ERR() reporting macros with bpf_map__get_def()Arnaldo Carvalho de Melo-6/+2
2016-06-06tools lib bpf: Rename bpf_map__get_name() to bpf_map__name()Arnaldo Carvalho de Melo-4/+2
2016-06-06tools lib bpf: Use IS_ERR() reporting macros with bpf_map__get_private()Arnaldo Carvalho de Melo-7/+2
2016-01-26perf bpf: Check relocation target sectionWang Nan-12/+22
2015-12-11tools lib bpf: Fetch map names from correct strtabWang Nan-2/+9
2015-12-11tools lib bpf: Check return value of strdup when reading map namesWang Nan-4/+9
2015-11-27tools lib bpf: Extract and collect map names from BPF object fileWang Nan-3/+62
2015-11-27tools lib bpf: Collect map definition in bpf_objectWang Nan-60/+127
2015-11-18bpf tools: Load a program with different instances using preprocessorWang Nan-9/+137
2015-11-06bpf tools: Add new API bpf_object__get_kversion()Wang Nan-0/+8
2015-11-06bpf tools: Improve libbpf error reportingWang Nan-49/+110
2015-11-03tools lib bpf: Fix compiler warning on CentOS 6Namhyung Kim-2/+2
2015-08-31bpf tools: New API to get name from a BPF objectWang Nan-3/+22
2015-08-07bpf tools: Link all bpf objects onto a listWang Nan-0/+32
2015-08-07bpf tools: Introduce accessors for struct bpf_programWang Nan-0/+72
2015-08-07bpf tools: Load eBPF programs in object files into kernelWang Nan-0/+90
2015-08-07bpf tools: Relocate eBPF programsWang Nan-0/+52
2015-08-07bpf tools: Create eBPF maps defined in an object fileWang Nan-0/+102
2015-08-07bpf tools: Record map accessing instructions for each programWang Nan-0/+124
2015-08-07bpf tools: Collect relocation sections from SHT_REL sectionsWang Nan-0/+26
2015-08-07bpf tools: Collect eBPF programs from their own sectionsWang Nan-0/+114
2015-08-07bpf tools: Collect symbol table from SHT_SYMTAB sectionWang Nan-0/+10
2015-08-07bpf tools: Collect map definitions from 'maps' sectionWang Nan-0/+29
2015-08-07bpf tools: Collect version and license from ELF sectionsWang Nan-0/+53
2015-08-07bpf tools: Iterate over ELF sections to collect informationWang Nan-0/+53
2015-08-07bpf tools: Check endianness and make libbpf fail earlyWang Nan-0/+30
2015-08-07bpf tools: Read eBPF object from bufferWang Nan-12/+50
2015-08-07bpf tools: Open eBPF object file and do basic validationWang Nan-0/+158
2015-08-07bpf tools: Allow caller to set printing functionWang Nan-0/+40
2015-08-07bpf tools: Introduce 'bpf' library and add bpf feature checkWang Nan-0/+14