Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 2009 17:07:43 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r200127 - stable/8/sys/dev/hwpmc
Message-ID:  <200912051707.nB5H7hAq093504@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Sat Dec  5 17:07:43 2009
New Revision: 200127
URL: http://svn.freebsd.org/changeset/base/200127

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/8/sys/dev/hwpmc/hwpmc_x86.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/dev/hwpmc/hwpmc_x86.c
==============================================================================
--- stable/8/sys/dev/hwpmc/hwpmc_x86.c	Sat Dec  5 14:33:11 2009	(r200126)
+++ stable/8/sys/dev/hwpmc/hwpmc_x86.c	Sat Dec  5 17:07:43 2009	(r200127)
@@ -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;) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912051707.nB5H7hAq093504>