Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178332659
D62454.1796511166.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
787 B
Referenced Files
None
Subscribers
None
D62454.1796511166.diff
View Options
diff --git a/sys/cddl/dev/dtrace/powerpc/dtrace_isa.c b/sys/cddl/dev/dtrace/powerpc/dtrace_isa.c
--- a/sys/cddl/dev/dtrace/powerpc/dtrace_isa.c
+++ b/sys/cddl/dev/dtrace/powerpc/dtrace_isa.c
@@ -145,7 +145,6 @@
int depth = 0;
uintptr_t osp, sp, lr = 0;
vm_offset_t callpc;
- pc_t caller = (pc_t) solaris_cpu[curcpu].cpu_dtrace_caller;
osp = PAGE_SIZE;
if (intrpc != 0)
@@ -169,11 +168,13 @@
osp = sp;
dtrace_next_sp_pc(osp, &sp, &callpc, &lr);
+ /*
+ * cpu_dtrace_caller isn't needed here: the caller of a
+ * function fbt has a probe in is found through the trap
+ * frame of the probe.
+ */
if (aframes > 0) {
aframes--;
- if ((aframes == 0) && (caller != 0)) {
- pcstack[depth++] = caller;
- }
}
else {
pcstack[depth++] = callpc;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 5, 10:52 PM (7 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42241326
Default Alt Text
D62454.1796511166.diff (787 B)
Attached To
Mode
D62454: dtrace/powerpc: don't put the probe address on top of an fbt stack
Attached
Detach File
Event Timeline