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

Catalin Marinas catalin.marinas at arm.com
Mon Oct 31 13:34:05 PDT 2016


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



More information about the linux-arm-kernel mailing list