svn commit: r313120 - stable/11/sys/cddl/contrib/opensolaris/uts/intel/dtrace
Mark Johnston
markj at FreeBSD.org
Fri Feb 3 00:55:33 UTC 2017
Author: markj
Date: Fri Feb 3 00:55:31 2017
New Revision: 313120
URL: https://svnweb.freebsd.org/changeset/base/313120
Log:
MFC r312893:
Fix an off-by-one in an assertion on fasttrap tracepoint sizes.
Modified:
stable/11/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c
==============================================================================
--- stable/11/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c Fri Feb 3 00:54:27 2017 (r313119)
+++ stable/11/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c Fri Feb 3 00:55:31 2017 (r313120)
@@ -1627,7 +1627,7 @@ fasttrap_pid_probe(struct reg *rp)
* a signal we can reset the value of the scratch register.
*/
- ASSERT(tp->ftt_size < FASTTRAP_MAX_INSTR_SIZE);
+ ASSERT(tp->ftt_size <= FASTTRAP_MAX_INSTR_SIZE);
curthread->t_dtrace_scrpc = addr;
bcopy(tp->ftt_instr, &scratch[i], tp->ftt_size);
More information about the svn-src-stable
mailing list