HomeFreeBSD

hwpmc: Disable KASAN in pmc_save_kernel_callchain()

Description

hwpmc: Disable KASAN in pmc_save_kernel_callchain()

As in commit 831850d8b087, this routine can trigger false positives, so
exclude it from instrumentation.

Reported by: pho
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 5d243d41b1206044cb5eddd5d48c1c711b731478)

Details

Provenance
markjAuthored on Jul 10 2021, 12:38 AM
Parents
rGab77265f883a: amd64: Mark the trapframe as initialized in trap()
Branches
Unknown
Tags
Unknown