Re: [PATCH 1/2] perf tools: Add reference timestamp to perf header

From: Peter Zijlstra
Date: Mon Dec 13 2010 - 12:48:59 EST


On Mon, 2010-12-13 at 18:35 +0100, Peter Zijlstra wrote:
>
> - extend the existing header infrastructure to write a new header in
> front of the new stream. The main header already has a data section that
> points to the end of the stream, add a continuation header section that
> points to a continuation-header used to appends and record the clock
> offset data in there.

Also, if you want to add perf-stat functionality to perf-record you
could use something similar, a tail-header, and write the stat values in
there.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/