Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dev/sdt Add proc:::exit
details: https://anonhg.NetBSD.org/src/rev/a6631891c5e3
branches: trunk
changeset: 340784:a6631891c5e3
user: christos <christos%NetBSD.org@localhost>
date: Wed Sep 30 20:59:44 2015 +0000
description:
Add proc:::exit
XXX: I am going to kill that soon and make the providers register automagically
with linker sets. This can't scale.
diffstat:
external/cddl/osnet/dev/sdt/sdt.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 23efcf708687 -r a6631891c5e3 external/cddl/osnet/dev/sdt/sdt.c
--- a/external/cddl/osnet/dev/sdt/sdt.c Wed Sep 30 20:59:13 2015 +0000
+++ b/external/cddl/osnet/dev/sdt/sdt.c Wed Sep 30 20:59:44 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sdt.c,v 1.11 2015/02/26 10:31:52 ozaki-r Exp $ */
+/* $NetBSD: sdt.c,v 1.12 2015/09/30 20:59:44 christos Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -95,6 +95,7 @@
/* declare all probes belonging to the provider */
SDT_PROBE_DECLARE(proc,,,create);
SDT_PROBE_DECLARE(proc,,,exec);
+SDT_PROBE_DECLARE(proc,,,exit);
SDT_PROBE_DECLARE(proc,,,exec_success);
SDT_PROBE_DECLARE(proc,,,exec_failure);
SDT_PROBE_DECLARE(proc,,,signal_send);
@@ -121,6 +122,7 @@
{
&SDT_NAME(proc,,,create),
&SDT_NAME(proc,,,exec),
+ &SDT_NAME(proc,,,exit),
&SDT_NAME(proc,,,exec_success),
&SDT_NAME(proc,,,exec_failure),
&SDT_NAME(proc,,,signal_send),
Home |
Main Index |
Thread Index |
Old Index