Rodrigo Arias
4993197fb9
Instead of showing the "attached" state with the VH{aA} events, we show when the call to nosv_attach() and nosv_detach() take place. The old VH{aA} events are now ignored. Bumps the nOS-V model version to 1.1.0.
26 lines
477 B
C
26 lines
477 B
C
/* Copyright (c) 2024 Barcelona Supercomputing Center (BSC)
|
|
* SPDX-License-Identifier: GPL-3.0-or-later */
|
|
|
|
#include "compat.h"
|
|
#include "ovni.h"
|
|
#include "instr.h"
|
|
#include "instr_nosv.h"
|
|
|
|
/* Checks that we can still process a trace which contains the VH{aA} attach
|
|
* events, by simply ignoring them */
|
|
|
|
int
|
|
main(void)
|
|
{
|
|
instr_start(0, 1);
|
|
ovni_thread_require("nosv", "1.0.0");
|
|
|
|
instr_nosv_attached();
|
|
sleep_us(100);
|
|
instr_nosv_detached();
|
|
|
|
instr_end();
|
|
|
|
return 0;
|
|
}
|