Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern When logging a history record for biowait(), includ...
details: https://anonhg.NetBSD.org/src/rev/de9856445c03
branches: trunk
changeset: 353826:de9856445c03
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Thu May 25 02:28:07 2017 +0000
description:
When logging a history record for biowait(), include the return address
as a parameter, to identify to which of the many calls to biowait() the
record refers.
diffstat:
sys/kern/vfs_bio.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 3ddcc6a813c2 -r de9856445c03 sys/kern/vfs_bio.c
--- a/sys/kern/vfs_bio.c Thu May 25 00:12:34 2017 +0000
+++ b/sys/kern/vfs_bio.c Thu May 25 02:28:07 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_bio.c,v 1.272 2017/04/05 20:15:49 jdolecek Exp $ */
+/* $NetBSD: vfs_bio.c,v 1.273 2017/05/25 02:28:07 pgoyette Exp $ */
/*-
* Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -123,7 +123,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.272 2017/04/05 20:15:49 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.273 2017/05/25 02:28:07 pgoyette Exp $");
#ifdef _KERNEL_OPT
#include "opt_bufcache.h"
@@ -1530,8 +1530,8 @@
mutex_enter(bp->b_objlock);
- BIOHIST_CALLARGS(biohist, "bp=%p, oflags=0x%x",
- bp, bp->b_oflags, 0, 0);
+ BIOHIST_CALLARGS(biohist, "bp=%p, oflags=0x%x, ret_addr %p",
+ bp, bp->b_oflags, __builtin_return_address(0), 0);
while (!ISSET(bp->b_oflags, BO_DONE | BO_DELWRI)) {
BIOHIST_LOG(biohist, "waiting bp=%p", bp, 0, 0, 0);
Home |
Main Index |
Thread Index |
Old Index