svn commit: r200128 - stable/7/sys/dev/hwpmc
Ed Maste
emaste at FreeBSD.org
Sat Dec 5 17:08:45 UTC 2009
Author: emaste
Date: Sat Dec 5 17:08:45 2009
New Revision: 200128
URL: http://svn.freebsd.org/changeset/base/200128
Log:
MFC r200001:
Fix parenthesis typo -- copy full frame pointer for userland callchain,
not just one byte.
Submitted by: Ryan Stone rysto32 at gmail dot com
Modified:
stable/7/sys/dev/hwpmc/hwpmc_x86.c
Directory Properties:
stable/7/sys/ (props changed)
stable/7/sys/contrib/pf/ (props changed)
Modified: stable/7/sys/dev/hwpmc/hwpmc_x86.c
==============================================================================
--- stable/7/sys/dev/hwpmc/hwpmc_x86.c Sat Dec 5 17:07:43 2009 (r200127)
+++ stable/7/sys/dev/hwpmc/hwpmc_x86.c Sat Dec 5 17:08:45 2009 (r200128)
@@ -101,7 +101,7 @@ pmc_save_user_callchain(uintptr_t *cc, i
if (copyin((void *) sp, &pc, sizeof(pc)) != 0)
return (n);
} else if (copyin((void *) r, &pc, sizeof(pc)) != 0 ||
- copyin((void *) fp, &fp, sizeof(fp) != 0))
+ copyin((void *) fp, &fp, sizeof(fp)) != 0)
return (n);
for (; n < nframes;) {
More information about the svn-src-all
mailing list