Skip to content

samples/bpf: Improve user experience

Jesper Dangaard Brouer linux-kbuild netdev 4 versions – In review

Get series with b4
b4 am 20160428121949.16807.84828.stgit@firesoul

Versions newest first · linked by author and title

  1. v4 Latest5 patches 6 repliesIn review
  2. v35 patches 6 repliesSuperseded
  3. v25 patches 8 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches7 repliesSuperseded

Changes in v4 from the cover letter

- Address Naveen's nitpicks
- Handle/fail if extra args are passed in LLC or CLANG (David Laight)

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5samples/bpf: add back functionality to redefine LLC commandsamples/bpf/Makefile+5 -13 replies
2/5samples/bpf: Makefile verify LLVM compiler avail and bpf target is supportedsamples/bpf/Makefile+18 -00 replies
3/5samples/bpf: add a README file to get users startedsamples/bpf/README.rst+64 -02 replies
4/5samples/bpf: allow make to be run from samples/bpf/ directorysamples/bpf/Makefile samples/bpf/README.rst+11 -00 replies
5/5samples/bpf: like LLC also verify and allow redefining CLANG commandsamples/bpf/Makefile samples/bpf/README.rst+17 -140 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAlexei StarovoitovNaveen N. Rao
1/5A-b A-b
2/5A-b
3/5A-b A-b
4/5A-b
5/5A-b

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

Read the v4 thread

Cover letter [net-next PATCH V4 0/5] samples/bpf: Improve user experience

It is a steep learning curve getting started with using the eBPF examples in samples/bpf/. There are several dependencies, and specific versions of these dependencies. Invoking make in the correct manor is also slightly obscure.

This patchset cleanup, document and hopefully improves the first time user experience with the eBPF samples directory by auto-detecting certain scenarios.

V4:
- Address Naveen's nitpicks
- Handle/fail if extra args are passed in LLC or CLANG (David Laight)

V3:
- Add Alexei's ACKs
- Remove README paragraph about LLVM experimental BPF target as it only existed between LLVM version 3.6 to 3.7.

V2:
- Adjusted recommend minimum versions to 3.7.1
- Included clang build instructions
- New patch adding CLANG variable and validation of command

---

Jesper Dangaard Brouer (5):
samples/bpf: add back functionality to redefine LLC command samples/bpf: Makefile verify LLVM compiler avail and bpf target is supported samples/bpf: add a README file to get users started samples/bpf: allow make to be run from samples/bpf/ directory samples/bpf: like LLC also verify and allow redefining CLANG command

 samples/bpf/Makefile   |   37 +++++++++++++++++++++++++--
 samples/bpf/README.rst |   67 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+), 2 deletions(-)
 create mode 100644 samples/bpf/README.rst

--