Re: [perfmon2] Sampling multiple threads from one thread?

2011-03-10 Thread 陳韋任
Hi, Besar Thanks for the reply. But what are the dear and ibs example? Regards, chenwj -- Wei-Ren Chen (陳韋任) Parallel Processing Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 -

Re: [perfmon2] libpfm4 for SPARC

2011-03-10 Thread 陳韋任
Hi, stephane I have one Linux/SPARC T2 machine at hand. I am trying examples in the libpfm4/examples and libpfm4/perf_examples. I have a question about "perf_examples/evt2raw". What input should I give it? The help message give me no much help. :/ Thanks! Regards, chenwj -- Wei-Ren Chen

[perfmon2] [PATCH] Add libpfm4 support (v3)

2011-03-10 Thread Arun Sharma
libpfm4 is a library that takes a CPU vendor documentation compatible string and fills out perf_event_attr. Typical use case: user wants to look at events other than the ones supported by perf using symbolic names. Signed-off-by: Arun Sharma Cc: Ingo Molnar Cc: Frederic Weisbecker Cc: Mike Galb

Re: [perfmon2] Sampling multiple threads from one thread?

2011-03-10 Thread 陳韋任
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 han