[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20060823205734.GA16392@infradead.org>
Date: Wed, 23 Aug 2006 21:57:34 +0100
From: Christoph Hellwig <hch@...radead.org>
To: Stephane Eranian <eranian@....hp.com>
Cc: Christoph Hellwig <hch@...radead.org>, Andi Kleen <ak@...e.de>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 18/18] 2.6.17.9 perfmon2 patch for review: new x86_64 files
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists