summaryrefslogtreecommitdiff
path: root/tools/lib/bpf
AgeCommit message (Expand)AuthorFilesLines
2016-07-26tools lib bpf: Use official ELF e_machine valueWang Nan1-1/+6
2016-07-13tools lib bpf: Report error when kernel doesn't support program typeWang Nan2-7/+21
2016-07-13tools lib bpf: New API to adjust type of a BPF programWang Nan2-7/+55
2016-07-12tools lib bpf: Copy bpf.h and bpf_common.h from the kernelArnaldo Carvalho de Melo1-1/+7
2016-07-04tools lib bpf: Add license headerWang Nan4-0/+52
2016-06-29tools lib bpf: Fix spelling mistake: "missmatch" -> "mismatch"Colin Ian King2-2/+2
2016-06-06tools lib bpf: Rename set_private() to set_priv()Arnaldo Carvalho de Melo2-9/+8
2016-06-06tools lib bpf: Make bpf_program__get_private() use IS_ERR()Arnaldo Carvalho de Melo2-5/+3
2016-06-06tools lib bpf: Remove _get_ from non-refcount method namesArnaldo Carvalho de Melo2-14/+8
2016-06-06tools lib bpf: Rename bpf_map__get_fd() to bpf_map__fd()Arnaldo Carvalho de Melo2-6/+3
2016-06-06tools lib bpf: Use IS_ERR() reporting macros with bpf_map__get_def()Arnaldo Carvalho de Melo2-7/+3
2016-06-06tools lib bpf: Rename bpf_map__get_name() to bpf_map__name()Arnaldo Carvalho de Melo2-5/+3
2016-06-06tools lib bpf: Use IS_ERR() reporting macros with bpf_map__get_private()Arnaldo Carvalho de Melo2-8/+3
2016-01-26perf bpf: Check relocation target sectionWang Nan1-12/+22
2016-01-11perf bpf: Fix build breakage due to libbpfNaveen N. Rao1-8/+8
2016-01-11perf tools: Fix PowerPC native buildingWang Nan1-2/+2
2016-01-11tools bpf: Add *.cmd files clean upJiri Olsa1-1/+1
2016-01-06perf build: Use FEATURE-DUMP in bpf subprojectJiri Olsa1-0/+4
2015-12-11tools lib bpf: Fetch map names from correct strtabWang Nan1-2/+9
2015-12-11tools lib bpf: Check return value of strdup when reading map namesWang Nan1-4/+9
2015-11-27tools lib bpf: Extract and collect map names from BPF object fileWang Nan2-3/+65
2015-11-27tools lib bpf: Collect map definition in bpf_objectWang Nan2-60/+148
2015-11-26bpf tools: Add helper function for updating bpf maps elementsHe Kuang2-0/+16
2015-11-25tools lib bpf: Don't do a feature check when cleaningWang Nan1-0/+10
2015-11-18bpf tools: Load a program with different instances using preprocessorWang Nan2-9/+201
2015-11-06bpf tools: Add new API bpf_object__get_kversion()Wang Nan2-0/+9
2015-11-06bpf tools: Improve libbpf error reportingWang Nan2-49/+130
2015-11-05tools lib bpf: Change FEATURE-DUMP to FEATURE-DUMP.libbpfYunlong Song2-2/+2
2015-11-03tools lib bpf: Fix compiler warning on CentOS 6Namhyung Kim2-3/+3
2015-09-28tools build: Build fixdep helper from perf and basic libsJiri Olsa1-1/+3
2015-09-28tools build: Add Makefile.includeJiri Olsa1-1/+1
2015-09-22tools lib bpf: Use FEATURE_USER to allow building in the same dir as perfArnaldo Carvalho de Melo1-0/+1
2015-09-22tools lib bpf: Fix up FEATURE_{TESTS,DISPLAY} usageArnaldo Carvalho de Melo1-2/+2
2015-08-31bpf tools: New API to get name from a BPF objectWang Nan2-4/+25
2015-08-07bpf tools: Link all bpf objects onto a listWang Nan2-0/+39
2015-08-07bpf tools: Introduce accessors for struct bpf_programWang Nan2-0/+96
2015-08-07bpf tools: Load eBPF programs in object files into kernelWang Nan1-0/+90
2015-08-07bpf tools: Introduce bpf_load_program() to bpf.cWang Nan2-0/+41
2015-08-07bpf tools: Relocate eBPF programsWang Nan1-0/+52
2015-08-07bpf tools: Create eBPF maps defined in an object fileWang Nan2-0/+106
2015-08-07bpf tools: Add bpf.c/h for common bpf operationsWang Nan3-1/+68
2015-08-07bpf tools: Record map accessing instructions for each programWang Nan2-0/+137
2015-08-07bpf tools: Collect relocation sections from SHT_REL sectionsWang Nan1-0/+26
2015-08-07bpf tools: Collect eBPF programs from their own sectionsWang Nan1-0/+114
2015-08-07bpf tools: Collect symbol table from SHT_SYMTAB sectionWang Nan1-0/+10
2015-08-07bpf tools: Collect map definitions from 'maps' sectionWang Nan1-0/+29
2015-08-07bpf tools: Collect version and license from ELF sectionsWang Nan1-0/+53
2015-08-07bpf tools: Iterate over ELF sections to collect informationWang Nan1-0/+53
2015-08-07bpf tools: Check endianness and make libbpf fail earlyWang Nan1-0/+30
2015-08-07bpf tools: Read eBPF object from bufferWang Nan2-12/+52