Print this page
9059 Simplify SMAP relocations with krtld
Portions contributed by: John Levon <john.levon@joyent.com>

@@ -323,11 +323,12 @@
 #
 # dtrace stubs
 #
 
 $(OBJS_DIR)/dtracestubs.s:      $(UNIX_O) $(LIBS)
-        $(NM) -u $(UNIX_O) $(LIBS) | $(GREP) __dtrace_probe_ | $(SORT) | \
+        $(NM) -u $(UNIX_O) $(LIBS) | \
+        $(EGREP) '(__dtrace_probe_|smap_(disable|enable))' | $(SORT) | \
             $(UNIQ) | $(AWK) '{ \
             printf("\t.globl %s\n\t.type %s,@function\n%s:\n", \
             $$1, $$1, $$1); }' > $(OBJS_DIR)/dtracestubs.s
 
 $(DTRACESTUBS): $(DTRACESTUBS_O)