Phil, On Mon, Aug 28, 2006 at 10:07:11PM +0000, Philip Mucci wrote: > > Today I got kernel multiplexing with Perfmon2 working in PAPI. All tests > in PAPI are passing at this juncture. However, I must say that > implementing multiplexing was somewhat painful. Before I get on the > soapbox about that, there is a more serious issue (I think). > > You can't do anything related to eventsets while the context is loaded. > Every time I tried to do a create_evtsets after a load_context I would > get a 'not supported' error from Perfmon. > Yes, this is the expected behavior.
> PAPI has a few function at the low level, in short they can be referred > to as: > > init_control_state > update_control_state > start > read > stop > > and of course, init/tear down/option handling routines. PAPI can have > multiple eventsets, even though only 1 can be running at any given time > (unless you are attached to another process, which I have also > implemented) > There is something confusing about your PAPI description of eventsets. Before I can comment, you need to describe this a bit more. Are you saying that PAPI can manage multiple lists of distinct events sets? For instance: L1 = set1, set2, set3 L2 = set1, set2, set3, set4 Where setX encapsulates the full PMU state (i.e., all accessible registers). And you want to start with L1 and then switch to L2 on the fly? Am I getting this right? -- -Stephane _______________________________________________ perfmon mailing list [email protected] http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
