diff options
author | Tiezhu Yang <[email protected]> | 2024-12-19 19:15:06 +0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2024-12-19 13:15:52 +0100 |
commit | 29d44cce324dab2bd86c447071a596262e7109b6 (patch) | |
tree | b269ff9d04c08c2fa38e64c42d8f6c23709525fb /tools/perf/scripts/python/task-analyzer.py | |
parent | 23579010cf0a12476e96a5f1acdf78a9c5843657 (diff) |
selftests/bpf: Use asm constraint "m" for LoongArch
Currently, LoongArch LLVM does not support the constraint "o" and no plan
to support it, it only supports the similar constraint "m", so change the
constraints from "nor" in the "else" case to arch-specific "nmr" to avoid
the build error such as "unexpected asm memory constraint" for LoongArch.
Fixes: 630301b0d59d ("selftests/bpf: Add basic USDT selftests")
Suggested-by: Weining Lu <[email protected]>
Suggested-by: Li Chen <[email protected]>
Signed-off-by: Tiezhu Yang <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Huacai Chen <[email protected]>
Cc: [email protected]
Link: https://llvm.org/docs/LangRef.html#supported-constraint-code-list
Link: https://github.com/llvm/llvm-project/blob/main/llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.cpp#L172
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions