Re: [perfmon2] (no subject)

2008-08-05 Thread stephane eranian
Hello, On Mon, Aug 4, 2008 at 7:48 PM, xudi <[EMAIL PROTECTED]> wrote: > hello, > I want to monitor multiple processes simultaneously(5 or more), and I > set every context flag to PFM_FL_NOTIFY_BLOCK, > after I get the message PFM_MSG_OVFL, first I stop the process by > PTRACE_ATTACH, then pr

[perfmon2] tapping event sets

2008-08-05 Thread Pradeep Rao
I'm trying to capture event count history (length==1) for each event set by creating an additional variable u64 oldval; in struct pfm_pmd; (kernel source) I then tried doing this in two ways: 1. record pmds[i].value into oldval before event is switched out in pfm_save_pmds (perfmon_ctxsw.c) i.e