Skip to content

bpf tools: Collect symbol table from SHT_SYMTAB section

Wang Nan lkml 1 version Applied

Status from this message: I have applied everything up to 13/39, provided some coments to the

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest39 patches 10 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/39bpf tools: Collect symbol table from SHT_SYMTAB sectiontools/lib/bpf/libbpf.c+10 -00 replies
2/39bpf tools: Collect eBPF programs from their own sectionstools/lib/bpf/libbpf.c+117 -04 replies
3/39bpf tools: Collect relocation sections from SHT_REL sectionstools/lib/bpf/libbpf.c+26 -00 replies
4/39bpf tools: Record map accessing instructions for each programtools/lib/bpf/libbpf.c tools/lib/bpf/libbpf.h+137 -00 replies
5/39bpf tools: Add bpf.c/h for common bpf operationstools/lib/bpf/Build tools/lib/bpf/bpf.c tools/lib/bpf/bpf.h+68 -10 replies
6/39bpf tools: Create eBPF maps defined in an object filetools/lib/bpf/libbpf.c tools/lib/bpf/libbpf.h+106 -02 replies
7/39bpf tools: Relocate eBPF programstools/lib/bpf/libbpf.c+52 -00 replies
8/39bpf tools: Introduce bpf_load_program() to bpf.ctools/lib/bpf/bpf.c tools/lib/bpf/bpf.h+41 -00 replies
9/39bpf tools: Load eBPF programs in object files into kerneltools/lib/bpf/libbpf.c+90 -00 replies
10/39bpf tools: Introduce accessors for struct bpf_programtools/lib/bpf/libbpf.c tools/lib/bpf/libbpf.h+96 -00 replies
11/39bpf tools: Link all bpf objects onto a listtools/lib/bpf/libbpf.c tools/lib/bpf/libbpf.h+39 -00 replies
12/39perf tools: Introduce llvm config optionstools/perf/util/Build tools/perf/util/config.c tools/perf/util/llvm-utils.c +1 more+86 -00 replies
12/39perf tools: Introduce llvm config optionstools/perf/util/Build tools/perf/util/config.c tools/perf/util/llvm-utils.c +1 more+86 -00 replies
13/39perf tools: Call clang to compile C source to object codetools/perf/util/llvm-utils.c tools/perf/util/llvm-utils.h+228 -00 replies
14/39perf tools: Auto detecting kernel build directorytools/perf/util/llvm-utils.c+55 -13 replies
15/39perf tools: Auto detecting kernel include optionstools/perf/util/llvm-utils.c+54 -50 replies
16/39perf tests: Add LLVM test for eBPF on-the-fly compilingtools/perf/tests/Build tools/perf/tests/builtin-test.c tools/perf/tests/llvm.c +1 more+91 -01 reply
16/39perf tests: Add LLVM test for eBPF on-the-fly compilingtools/perf/tests/Build tools/perf/tests/builtin-test.c tools/perf/tests/llvm.c +3 more+123 -00 replies
17/39perf tools: Make perf depend on libbpftools/build/Makefile.feature tools/perf/MANIFEST tools/perf/Makefile.perf +2 more+45 -60 replies
18/39perf record: Enable passing bpf object file to --eventtools/perf/util/Build tools/perf/util/bpf-loader.c tools/perf/util/bpf-loader.h +6 more+129 -10 replies
19/39perf record: Compile scriptlets if pass '.c' to --eventtools/perf/util/bpf-loader.c tools/perf/util/bpf-loader.h tools/perf/util/parse-events.c +3 more+37 -90 replies
20/39perf tools: Parse probe points of eBPF programs during preparationtools/perf/util/bpf-loader.c tools/perf/util/bpf-loader.h+126 -20 replies
21/39perf probe: Attach trace_probe_event with perf_probe_eventtools/perf/builtin-probe.c tools/perf/util/probe-event.c tools/perf/util/probe-event.h+38 -320 replies
22/39perf record: Probe at kprobe pointstools/perf/builtin-record.c tools/perf/util/bpf-loader.c tools/perf/util/bpf-loader.h+69 -10 replies
23/39perf record: Load all eBPF object into kerneltools/perf/builtin-record.c tools/perf/util/bpf-loader.c tools/perf/util/bpf-loader.h+33 -00 replies
24/39perf tools: Add bpf_fd field to evsel and config ittools/perf/builtin-record.c tools/perf/util/bpf-loader.c tools/perf/util/bpf-loader.h +4 more+105 -00 replies
25/39perf tools: Attach eBPF program to perf eventtools/perf/util/evsel.c+16 -00 replies
26/39perf tools: Suppress probing messages when probing by BPF loadingtools/perf/util/bpf-loader.c tools/perf/util/probe-event.c tools/perf/util/probe-event.h+23 -60 replies
27/39perf record: Add clang options for compiling BPF scriptstools/perf/builtin-record.c+7 -00 replies
28/39bpf tools: Load a program with different instances using preprocessortools/lib/bpf/libbpf.c tools/lib/bpf/libbpf.h+151 -91 reply
29/39perf tools: Fix probe-event.h includetools/perf/util/probe-event.h+1 -00 replies
30/39perf probe: Reset args and nargs for probe_trace_event when failuretools/perf/util/probe-finder.c+4 -00 replies
31/39perf tools: Move linux/filter.h to tools/includetools/include/linux/filter.h tools/perf/MANIFEST+238 -00 replies
32/39perf tools: Add BPF_PROLOGUE config options for further patchestools/perf/config/Makefile tools/perf/util/include/dwarf-regs.h+19 -00 replies
33/39perf tools: Introduce arch_get_reg_info() for x86tools/perf/arch/x86/Makefile tools/perf/arch/x86/util/Build tools/perf/arch/x86/util/dwarf-regs.c+78 -290 replies
34/39perf tools: Add prologue for BPF programs for fetching argumentstools/perf/util/Build tools/perf/util/bpf-prologue.c tools/perf/util/bpf-prologue.h+477 -00 replies
35/39perf tools: Generate prologue for BPF programstools/perf/util/bpf-loader.c+130 -20 replies
36/39perf tools: Use same BPF program if arguments are identicaltools/perf/util/bpf-loader.c+126 -70 replies
37/39perf record: Support custom vmlinux pathtools/perf/builtin-record.c+4 -00 replies
38/39perf probe: Init symbol as kprobe if any event is kprobetools/perf/util/probe-event.c+1 -10 replies
39/39perf tools: Support attach BPF program on uprobe eventstools/perf/util/bpf-loader.c+81 -70 replies

Reviews trailers per patch

10 of 41 patches have a Reviewed-by or Acked-by.

PatchAlexei Starovoitov
1/39A-b
2/39A-b
3/39A-b
4/39A-b
5/39A-b
6/39A-b
7/39A-b
8/39A-b
9/39
10/39A-b
11/39A-b
12/39
12/39
13/39
14/39
15/39
16/39
16/39
17/39
18/39
19/39
20/39
21/39
22/39
23/39
24/39
25/39
26/39
27/39
28/39
29/39
30/39
31/39
32/39
33/39
34/39
35/39
36/39
37/39
38/39
39/39

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread