lkml.org 
[lkml]   [2019]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 bpf-next 2/4] libbpf: Add helpers to extract per f fd from bpf link
    On Mon, Aug 19, 2019, at 10:45 AM, Andrii Nakryiko wrote:
    > On Fri, Aug 16, 2019 at 3:32 PM Daniel Xu <dxu@dxuuu.xyz> wrote:
    > >
    > > It is sometimes necessary to perform ioctl's on the underlying perf fd.
    > > There is not currently a way to extract the fd given a bpf_link, so add a
    > > a pair of casting and getting helpers.
    > >
    > > The casting and getting helpers are nice because they let us define
    > > broad categories of links that makes it clear to users what they can
    > > expect to extract from what type of link.
    > >
    > > Acked-by: Song Liu <songliubraving@fb.com>
    > > Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
    > > ---
    >
    > This looks great, thanks a lot!
    >
    > I think you might have a conflict with dadb81d0afe7 ("libbpf: make
    > libbpf.map source of truth for libbpf version") in libbpf.map, so you
    > might need to pull, rebase and re-post rebased version. But in any
    > case:
    >

    The patchset is already rebased on top :). Thanks for the tip.

    Daniel

    \
     
     \ /
      Last update: 2019-08-19 23:30    [W:5.936 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site