Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F170649616
D59229.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
383 B
Referenced Files
None
Subscribers
None
D59229.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D59229: hwpmc(4): stop overwalking past _start on amd64 user callchains
Attached
Detach File
Event Timeline
Log In to Comment