stapbpf: Add timer probe support.
authorAaron Merey <amerey@redhat.com>
Fri, 3 Nov 2017 18:35:06 +0000 (14:35 -0400)
committerAaron Merey <amerey@redhat.com>
Fri, 3 Nov 2017 18:44:12 +0000 (14:44 -0400)
commit319d9670b3554337f363b124bbbc88c922cfea09
treeff948f3713b4e3e9d61e0aecbba7a63544832833
parent3eda9d353da63d13dc3a75cc36b4c12c5584268f
stapbpf: Add timer probe support.

* bpf-translate.cxx: translate hrtimer_derived_probes and timer_derived_probes.

* stapbpf.cxx: parse timer data from ELF file, load timer bpf programs and
  open timer perf events.

* tapset-timers.cxx (sort_for_bpf): Organize timer probes and prepare timer
  symbol names for ELF file.

* tapsets.h: Add declarations for above.

* bpf_tests/timers.stp: New test for timer probes.
bpf-translate.cxx
stapbpf/stapbpf.cxx
tapset-timers.cxx
tapsets.h
testsuite/systemtap.bpf/bpf_tests/timers.stp [new file with mode: 0644]
This page took 0.028311 seconds and 5 git commands to generate.