eBPF-based security platform
upatch: report the runs the kernel skipped of tp_btf links
Jiri Olsa392f27ac3be3
diff --git a/util/upatch_resolve.c b/util/upatch_resolve.cindex fe29dd30..670349e9 100644--- a/util/upatch_resolve.c+++ b/util/upatch_resolve.c@@ -356,6 +356,7 @@ bool upatch_link_counts_misses(const struct bpf_link_info *info){switch (info->type) {case BPF_LINK_TYPE_KPROBE_MULTI:+ case BPF_LINK_TYPE_RAW_TRACEPOINT:return true;case BPF_LINK_TYPE_PERF_EVENT:return link_is_kprobe(info);diff --git a/util/upatch_resolve.h b/util/upatch_resolve.hindex 004b06b7..19ffe84d 100644--- a/util/upatch_resolve.h+++ b/util/upatch_resolve.h@@ -52,8 +52,8 @@ struct upatch_link_misses {/** Whether the runs the kernel skips of the program behind this link are- * reported: kprobe, kretprobe, their multi forms, fentry, fexit and- * fmod_ret. The kernel skips no lsm, xdp, cgroup_skb or netfilter run,+ * reported: kprobe, kretprobe, their multi forms, fentry, fexit, fmod_ret+ * and tp_btf. The kernel skips no lsm, xdp, cgroup_skb or netfilter run,* and counts none it skips of the uprobe kinds.*/bool upatch_link_counts_misses(const struct bpf_link_info *info);