Hi, sorry for the mistake. ucontext is defined in sys/signal.h on OpenBSD http://openbsd-archive.7691.n7.nabble.com/sys-ucontext-h-dead-code-walking-t...
2017-12-11 10:18 GMT+01:00 Christian Kellermann ckeen@pestilenz.org:
Hi Eliot,
- Eliot Miranda eliot.miranda@gmail.com [171211 05:30]:
There is no uc_mcontext, ucontext_t lives in <signal.h> and is a typedef for struct sigcontext. Why is this needed exactly?
The VM profiler samples the of periodically, storing it in a circular buffer. On unix this is fine by delivering a signal and having the signal handler access the interrupted pc through the supplied uc_mcontext
How can I test this? So that we don't hide another incompatibility here...
Kind regards,
Christian
-- May you be peaceful, may you live in safety, may you be free from suffering, and may you live with ease.