freebsd-dev/cddl/contrib/opensolaris/lib/libdtrace/common
Pedro F. Giffuni 273df42911 libdtrace: use calloc(3) instead of malloc(3) when it makes sense.
calloc(3) is faster and occasionally safer than malloc(3) + bzero(3).

In one case, pointed out by Mark[1], this also cleans up a calculation.

Reviewed by:	markj [1]
MFC after:	1 week
2016-03-14 00:34:12 +00:00
..
drti.c libdtrace: add support for lazyload mode. 2015-04-08 02:36:37 +00:00
dt_aggregate.c Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
dt_as.c MFV illumos 2014-06-26 23:21:11 +00:00
dt_as.h
dt_buf.c
dt_buf.h
dt_cc.c Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
dt_cg.c DTrace: re-merge remainder of r249367 (original from Illumos). 2013-07-28 00:45:20 +00:00
dt_consume.c Fix a misparenthesization that could cause a crash if TERM is not set. 2015-03-31 02:49:05 +00:00
dt_decl.c MFV illumos 2014-06-26 23:21:11 +00:00
dt_decl.h MFV illumos 2014-06-26 23:21:11 +00:00
dt_dis.c MFV illumos 2014-06-26 23:21:11 +00:00
dt_dof.c Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
dt_dof.h
dt_error.c Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
dt_errtags.h DTrace: re-apply r249426 now that the underlying issues have been solved. 2013-07-28 01:02:17 +00:00
dt_grammar.y Treat D keywords as identifiers in certain postfix expressions. This allows 2014-10-06 21:52:40 +00:00
dt_handle.c Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
dt_ident.c Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
dt_ident.h
dt_impl.h libdtrace: allow D libraries to declare dependencies on kernel modules 2015-06-06 16:47:45 +00:00
dt_inttab.c
dt_inttab.h
dt_lex.l As dtrace(1) processes D libraries under /usr/lib/dtrace, the compiler may 2015-05-17 03:59:08 +00:00
dt_link.c First cut of DTrace for AArch64. 2015-07-01 15:51:11 +00:00
dt_list.c
dt_list.h
dt_map.c Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
dt_module.c libdtrace: use calloc(3) instead of malloc(3) when it makes sense. 2016-03-14 00:34:12 +00:00
dt_module.h libdtrace: allow D libraries to declare dependencies on kernel modules 2015-06-06 16:47:45 +00:00
dt_open.c libdtrace: allow D libraries to declare dependencies on kernel modules 2015-06-06 16:47:45 +00:00
dt_options.c Remove drti.o's dependency on libelf. This makes it possible to add DTrace 2015-02-18 03:54:54 +00:00
dt_parser.c Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
dt_parser.h MFV illumos 2014-06-26 23:21:11 +00:00
dt_pcb.c
dt_pcb.h
dt_pid.c Modify DTRACEHIOC_ADDDOF to copy the DOF section from the target process. 2015-12-07 21:44:05 +00:00
dt_pid.h MFV illumos 2014-06-26 23:21:11 +00:00
dt_pq.c Bring back part of r249367 by adding DTrace's temporal option, which allows 2013-05-12 16:26:33 +00:00
dt_pq.h Bring back part of r249367 by adding DTrace's temporal option, which allows 2013-05-12 16:26:33 +00:00
dt_pragma.c libdtrace: allow D libraries to declare dependencies on kernel modules 2015-06-06 16:47:45 +00:00
dt_print.c Fix some incorrect endianness checks. 2014-09-17 00:54:00 +00:00
dt_printf.c Perform bounds checking when constructing a format string. 2015-08-02 00:18:48 +00:00
dt_printf.h
dt_proc.c Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
dt_proc.h DTrace: Revert r249367 2013-04-17 02:20:17 +00:00
dt_program.c Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
dt_program.h
dt_provider.c Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
dt_provider.h DTrace imposes a 128-byte limit on the length of the function component of 2014-11-17 22:22:16 +00:00
dt_regset.c libdtrace: use calloc(3) instead of malloc(3) when it makes sense. 2016-03-14 00:34:12 +00:00
dt_regset.h Re-introduce another part of r249367. This commit fixes a register leak in 2013-05-19 17:14:36 +00:00
dt_string.c Use libc's strndup() instead of Dtrace's reimplementation. 2012-07-15 21:20:31 +00:00
dt_string.h Use libc's strndup() instead of Dtrace's reimplementation. 2012-07-15 21:20:31 +00:00
dt_strtab.c libdtrace: use calloc(3) instead of malloc(3) when it makes sense. 2016-03-14 00:34:12 +00:00
dt_strtab.h
dt_subr.c Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
dt_work.c Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
dt_xlator.c MFV illumos 2014-06-26 23:21:11 +00:00
dt_xlator.h
dtrace.h Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
mkerrno.sh MFV OpenSolaris DTrace userland bits. 2010-08-02 13:40:53 +00:00
mkerrtags.sh
mknames.sh
mksignal.sh MFV OpenSolaris DTrace userland bits. 2010-08-02 13:40:53 +00:00