git: edafb5b859d4 - main - hwpmc_arm64_md.c: Correct architecture name in assertions.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Mar 2022 22:58:43 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=edafb5b859d44cdd2642fc6104b2e7a0131d836f commit edafb5b859d44cdd2642fc6104b2e7a0131d836f Author: Brett Gutstein <brett.gutstein@cst.cam.ac.uk> AuthorDate: 2022-03-02 22:57:40 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-03-02 22:57:40 +0000 hwpmc_arm64_md.c: Correct architecture name in assertions. Obtained from: CheriBSD --- sys/dev/hwpmc/hwpmc_arm64_md.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/hwpmc/hwpmc_arm64_md.c b/sys/dev/hwpmc/hwpmc_arm64_md.c index 9037c4636b15..e343d81d5172 100644 --- a/sys/dev/hwpmc/hwpmc_arm64_md.c +++ b/sys/dev/hwpmc/hwpmc_arm64_md.c @@ -66,7 +66,7 @@ pmc_save_kernel_callchain(uintptr_t *cc, int maxsamples, struct thread *td; int count; - KASSERT(TRAPF_USERMODE(tf) == 0,("[arm,%d] not a kernel backtrace", + KASSERT(TRAPF_USERMODE(tf) == 0,("[arm64,%d] not a kernel backtrace", __LINE__)); td = curthread; @@ -115,7 +115,7 @@ pmc_save_user_callchain(uintptr_t *cc, int maxsamples, struct thread *td; int count; - KASSERT(TRAPF_USERMODE(tf), ("[x86,%d] Not a user trap frame tf=%p", + KASSERT(TRAPF_USERMODE(tf), ("[arm64,%d] Not a user trap frame tf=%p", __LINE__, (void *) tf)); td = curthread;