Page MenuHomeFreeBSD

D58572.diff
No OneTemporary

D58572.diff

diff --git a/sys/dev/hwpmc/hwpmc_mod.c b/sys/dev/hwpmc/hwpmc_mod.c
--- a/sys/dev/hwpmc/hwpmc_mod.c
+++ b/sys/dev/hwpmc/hwpmc_mod.c
@@ -5054,7 +5054,7 @@
pass = 0;
start_ticks = ticks;
- KASSERT(td->td_pflags & TDP_CALLCHAIN,
+ KASSERT(ring == PMC_UR || (td->td_pflags & TDP_CALLCHAIN) != 0,
("[pmc,%d] Retrieving callchain for thread that doesn't want it",
__LINE__));
restart:

File Metadata

Mime Type
text/plain
Expires
Mon, Aug 3, 12:18 AM (16 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35823655
Default Alt Text
D58572.diff (398 B)

Event Timeline