Page MenuHomeFreeBSD

D59229.id.diff
No OneTemporary

D59229.id.diff

diff --git a/sys/dev/hwpmc/hwpmc_x86.c b/sys/dev/hwpmc/hwpmc_x86.c
--- a/sys/dev/hwpmc/hwpmc_x86.c
+++ b/sys/dev/hwpmc/hwpmc_x86.c
@@ -107,7 +107,8 @@
return (n);
for (; n < nframes;) {
- if (pc == 0 || !PMC_IN_USERSPACE(pc))
+ /* fp == 0 is the ABI frame-chain sentinel below _start. */
+ if (pc == 0 || !PMC_IN_USERSPACE(pc) || fp == 0)
break;
*cc++ = pc; n++;

File Metadata

Mime Type
text/plain
Expires
Sun, Sep 6, 7:44 PM (17 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37480171
Default Alt Text
D59229.id.diff (383 B)

Event Timeline