Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140829429
D37986.id114859.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
636 B
Referenced Files
None
Subscribers
None
D37986.id114859.diff
View Options
diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c
--- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c
+++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c
@@ -1115,6 +1115,10 @@
*/
if (err == ENOENT && modfind("dtraceall") < 0) {
kldload("dtraceall"); /* ignore the error */
+ if (modfind("linux64elf") >= 0)
+ kldload("systrace_linux"); /* ignore the error */
+ if (modfind("linuxelf") >= 0)
+ kldload("systrace_linux32"); /* ignore the error */
dtfd = open("/dev/dtrace/dtrace", O_RDWR | O_CLOEXEC);
err = errno;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 29, 1:49 PM (11 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27361062
Default Alt Text
D37986.id114859.diff (636 B)
Attached To
Mode
D37986: dtrace: conditionally load the systrace_linux klds when loading dtrace.
Attached
Detach File
Event Timeline
Log In to Comment