PERFORCE change 126856 for review

John Birrell jb at FreeBSD.org
Thu Sep 27 02:40:34 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=126856

Change 126856 by jb at jb_freebsd1 on 2007/09/27 09:40:26

	Remove type references to things that are licensed under the
	CDDL. Not quite as readable, but that's stupid licenses for
	you.

Affected files ...

.. //depot/projects/dtrace/src/sys/sys/linker.h#13 edit

Differences ...

==== //depot/projects/dtrace/src/sys/sys/linker.h#13 (text+ko) ====

@@ -33,7 +33,6 @@
 
 #include <machine/elf.h>
 #include <sys/kobj.h>
-#include <sys/sdt.h>
 
 #ifdef MALLOC_DECLARE
 MALLOC_DECLARE(M_LINKER);
@@ -93,7 +92,7 @@
      */
     int			nenabled;	/* number of enabled probes. */
     int			fbt_nentries;	/* number of fbt entries created. */
-    sdt_probedesc_t	*sdt_probes;
+    void		*sdt_probes;
     int			sdt_nentries;
     size_t		sdt_nprobes;
     size_t		sdt_size;
@@ -264,7 +263,7 @@
 int	elf_reloc_local(linker_file_t _lf, Elf_Addr base, const void *_rel, int _type, elf_lookup_fn _lu);
 const Elf_Sym *elf_get_sym(linker_file_t _lf, Elf_Size _symidx);
 const char *elf_get_symname(linker_file_t _lf, Elf_Size _symidx);
-int sdt_reloc_resolve(uint8_t *, sdt_probedesc_t *);
+int sdt_reloc_resolve(uint8_t *, void *);
 
 int elf_cpu_load_file(linker_file_t);
 int elf_cpu_unload_file(linker_file_t);


More information about the p4-projects mailing list