On Mon, Sep 19, 2011 at 10:07 PM, POKHARAKAR Sandeep <[email protected]> wrote: > Hello Arun, > > >> An alternate design for performance counters is to send a signal to >> user space on counter overflow and do the unwinding in user space. I >> have some sample code to share if you want to pursue this path. > > Could you please share the example stated above. >
Attached is a patch against google-perftools 1.7. Look at ::RegisterThread() for an example of how you can tell Linux to send you a signal on perf counter overflow. -Arun
perf-events.patch
Description: Binary data
_______________________________________________ Libunwind-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/libunwind-devel
