bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [LSF/MM TOPIC] BPF: Extending eBPF as a generic tracing engine
@ 2019-02-23  4:24 Kris Van Hees
  2019-04-08 16:10 ` Kris Van Hees
  0 siblings, 1 reply; 2+ messages in thread
From: Kris Van Hees @ 2019-02-23  4:24 UTC (permalink / raw)
  To: lsf-pc, bpf

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-08 16:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-23  4:24 [LSF/MM TOPIC] BPF: Extending eBPF as a generic tracing engine Kris Van Hees
2019-04-08 16:10 ` Kris Van Hees

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).