freebsd-dev/cddl/contrib/opensolaris/lib/libdtrace
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
..
aarch64 First cut of DTrace for AArch64. 2015-07-01 15:51:11 +00:00
arm Initial version of DTrace on ARM32. 2015-02-10 19:41:30 +00:00
common libdtrace: use calloc(3) instead of malloc(3) when it makes sense. 2016-03-14 00:34:12 +00:00
i386 Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
mips Add stub file for pid probe. It's required although pid probe is not supported 2012-03-24 05:27:39 +00:00
powerpc Add fasttrap for PowerPC. This is the last piece of the dtrace/ppc puzzle. 2013-10-15 15:00:29 +00:00
sparc Merge from vendor: libdtrace MD parts needed by fasttrap. 2010-07-17 18:31:31 +00:00