Don't hardcode the module or function component of lockstat probes.
MFC after: 1 week
This commit is contained in:
parent
6b9db41be6
commit
88f578841f
@ -34,7 +34,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
lockstat:kernel:mtx_lock:adaptive-acquire
|
||||
lockstat:::adaptive-acquire
|
||||
{
|
||||
mutex_owned();
|
||||
exit(1);
|
||||
|
@ -34,7 +34,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
lockstat:kernel:mtx_lock:adaptive-acquire
|
||||
lockstat:::adaptive-acquire
|
||||
{
|
||||
mutex_owned((kmutex_t *)arg0, 99);
|
||||
exit(1);
|
||||
|
@ -36,7 +36,7 @@
|
||||
*/
|
||||
|
||||
|
||||
lockstat:kernel:mtx_lock:adaptive-acquire
|
||||
lockstat:::adaptive-acquire
|
||||
{
|
||||
mutex_type_adaptive();
|
||||
exit(1);
|
||||
|
@ -35,7 +35,7 @@
|
||||
*/
|
||||
|
||||
|
||||
lockstat:kernel:mtx_lock:adaptive-acquire
|
||||
lockstat:::adaptive-acquire
|
||||
{
|
||||
mutex_type_adaptive((kmutex_t *)arg0, 99);
|
||||
exit(1);
|
||||
|
@ -48,7 +48,7 @@ BEGIN
|
||||
i = 0;
|
||||
}
|
||||
|
||||
lockstat::mtx_lock:adaptive-acquire
|
||||
lockstat:::adaptive-acquire
|
||||
{
|
||||
|
||||
ptr = mutex_owner((struct mtx *)arg0);
|
||||
|
@ -44,7 +44,7 @@ BEGIN
|
||||
ret = -99;
|
||||
}
|
||||
|
||||
mtx_lock:adaptive-acquire
|
||||
lockstat:::adaptive-acquire
|
||||
{
|
||||
ret = mutex_type_adaptive((struct mtx *)arg0);
|
||||
i++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user