Re: [PATCH v2 0/4] Add uprobes support for LoongArch
From: Tiezhu Yang
Date: Mon Apr 17 2023 - 05:23:21 EST
On 04/17/2023 11:17 AM, Hengqi Chen wrote:
Hi Tiezhu:
...
When I try to uprobe the pthread_spin_lock calls, the application core dumped.
On X86, this will return -EINVAL instead of crashing the userspace application.
Probably, we should add more opcode to insns_not_supported().
Yes, the atomic memory access instructions such as amswap_db.w
should not be supported, like llsc instructions, let me add them
in insns_not_supported(), thank you.
Thanks,
Tiezhu