Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148598112
D27754.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
695 B
Referenced Files
None
Subscribers
None
D27754.id.diff
View Options
diff --git a/sys/cddl/dev/fbt/riscv/fbt_isa.c b/sys/cddl/dev/fbt/riscv/fbt_isa.c
--- a/sys/cddl/dev/fbt/riscv/fbt_isa.c
+++ b/sys/cddl/dev/fbt/riscv/fbt_isa.c
@@ -156,6 +156,19 @@
if (fbt_excluded(name))
return (0);
+ /*
+ * Some assembly-language exception handlers are not suitable for
+ * instrumentation.
+ */
+ if (strcmp(name, "cpu_exception_handler") == 0)
+ return (0);
+ if (strcmp(name, "cpu_exception_handler_user") == 0)
+ return (0);
+ if (strcmp(name, "cpu_exception_handler_supervisor") == 0)
+ return (0);
+ if (strcmp(name, "do_trap_supervisor") == 0)
+ return (0);
+
instr = (uint32_t *)(symval->value);
limit = (uint32_t *)(symval->value + symval->size);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 20, 1:29 AM (15 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29990047
Default Alt Text
D27754.id.diff (695 B)
Attached To
Mode
D27754: dtrace: Blacklist riscv exception handlers for fbt
Attached
Detach File
Event Timeline
Log In to Comment