Re: [PATCH 2/4] oprofile update: CPU type as string

John Levon (levon@movementarian.org)
Tue, 11 Feb 2003 12:42:14 +0000


On Tue, Feb 11, 2003 at 01:34:52PM +0100, Horst von Brand wrote:

> Better use "ia32/P4" and so on, "i386/P4" makes little sense ;-)

It's modelled after linux/arch/<blah>

> You could (should?) place the CPU ID into the model spec too...

eh ?

> BTW, if nobody (except masochistic kernel source readers) sees this stuff,
> what is the point? An enum uses less space than a char * + the string.

The type is used by the userspace to determine what counters are
available.

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