svn commit: r349486 - stable/12/sys/riscv/riscv
Mitchell Horne
mhorne at FreeBSD.org
Fri Jun 28 00:50:02 UTC 2019
Author: mhorne
Date: Fri Jun 28 00:50:00 2019
New Revision: 349486
URL: https://svnweb.freebsd.org/changeset/base/349486
Log:
MFC r348837:
Add TSLOG events to initriscv()
Approved by: markj (mentor, implicit)
Modified:
stable/12/sys/riscv/riscv/machdep.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/riscv/riscv/machdep.c
==============================================================================
--- stable/12/sys/riscv/riscv/machdep.c Fri Jun 28 00:43:38 2019 (r349485)
+++ stable/12/sys/riscv/riscv/machdep.c Fri Jun 28 00:50:00 2019 (r349486)
@@ -61,6 +61,7 @@ __FBSDID("$FreeBSD$");
#include <sys/syscallsubr.h>
#include <sys/sysent.h>
#include <sys/sysproto.h>
+#include <sys/tslog.h>
#include <sys/ucontext.h>
#include <vm/vm.h>
@@ -815,6 +816,8 @@ initriscv(struct riscv_bootparams *rvbp)
caddr_t kmdp;
int i;
+ TSRAW(&thread0, TS_ENTER, __func__, NULL);
+
/* Set the pcpu data, this is needed by pmap_bootstrap */
pcpup = &__pcpu[0];
pcpu_init(pcpup, 0, sizeof(struct pcpu));
@@ -887,6 +890,8 @@ initriscv(struct riscv_bootparams *rvbp)
kdb_init();
early_boot = 0;
+
+ TSEXIT();
}
#undef bzero
More information about the svn-src-all
mailing list