]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add TSLOG events to initriscv()
authorMitchell Horne <mhorne@FreeBSD.org>
Sun, 9 Jun 2019 15:45:48 +0000 (15:45 +0000)
committerMitchell Horne <mhorne@FreeBSD.org>
Sun, 9 Jun 2019 15:45:48 +0000 (15:45 +0000)
commit93ca8057c54f5408381bf851437c21158ee70efb
tree5c0a25a05716802110891ddf7488be446dcd17d8
parent6ae48dd8704f6f6b754d5edcc94045bc5c2b4615
Add TSLOG events to initriscv()

Add the enter and exit events, similar to what's found in
hammer_time() on amd64. We must use TSRAW as the pcpu isn't yet
initialized.

Reviewed by: markj
Approved by: markj (mentor)
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D20497
sys/riscv/riscv/machdep.c