Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1545109

Re: [PATCH perf/core REBASE 2/5] samples/bpf: Switch over to libbpf

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH perf/core REBASE 2/5] samples/bpf: Switch over to libbpf
Date 2016-12-20 14:50 +0100
Message-ID <sQsXM-6e4-29@gated-at.bofh.it> (permalink)
References (2 earlier) <sOGBP-7B0-3@gated-at.bofh.it> <sOJ6F-Ms-13@gated-at.bofh.it> <sOJgm-PQ-31@gated-at.bofh.it> <sOMnT-2Wc-23@gated-at.bofh.it> <sOPON-53T-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Em Thu, Dec 15, 2016 at 05:48:31PM -0800, Joe Stringer escreveu:
> On 15 December 2016 at 14:00, Joe Stringer <joe@ovn.org> wrote:
> > On 15 December 2016 at 10:34, Arnaldo Carvalho de Melo <acme@kernel.org> wrote:
> >> So, I'm stopping here so that I can push what I have to Ingo, then I'll get
> >> back to this, hopefully by then you beat me and I have just to retest 8-)

> > OK, thanks for the report. Looks like there was another difference
> > between the two libbpfs - one used total program size for its
> > load_program API; the actual kernel API uses instruction count. This
> > incremental should do the trick:

> > https://github.com/joestringer/linux/commit/6ff7726f20077bed66fb725f5189c13690154b6a
 
> The full branch with this change (fast-forward from your tmp branch)
> is available here:
> https://github.com/joestringer/linux/tree/submit/libbpf_samples_v5
 
> I tried running every selftest and BPF sample I could get my hands on;
> there's one or two that I couldn't run, but seemed more to do with my
> versions of TC/iproute and kernel config rather than libbpf changes.
> Let me know if you see any further trouble.

Finally getting back to this, now after I figured out how to get patches
out of github (wget commit + .patch) I applied this and at least the
samples/bpf/offwaketime seems to work as before, applying.

- Arnaldo

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH perf/core REBASE 0/5] Reuse libbpf from samples/bpf Joe Stringer <joe@ovn.org> - 2016-12-15 00:00 +0100
  [PATCH perf/core REBASE 2/5] samples/bpf: Switch over to libbpf Joe Stringer <joe@ovn.org> - 2016-12-15 00:00 +0100
    Re: [PATCH perf/core REBASE 2/5] samples/bpf: Switch over to libbpf Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-12-15 17:00 +0100
      Re: [PATCH perf/core REBASE 2/5] samples/bpf: Switch over to libbpf Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-12-15 19:40 +0100
        Re: [PATCH perf/core REBASE 2/5] samples/bpf: Switch over to libbpf Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-12-15 19:50 +0100
        Re: [PATCH perf/core REBASE 2/5] samples/bpf: Switch over to libbpf Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-12-15 19:50 +0100
          Re: [PATCH perf/core REBASE 2/5] samples/bpf: Switch over to libbpf Joe Stringer <joe@ovn.org> - 2016-12-15 23:10 +0100
            Re: [PATCH perf/core REBASE 2/5] samples/bpf: Switch over to libbpf Joe Stringer <joe@ovn.org> - 2016-12-16 02:50 +0100
              Re: [PATCH perf/core REBASE 2/5] samples/bpf: Switch over to libbpf Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-12-16 15:30 +0100
              Re: [PATCH perf/core REBASE 2/5] samples/bpf: Switch over to libbpf Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-12-16 16:50 +0100
              Re: [PATCH perf/core REBASE 2/5] samples/bpf: Switch over to libbpf Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-12-20 14:50 +0100
      Re: [PATCH perf/core REBASE 2/5] samples/bpf: Switch over to libbpf Joe Stringer <joe@ovn.org> - 2016-12-15 19:40 +0100
        Re: [PATCH perf/core REBASE 2/5] samples/bpf: Switch over to libbpf Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-12-15 20:10 +0100
  [PATCH perf/core REBASE 3/5] tools lib bpf: Add bpf_prog_{attach,detach} Joe Stringer <joe@ovn.org> - 2016-12-15 00:10 +0100
    Re: [PATCH perf/core REBASE 3/5] tools lib bpf: Add  bpf_prog_{attach,detach} Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-12-20 15:20 +0100
      Re: [PATCH perf/core REBASE 3/5] tools lib bpf: Add  bpf_prog_{attach,detach} Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-12-20 15:40 +0100
        Re: [PATCH perf/core REBASE 3/5] tools lib bpf: Add bpf_prog_{attach,detach} Joe Stringer <joe@ovn.org> - 2016-12-20 20:00 +0100
          Re: [PATCH perf/core REBASE 3/5] tools lib bpf: Add  bpf_prog_{attach,detach} Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-12-21 17:10 +0100
  [PATCH perf/core REBASE 4/5] samples/bpf: Remove perf_event_open() declaration Joe Stringer <joe@ovn.org> - 2016-12-15 00:10 +0100
  [PATCH perf/core REBASE 1/5] samples/bpf: Make samples more libbpf-centric Joe Stringer <joe@ovn.org> - 2016-12-15 00:10 +0100
    [tip:perf/urgent] samples/bpf: Make samples more libbpf-centric tip-bot for Joe Stringer <tipbot@zytor.com> - 2016-12-20 20:30 +0100
  [PATCH perf/core REBASE 5/5] samples/bpf: Move open_raw_sock to separate header Joe Stringer <joe@ovn.org> - 2016-12-15 00:10 +0100

csiph-web