On Mon, 24 Jun 2024 17:21:38 -0700
Andrii Nakryiko <and...@kernel.org> wrote:

> -static int __uprobe_register(struct inode *inode, loff_t offset,
> -                          loff_t ref_ctr_offset, struct uprobe_consumer *uc)
> +int uprobe_register_batch(struct inode *inode, int cnt,
> +                       uprobe_consumer_fn get_uprobe_consumer, void *ctx)

Is this interface just for avoiding memory allocation? Can't we just
allocate a temporary array of *uprobe_consumer instead? 

Thank you,

-- 
Masami Hiramatsu (Google) <mhira...@kernel.org>

Reply via email to