Re: [rft] testing BSD accounting format on different archs
From: Tim Schmielau
Date: Fri May 14 2004 - 01:55:02 EST
On Fri, 14 May 2004, Y.Ishikawa wrote:
> Please see the attachment for details of the result of acct after applying
> your patch.
> BTW. how is your development for "version2" that you posted in this Mar.19.
> I have been interested in your V2 format. The account data is very
> useful for performance analysis of processes. It would be more convenient
> if acct datainclude pid and ppid.
> Naturally I understood V2 would have some incompatibility against current
> acct structure. However I'm sure the value of acct data would become larger
> in V2.
> I hope V2 structure would be included in 2.7 successfully.
> I also found tgid is useful in multithread environment, especially NPTL, to
> identify the thread and process of a work-unit. Could you add a tgid field
> in your V2 structure?
Unfortunaltely my day job consumes all my time until end of next week.
After that I want to hack on the GNU acct tools so they understand the new
formats. If that doesn't raise new problems, I'll submit a patch for 2.6.
Both v1 and v2 are intended to be binary compatible, v2 on m68k, v1 on
all other platforms (I'll probably reverse the version numbers, so that
only m68k user might get confused by thinking that v2 is "better" than
For 2.7, (and optional for 2,6), a new v3 format is planned with a
properly aligned layout, so that much of the compatibility cruft can go.
Since v1, v2 and v3 formats already use up all 64 bytes of struct acct,
there also has been interest in an optional 128 byte v4 format. This would
provide enough space to include tgid (further suggestions welcome).
This may sound like a plethora of new formats, but I think it provides a
smooth transition if just one new release of the acct tools is able to
read all of them.
sorry for the delay,
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/