aboutsummaryrefslogtreecommitdiff
path: root/scripts/coverage
diff options
context:
space:
mode:
authorRob Bradford <rbradford@rivosinc.com>2023-10-31 15:37:13 +0000
committerAlistair Francis <alistair.francis@wdc.com>2023-11-07 11:06:02 +1000
commit755b41d09f516109f5ddc49aae86358c72e656d5 (patch)
tree55b0c8b135651241bd9058d4544eea89a0530638 /scripts/coverage
parentc541b07de79daa293e9ccc07f3c98f575ad09f2a (diff)
downloadqemu-755b41d09f516109f5ddc49aae86358c72e656d5.zip
qemu-755b41d09f516109f5ddc49aae86358c72e656d5.tar.gz
qemu-755b41d09f516109f5ddc49aae86358c72e656d5.tar.bz2
target/riscv: Propagate error from PMU setup
More closely follow the QEMU style by returning an Error and propagating it there is an error relating to the PMU setup. Further simplify the function by removing the num_counters parameter as this is available from the passed in cpu pointer. Signed-off-by: Rob Bradford <rbradford@rivosinc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com> Reviewed-by: Atish Patra <atishp@rivosinc.com> Message-ID: <20231031154000.18134-2-rbradford@rivosinc.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'scripts/coverage')
0 files changed, 0 insertions, 0 deletions