Date: Thu, 14 Feb 2008 20:47:46 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 135401 for review Message-ID: <200802142047.m1EKlkq5032325@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=135401 Change 135401 by jb@jb_freebsd1 on 2008/02/14 20:47:19 Add the malloc probe definitions. Affected files ... .. //depot/projects/dtrace/src/sys/sys/dtrace_bsd.h#13 edit Differences ... ==== //depot/projects/dtrace/src/sys/sys/dtrace_bsd.h#13 (text+ko) ==== @@ -85,6 +85,12 @@ /* Global variable in kern_exit.c */ extern dtrace_execexit_func_t dtrace_fasttrap_exit; +/* The dtmalloc provider hooks into malloc. */ +typedef void (*dtrace_malloc_probe_func_t)(u_int32_t, uintptr_t arg0, + uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t arg4); + +extern dtrace_malloc_probe_func_t dtrace_malloc_probe; + /* * Functions which allow the dtrace module to check that the kernel * hooks have been compiled with sufficient space for it's private
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802142047.m1EKlkq5032325>