Date: Fri, 28 Jun 2019 00:50:00 +0000 (UTC) From: Mitchell Horne <mhorne@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r349486 - stable/12/sys/riscv/riscv Message-ID: <201906280050.x5S0o0mp077371@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906280050.x5S0o0mp077371>