]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Clamp too large hwpmc callchaindepth to maximum
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 15 Feb 2015 20:55:26 +0000 (20:55 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 15 Feb 2015 20:55:26 +0000 (20:55 +0000)
commitb846e8ed452c7542c28176b839841d7caced06a7
tree23d988a3a70bcaf6ae9087fded0d45b7cee20054
parent49951468778fc40f30abfb701af4d3e0d3e46102
Clamp too large hwpmc callchaindepth to maximum

If the depth requested by the user is too large, it's better to provide
the maximum than the smaller default.

MFC of: r274766
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@278813 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/hwpmc/hwpmc_mod.c