Skip to content

Conversation

@shinsakukataoka
Copy link

No description provided.

Copy link
Contributor

@branylagaffe branylagaffe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am convinced that using QEMU and the HMP command are a good way to trigger (qemu snapshot and) flexus checkpoint dump.

However, I don't think using a REAL_CLOCK timer is a good solution. KeenKraken and KnottyKraken use icount, which counts instructions. Creating a timer based on icount is maybe a better solution.

flexus_ckpt_timer = NULL; // Reset the timer pointer
}

FlexusCkptData *data = g_malloc(sizeof(FlexusCkptData));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good 'Ol memory leak ?

Copy link
Contributor

@branylagaffe branylagaffe Jul 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why this cannot be a global variable ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants