[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130106064354.GK29714@tassilo.jf.intel.com>
Date: Sat, 5 Jan 2013 22:43:54 -0800
From: Andi Kleen <ak@...ux.intel.com>
To: Jiri Olsa <jolsa@...hat.com>
Cc: Stephane Eranian <eranian@...gle.com>,
linux-kernel@...r.kernel.org, peterz@...radead.org, mingo@...e.hu,
acme@...hat.com, namhyung.kim@....com
Subject: Re: [PATCH v4 07/18] perf: add generic memory sampling interface
> Why dont use enums for this?
enums can have unpredictable signed/unsignedness issues. #defines for
hardware constants is usually far safer.
-Andi
--
ak@...ux.intel.com -- Speaking for myself only
--
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