hwpmc: events don't seem to distinguish kernel and userland callchains anymore

From: Ryan Stone <rysto32_at_gmail.com>
Date: Wed, 28 Aug 2019 13:28:13 -0400
Historically when processing callchain events from hwpmc, you could
use PMC_CALLCHAIN_CPUFLAGS_TO_USERMODE(ev..pl_u.pl_cc.pl_cpuflags) to
distinguish callchains that were captured in user mode from those
captured in kernel mode.  However, on 12.0-RELEASE and a month-old
head, I have noticed that this macro never returns true anymore.  Is
there any way to make this distinction now, beyond an
architecture-specific hack based off of the sample address?
Received on Wed Aug 28 2019 - 15:28:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:21 UTC