aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2024-09-24 11:07:30 +0000
committerAlexei Starovoitov <[email protected]>2024-10-04 00:47:35 +0000
commit4b7c05598a644782b8451e415bb56f31e5c9d3ee (patch)
tree7dcb120e5976b809be2825692544885e87dcfb7a /scripts/bpf_doc.py
parentselftests/bpf: Set vpath in Makefile to search for skels (diff)
downloadkernel-4b7c05598a644782b8451e415bb56f31e5c9d3ee.tar.gz
kernel-4b7c05598a644782b8451e415bb56f31e5c9d3ee.zip
selftests/bpf: Fix uprobe consumer test
With newly merged code the uprobe behaviour is slightly different and affects uprobe consumer test. We no longer need to check if the uprobe object is still preserved after removing last uretprobe, because it stays as long as there's pending/installed uretprobe instance. This allows to run uretprobe consumers registered 'after' uprobe was hit even if previous uretprobe got unregistered before being hit. The uprobe object will be now removed after the last uprobe ref is released and in such case it's held by ri->uprobe (return instance) which is released after the uretprobe is hit. Reported-by: Ihor Solodrai <[email protected]> Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Tested-by: Ihor Solodrai <[email protected]> Closes: https://lore.kernel.org/bpf/w6U8Z9fdhjnkSp2UaFaV1fGqJXvfLEtDKEUyGDkwmoruDJ_AgF_c0FFhrkeKW18OqiP-05s9yDKiT6X-Ns-avN_ABf0dcUkXqbSJN1TQSXo=@pm.me/ Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions