Re: [PATCH 3/3] perf tools: Check maximum frequency rate for record/top
From: David Ahern
Date: Mon Nov 04 2013 - 10:17:34 EST
On 11/4/13, 4:06 AM, Jiri Olsa wrote:
Adding the check for maximum allowed frequency rate
defined in following file:
/proc/sys/kernel/perf_event_max_sample_rate
When we cross the maximum value we fail and display
detailed error message with advise.
perf commands should automatically adjust the default frequency too. If
the user did not specify a frequency then this message is going to be
confusing.
Though the algorithm that keeps lowering the rate should be tweaked as well.
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/