]> sourceware.org Git - systemtap.git/commit
Refactored some of the code for kernel.data(*).* probepoints to the stap runtime.
authorYichun Zhang (agentzh) <yichun@openresty.com>
Sun, 17 Dec 2023 04:49:46 +0000 (20:49 -0800)
committerYichun Zhang (agentzh) <yichun@openresty.com>
Mon, 18 Dec 2023 19:58:02 +0000 (11:58 -0800)
commit03c35e22123889f58ef24610d861e90a4af6c496
tree159a258c2b117ef3573d74606213f3164a71158f
parent2569ff2b849aa77b6f83f374284da40f6b098833
Refactored some of the code for kernel.data(*).* probepoints to the stap runtime.

This makes development easier by avoiding updating a lot of code in
the translator all the time.

This also makes the upcoming process.data(*) probepoints easier to
implement.

Additionally, we made it abort when the first hw breakpoint fails
to register instead of going on registering the remaining hw
breakpoints. Added tests to cover this change.
runtime/linux/stap-hw-breakpoint.h [new file with mode: 0644]
tapsets.cxx
testsuite/systemtap.base/kernel-hw-breakpoint-addr-err.exp [new file with mode: 0644]
testsuite/systemtap.base/kernel-hw-breakpoint-addr-err_1.c [new file with mode: 0644]
testsuite/systemtap.base/kernel-hw-breakpoint-addr-err_1.stp [new file with mode: 0644]
testsuite/systemtap.base/kernel-hw-breakpoint-addr-err_2.stp [new file with mode: 0644]
This page took 0.027439 seconds and 5 git commands to generate.