Hi,

Development of libpfm3 and perfmon has been stopped two years ago.

You are encouraged to use perf and perf_events from now on.


On Fri, Mar 11, 2011 at 2:51 AM, 陳韋任 <che...@iis.sinica.edu.tw> wrote:
> Hi,
>
>> Sorry for the last reply, I accidentally hit the send button. I think it 
>> needs to be 1 to 1. When we use signal handler to catch the overflow, the 
>> thread being monitored is interrupted and then go to the ovflw handler just 
>> like in the dear example.
>>
>> If we don't use overflow handler, we still need one extra thread to read the 
>> notification message, for example in the ibs example.
>
>  I think here needs some clarification. Actually, I want to ask if we
> can sampling multiple threads from one thread by using libpfm4 or
> perf_events. But information about libpfm3 or perfmon is also welcomed.
> :)
>
You can measure multiple threads from one thread in perf_events.
Perf_events has support for automatic inheritance in child processes
and threads.

To collect a profile:
$ perf record -e cycles my_multi_threaded_program
$ perf report
$ perf annotate


> Regards,
> chenwj
>
> --
> Wei-Ren Chen (陳韋任)
> Parallel Processing Lab, Institute of Information Science,
> Academia Sinica, Taiwan (R.O.C.)
> Tel:886-2-2788-3799 #1667
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> perfmon2-devel mailing list
> perfmon2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
>

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to