-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add drcov data dump mid-run via nudge and/or at regular intervals #7153
Comments
I thought there was already an issue on having a nudge dump the data, but I can't find one: it must have been a users list thread? Did you search the users list? Generally it is best to ask on the users list before filing an issue. Looks like multiple people attempted to add a nudge trigger to dump coverage info:
For time-based, dr_set_itimer() is an easy method on UNIX. |
If you end up adding either nudge or timer coverage data dumping, please send a pull request so it can be merged and others can use it: from the prior users list questions it sounds like these features would be appreciated by others. |
Thank you very much for your help. Due to the firewall, I'm unable to access the link https://groups.google.com/g/dynamorio-users. I've created a simple example using dr_set_itimer, but I've encountered some problems. |
Thank you very much for your help. Due to the firewall, I'm unable to access the link https://groups.google.com/g/dynamorio-users. I've created a simple example using dr_set_itimer, but I've encountered some problems. my code like this,in dr_client_main,drcovlib_init was SUCCESS, in the first coverage_flush_callback, exit_status and init_status was SUCCESS, but in the second coverage_flush_callback, exit_status was SUCCESS, drcovlib_init was crashed static void coverage_flush_callback(void *drcontext, void *timer_id, int interval) {
} DR_EXPORT void dr_client_main(client_id_t client_id, int argc, const char *argv[]) {
} |
I believe the same questions are in this thread: https://groups.google.com/g/dynamorio-users/c/bSic8P63WwM |
Describe the solution you'd like
I hope drcov can have a new option, such as flush_interval, which would allow me to control how often data is written to the log file, rather than only writing at the end of the program. This is because my service is an online service, and I do not have the authority to perform start and stop operations.
The text was updated successfully, but these errors were encountered: