freebsd-dev/sys/cddl/dev/dtrace
Hans Petter Selasky f0188618f2 Fix multiple incorrect SYSCTL arguments in the kernel:
- Wrong integer type was specified.

- Wrong or missing "access" specifier. The "access" specifier
sometimes included the SYSCTL type, which it should not, except for
procedural SYSCTL nodes.

- Logical OR where binary OR was expected.

- Properly assert the "access" argument passed to all SYSCTL macros,
using the CTASSERT macro. This applies to both static- and dynamically
created SYSCTLs.

- Properly assert the the data type for both static and dynamic
SYSCTLs. In the case of static SYSCTLs we only assert that the data
pointed to by the SYSCTL data pointer has the correct size, hence
there is no easy way to assert types in the C language outside a
C-function.

- Rewrote some code which doesn't pass a constant "access" specifier
when creating dynamic SYSCTL nodes, which is now a requirement.

- Updated "EXAMPLES" section in SYSCTL manual page.

MFC after:	3 days
Sponsored by:	Mellanox Technologies
2014-10-21 07:31:21 +00:00
..
amd64 Use a C wrapper for trap() instead of checking and calling the DTrace trap 2014-07-19 02:27:31 +00:00
i386 Invoke the DTrace trap handler before calling trap() on amd64. This matches 2014-07-14 04:38:17 +00:00
mips Invoke the DTrace trap handler before calling trap() on amd64. This matches 2014-07-14 04:38:17 +00:00
powerpc Fix the stack tracing for dtrace/powerpc. 2014-09-17 02:43:47 +00:00
x86 Update dis_tables.c to the latest Illumos version. 2014-05-15 01:06:27 +00:00
dtrace_anon.c
dtrace_cddl.h MFV illumos r266986: 2014-06-26 19:38:16 +00:00
dtrace_debug.c Correct a series of errors in the hand-rolled locking for drace_debug.c: 2012-12-23 15:50:37 +00:00
dtrace_hacks.c
dtrace_ioctl.c Continue the crusade towards a dev_clone()-free kernel, removing its 2014-06-25 03:54:02 +00:00
dtrace_load.c Continue the crusade towards a dev_clone()-free kernel, removing its 2014-06-25 03:54:02 +00:00
dtrace_modevent.c
dtrace_sysctl.c Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
dtrace_test.c dtrace sdt: remove the ugly sname parameter of SDT_PROBE_DEFINE 2013-11-26 08:46:27 +00:00
dtrace_unload.c Continue the crusade towards a dev_clone()-free kernel, removing its 2014-06-25 03:54:02 +00:00
dtrace_vtime.c