Re: [PATCH v4 07/18] perf: add generic memory sampling interface

From: Andi Kleen
Date: Sun Jan 06 2013 - 01:43:49 EST

> Why dont use enums for this?

enums can have unpredictable signed/unsignedness issues. #defines for
hardware constants is usually far safer.


ak@xxxxxxxxxxxxxxx -- Speaking for myself only
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at