All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kris Van Hees <kris.van.hees@oracle.com>
To: lsf-pc@lists.linux-foundation.org, bpf@vger.kernel.org
Subject: [LSF/MM TOPIC] BPF: Extending eBPF as a generic tracing engine
Date: Fri, 22 Feb 2019 23:24:12 -0500	[thread overview]
Message-ID: <20190223042412.GV25582@oracle.com> (raw)

Topic: Extending eBPF as a generic tracing engine

My presentation covers a few new features to the eBPF implementation in
support of tracing tools.  The main goal is to allow tracing tools the
ability to encode actions with probes/events, beyond the context of what
the current probes/events provide.

The features to discuss are:

    - Allowing BPF-to-BPF tail-calling between BPF programs of different
      program types (ussing a context conversion/casting mechanism that
      BPF program types can provide.  This patch is being posted to the
      netdev group this weekend, along with an example on how to use it.
    - Using the context conversion mechanism to associate task info with
      probe/event context, and have a BPF program operate on that, which
      reduces the dependency (or need) for helper functions.
    - Consider the option of having BPF program sub-types (for some program
      types), which could even provide for loadable modules to implement
      some specific extensions to a more generic BPF program type.
    - Extending the context handling code and access checking to allow
      for pointer references to auxilliary structs (to an arbitrary depth).
      This makes it possible to do a lot more with contexts, such as
      having it store a pointer to a trace output buffer so you can have
      BPF instructions store to it directly.

The talk will focus on why this will help tracing a lot, and how it will
advance BPF as a tracing facility.  I want to solicit feedback on these
features so there can be common road forward to enhancing tracing based on
BPF.

             reply	other threads:[~2019-02-23  4:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-23  4:24 Kris Van Hees [this message]
2019-04-08 16:10 ` [LSF/MM TOPIC] BPF: Extending eBPF as a generic tracing engine Kris Van Hees

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190223042412.GV25582@oracle.com \
    --to=kris.van.hees@oracle.com \
    --cc=bpf@vger.kernel.org \
    --cc=lsf-pc@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.