Re: [PATCH 18/18] 2.6.17.9 perfmon2 patch for review: new x86_64 files

From: Christoph Hellwig
Date: Wed Aug 23 2006 - 16:55:26 EST


On Wed, Aug 23, 2006 at 08:53:21AM -0700, Stephane Eranian wrote:
> > Please use a string name, just like every other interface for
> > such selections.
>
> What are the advantages at the syscall level (i.e., copy_user,
> format parsing) compared to a 16-entry byte array?

None. In fact for a machine it doesn't matter whether you parse
an char foo[16] array as uuid or string. The string is extremly
useful when a human enters a game, e.g. when debugging or
trouble-shooting things. (or just reading the code)

-
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/