Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151938989
D27754.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.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
Sun, Apr 12, 3:43 PM (9 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31309982
Default Alt Text
D27754.diff (695 B)
Attached To
Mode
D27754: dtrace: Blacklist riscv exception handlers for fbt
Attached
Detach File
Event Timeline
Log In to Comment