History log of /netbsd/external/cddl/osnet/dev/sdt/sdt.c (Results 1 – 24 of 24)
Revision Date Author Comments
# ea99360d 31-Aug-2022 riastradh <riastradh@NetBSD.org>

dtrace_sdt: Fix bug in builtin module reference counting.

Don't module_hold(NULL)! This mistake was introduced in my attempt
to get dtrace working for sdt probes defined in non-builtin modules
like

dtrace_sdt: Fix bug in builtin module reference counting.

Don't module_hold(NULL)! This mistake was introduced in my attempt
to get dtrace working for sdt probes defined in non-builtin modules
like zfs.

show more ...


# 67fe1c60 07-Aug-2022 riastradh <riastradh@NetBSD.org>

bsd.kmodule.mk: Build modules with KDTRACE_HOOKS if MKDTRACE=yes.


# cedad10b 07-Aug-2022 riastradh <riastradh@NetBSD.org>

dtrace_sdt: Register sdt providers and probes in loaded modules too.


# ad9f1588 28-Mar-2022 riastradh <riastradh@NetBSD.org>

driver(9): devsw_detach never fails. Make it return void.

Prune a whole lotta dead branches as a result of this. (Some logic
calling this is also wrong for other reasons; devsw_detach is final
--

driver(9): devsw_detach never fails. Make it return void.

Prune a whole lotta dead branches as a result of this. (Some logic
calling this is also wrong for other reasons; devsw_detach is final
-- you should never have any reason to decide to roll it back. To be
cleaned up in subsequent commits...)

XXX kernel ABI change to devsw_detach signature requires bump

show more ...


# 9903ff44 09-Mar-2019 kamil <kamil@NetBSD.org>

Reserve DTrace sdt and fdt major numbers

Register cmajor 252 for fbt and 253 for sdt.

Previously the major number was picked randomly and it causes conflicts
with preallocated values for different

Reserve DTrace sdt and fdt major numbers

Register cmajor 252 for fbt and 253 for sdt.

Previously the major number was picked randomly and it causes conflicts
with preallocated values for different devices.

show more ...


# eada09ac 28-May-2018 chs <chs@NetBSD.org>

merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.

in addition to the 10 years of im

merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.

in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
- dtrace FBT probes can now be placed in kernel modules.
- ZFS now supports mmap().

show more ...


# 050ea713 07-Jan-2017 christos <christos@NetBSD.org>

PR/51118: Jared McNeill: Fix build on FreeBSD by removing osnet assert.h
and sys/limits.h and use sys/syslimits.h directly.


# 8e27da63 17-Jul-2016 pgoyette <pgoyette@NetBSD.org>

Use C99 initializers for the cdevsw

No functional change intended or expected.


# 8dd46c9c 16-Jun-2016 mlelstv <mlelstv@NetBSD.org>

Make assertion of linker_file #ifdef __FreeBSD__. Fixes DIAGNOSTIC build.


# 6405d5ab 06-Feb-2016 joerg <joerg@NetBSD.org>

SDT is not a disease. Use const consistently.


# ade380ad 02-Oct-2015 christos <christos@NetBSD.org>

Merge conflicts


# ef2f9170 02-Oct-2015 christos <christos@NetBSD.org>

Adapt to NetBSD modules and link set access.
XXX: We don't have an event system so that we can issue callback that
will be run on construction or destruction to enable and disable probes
XXX: We

Adapt to NetBSD modules and link set access.
XXX: We don't have an event system so that we can issue callback that
will be run on construction or destruction to enable and disable probes
XXX: We don't have a way to use link_sets across modules properly.

show more ...


# fb62d9db 30-Sep-2015 christos <christos@NetBSD.org>

Add proc:::exit
XXX: I am going to kill that soon and make the providers register automagically
with linker sets. This can't scale.


# 290f0cae 26-Feb-2015 ozaki-r <ozaki-r@NetBSD.org>

Fix inconsistency between module and internal names of sdt and fbt

PR 49697
OK wiz@


# d8b52736 26-Feb-2015 ozaki-r <ozaki-r@NetBSD.org>

Fix module unload of dtrace, sdt and fbt

- Don't unload when there are users of dtrace
- Forbid auto unloading (not supported for now)

PR 49695


# edb1e732 26-Jul-2014 ryoon <ryoon@NetBSD.org>

Fix dtrace kernel module build.
Add nodiscard to cdevsw.
They are not fixed in fallocate/fdiscard changes.


# 75444ad1 30-Jul-2011 uebayasi <uebayasi@NetBSD.org>

Fix a local var name.


# c0e4e37b 29-Jul-2011 uebayasi <uebayasi@NetBSD.org>

KNF.


# 958e171b 13-Mar-2010 christos <christos@NetBSD.org>

make dtrace compile on amd64.


# 141a7ffa 05-Mar-2010 darran <darran@NetBSD.org>

DTrace: add a dependency on the dtrace module.


# 283a6ba0 01-Mar-2010 darran <darran@NetBSD.org>

DTrace: update sdt.c handlers to match latest OpenSolaris vendor import.


# 6a9056a9 01-Mar-2010 darran <darran@NetBSD.org>

DTrace: Add an SDT (Statically Defined Tracing) provider framework, and
implement most of the proc provider. Adds proc:::create, exec,
exec_success, exec_faillure, signal_send, signal_discard, signa

DTrace: Add an SDT (Statically Defined Tracing) provider framework, and
implement most of the proc provider. Adds proc:::create, exec,
exec_success, exec_faillure, signal_send, signal_discard, signal_handle,
lwp_create, lwp_start, lwp_exit.

show more ...


# 01c9547e 21-Feb-2010 darran <darran@NetBSD.org>

Apply NetBSD changes to DTrace.

Ok with core@.


# bb8023b5 21-Feb-2010 darran <darran@NetBSD.org>

Add the FreeBSD 8-RC1 changes for DTrace.

Ok with core@.