libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] unwind user process from kernel?


From: Arun Sharma
Subject: Re: [Libunwind-devel] unwind user process from kernel?
Date: Sat, 24 Sep 2011 08:19:02 -0700

On Mon, Sep 19, 2011 at 10:07 PM, POKHARAKAR Sandeep
<address@hidden> 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

Attachment: perf-events.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]