Thread (25 messages) 25 messages, 9 authors, 2024-08-17

Re: [PATCHv8 bpf-next 3/9] uprobe: Add uretprobe syscall to speed up return probe

From: Oleg Nesterov <oleg@redhat.com>
Date: 2024-06-20 18:54:09
Also in: linux-api, linux-man, linux-trace-kernel, lkml

On 06/20, Guenter Roeck wrote:
On Tue, Jun 11, 2024 at 01:21:52PM +0200, Jiri Olsa wrote:
quoted
Adding uretprobe syscall instead of trap to speed up return probe.
This patch results in:

Building loongarch:allmodconfig ... failed
--------------
Error log:
In file included from include/linux/uprobes.h:49,
                 from include/linux/mm_types.h:16,
                 from include/linux/mmzone.h:22,
                 from include/linux/gfp.h:7,
                 from include/linux/xarray.h:16,
                 from include/linux/list_lru.h:14,
                 from include/linux/fs.h:13,
                 from include/linux/highmem.h:5,
                 from kernel/events/uprobes.c:13:
kernel/events/uprobes.c: In function 'arch_uprobe_trampoline':
arch/loongarch/include/asm/uprobes.h:12:33: error: initializer element is not constant
should be fixed by https://lore.kernel.org/all/ZmyZgzqsowkGyqmH@krava/ (local)
in this thread.

but may be arch/loongarch should override __weak arch_uprobe_trampoline() ?

Oleg.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help