Files
linux/tools/testing/selftests/riscv/vector/v_helpers.h
T
Sergey Matyukevich 600f72ded8 selftests: riscv: test ptrace vector interface
Add a test case to check ptrace behavior in the case when vector
extension is supported by the system, but vector context is not
yet enabled for the traced process.

Signed-off-by: Sergey Matyukevich <[email protected]>
Reviewed-by: Andy Chiu <[email protected]>
Tested-by: Andy Chiu <[email protected]>
Link: https://patch.msgid.link/[email protected]
[[email protected]: dropped duplicate sys/wait.h include]
Signed-off-by: Paul Walmsley <[email protected]>
2026-02-09 15:27:33 -07:00

11 lines
244 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#include <stdbool.h>
bool is_xtheadvector_supported(void);
bool is_vector_supported(void);
unsigned long get_vr_len(void);
int launch_test(char *next_program, int test_inherit, int xtheadvector);