On Wed, 2010-10-20 at 14:42 +0200, Stephane Eranian wrote: > It may be better to try another approach just for PERF_SAMPLE_READ > with its own version of ctx->time. What about if on event_sched_in() you > were snapshotting ctx->time. Then in the perf_output_read_event(), you'd > have to compute the time delta and add it to this private version of > ctx->time and store that in the sample.
Right, that might work. ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel