Module Name: src Committed By: pgoyette Date: Thu May 25 02:28:07 UTC 2017
Modified Files: src/sys/kern: vfs_bio.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.272 -r1.273 src/sys/kern/vfs_bio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/vfs_bio.c diff -u src/sys/kern/vfs_bio.c:1.272 src/sys/kern/vfs_bio.c:1.273 --- src/sys/kern/vfs_bio.c:1.272 Wed Apr 5 20:15:49 2017 +++ src/sys/kern/vfs_bio.c Thu May 25 02:28:07 2017 @@ -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 @@ biowait(buf_t *bp) 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);