User: Password:
|
|
Subscribe / Log in / New account

BPF runtime for systemtap

From:  Richard Henderson <rth@redhat.com>
To:  systemtap@sourceware.org
Subject:  BPF runtime for systemtap
Date:  Tue, 14 Jun 2016 13:06:20 -0700
Message-ID:  <72b69807-4cd7-afab-0acd-51af8c76469e@redhat.com>
Cc:  iovisor-dev@lists.iovisor.org, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Archive-link:  Article

I'm pleased to be able to announce an initial implementation of an (e)bpf 
backend for systemtap.  For the subset of systemtap probes that can use 
kprobes, we can use a bpf filter instead of loading a kernel module.

As this implementation is young, there are a number of limitations.  Neither 
string nor stats types are supported.  Both require enhancements to the set of 
builtin functions supported in kernel.  The stap bpf loader still needs 
improvement with respect to its use of the event subsystem.

We're using the same intermediate file format that is supported by the llvm bpf 
backend.  I have some improvements to submit for the llvm bpf backend as well.

The code can be reviewed at

   git://sourceware.org/git/systemtap.git rth/bpf


r~


Copyright © 2016, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds