]> sourceware.org Git - systemtap.git/commit
PR23285 (1): enable procfs probes for stapbpf
authorSagar Patel <sapatel@redhat.com>
Thu, 8 Aug 2019 19:40:10 +0000 (15:40 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Tue, 13 Aug 2019 19:11:43 +0000 (15:11 -0400)
commit1d3e6fd902d0daded31ff457a1650e9a47528982
tree6c78a6a38e6e64204eaa0c33657c625c499cc79e
parent910acbe2663d7432e38ee3563c56dfd10b05b7db
PR23285 (1): enable procfs probes for stapbpf

The eBPF backend now supports procfs probes. This implementation
uses FIFO special files instead of proc filesystem files. The file
path format used is /var/tmp/systemtap-USER/MODNAME. One limitation
is that both read and write probes cannot exist for the same file.

1) Added procfs probe data structures to hold probe information.
2) Created an interface between target variables and eBPF interpreter.
3) Dedicated a single thread for each file which monitors for I/O.
4) Developed a cleaning routine and error handling mechanisms.
5) Updated NEWS and man pages.

small fix

new procfs_bpf test
15 files changed:
NEWS
bpf-internal.h
bpf-translate.cxx
elaborate.cxx
man/stapprobes.3stap
stapbpf/Makefile.am
stapbpf/Makefile.in
stapbpf/bpfinterp.cxx
stapbpf/bpfinterp.h
stapbpf/stapbpf.8
stapbpf/stapbpf.cxx
tapset-procfs.cxx
tapset/bpf/target.stp [new file with mode: 0644]
tapsets.h
testsuite/systemtap.base/procfs_bpf.exp [new file with mode: 0644]
This page took 0.028706 seconds and 5 git commands to generate.