Module Name: src Committed By: christos Date: Wed Sep 30 20:59:44 UTC 2015
Modified Files: src/external/cddl/osnet/dev/sdt: sdt.c Log Message: Add proc:::exit XXX: I am going to kill that soon and make the providers register automagically with linker sets. This can't scale. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/external/cddl/osnet/dev/sdt/sdt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/cddl/osnet/dev/sdt/sdt.c diff -u src/external/cddl/osnet/dev/sdt/sdt.c:1.11 src/external/cddl/osnet/dev/sdt/sdt.c:1.12 --- src/external/cddl/osnet/dev/sdt/sdt.c:1.11 Thu Feb 26 05:31:52 2015 +++ src/external/cddl/osnet/dev/sdt/sdt.c Wed Sep 30 16:59:44 2015 @@ -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 @@ static struct cdev *sdt_cdev; /* 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 @@ static sdt_provider_t proc_provider = { { &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),