Closed mwkrentel closed 2 years ago
Mark - Thanks for the monitor fix. We'll need to wait for the hpctoolkit lazy memory allocation patch from @dejangrubisic before this new monitor feature can be used.
Ok, no rush. Let me know when you can test it and if it's sufficient.
Lazy memory allocation patch is implemented: https://github.com/HPCToolkit/hpctoolkit/pull/470#issuecomment-953420102 Tested and works on Perlmutter.
MONITOR_IGNORE_NEW_THREAD, that tells monitor not to track this new thread (and descendant threads).
@blue42u @jmellorcrummey Try this. If monitor_thread_pre_create() returns MONITOR_IGNORE_NEW_THREAD, then monitor will not track the new thread and you won't get an init/fini callback and not a post_create callback.
For now, just build monitor separately. You'll want configure args:
If this works, we can merge it into master. I'm working on some other things for monitor, so I'm going to hold off making a monitor release until I finish those things.