diff options
author | Rafael David Tinoco <rafaeldtinoco@gmail.com> | 2021-09-12 03:48:44 -0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-09-14 14:44:45 -0700 |
commit | ca304b40c20d5750f08200f0ad3445384646620c (patch) | |
tree | 1a5f76319547a38b8cf0429379dca875095bb18d /tools/testing/selftests/bpf/prog_tests/trace_ext.c | |
parent | 2f383041278672332ab57c78570c30c47d6f35fd (diff) |
libbpf: Introduce legacy kprobe events support
Allow kprobe tracepoint events creation through legacy interface, as the
kprobe dynamic PMUs support, used by default, was only created in v4.17.
Store legacy kprobe name in struct bpf_perf_link, instead of creating
a new "subclass" off of bpf_perf_link. This is ok as it's just two new
fields, which are also going to be reused for legacy uprobe support in
follow up patches.
Signed-off-by: Rafael David Tinoco <rafaeldtinoco@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210912064844.3181742-1-rafaeldtinoco@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/trace_ext.c')
0 files changed, 0 insertions, 0 deletions