Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern fix inconsistency about "sdt" provider which was de...
details: https://anonhg.NetBSD.org/src/rev/6a8f1a1b1fd1
branches: trunk
changeset: 344544:6a8f1a1b1fd1
user: knakahara <knakahara%NetBSD.org@localhost>
date: Mon Apr 04 03:53:25 2016 +0000
description:
fix inconsistency about "sdt" provider which was declared but not defined.
diffstat:
sys/kern/kern_sdt.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r f43b47673834 -r 6a8f1a1b1fd1 sys/kern/kern_sdt.c
--- a/sys/kern/kern_sdt.c Mon Apr 04 01:47:18 2016 +0000
+++ b/sys/kern/kern_sdt.c Mon Apr 04 03:53:25 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_sdt.c,v 1.2 2015/10/02 16:54:15 christos Exp $ */
+/* $NetBSD: kern_sdt.c,v 1.3 2016/04/04 03:53:25 knakahara Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -71,6 +71,8 @@
#include <sys/systm.h>
#include <sys/sdt.h>
+SDT_PROVIDER_DEFINE(sdt);
+
void sdt_probe_stub(u_int32_t, uintptr_t, uintptr_t,
uintptr_t, uintptr_t, uintptr_t);
Home |
Main Index |
Thread Index |
Old Index