Re: [PATCH V2 6/6] arm64: Add uprobe support

From: Catalin Marinas
Date: Mon Oct 31 2016 - 16:34:15 EST


On Tue, Sep 27, 2016 at 01:18:00PM +0530, Pratyush Anand wrote:
> +int arch_uprobe_analyze_insn(struct arch_uprobe *auprobe, struct mm_struct *mm,
> + unsigned long addr)
> +{
> + probe_opcode_t insn;
> +
> + /* TODO: Currently we do not support AARCH32 instruction probing */
> + if (test_bit(TIF_32BIT, &mm->context.flags))
> + return -EINVAL;

This should be -ENOTSUPP.

--
Catalin