Re: [PATCH 3/3 v2] perf tool: give user better message if preciseis not supported

From: David Ahern
Date: Fri Sep 14 2012 - 07:14:11 EST


On 9/13/12 11:43 PM, Ingo Molnar wrote:
v2: softened message to 'may not be' supported per Robert's suggestion

Well, either it's supported on this machine or it's not - why
does the text have to be so unsure about it?

Because EOPNOTSUPP is returned for more than just precise mode. We cannot say with certainty that the precise attribute caused that errno.

David


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