From owner-svn-src-all@FreeBSD.ORG Sat Feb 22 01:41:45 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F00FF597; Sat, 22 Feb 2014 01:41:45 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D89EE1546; Sat, 22 Feb 2014 01:41:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1M1fjpc074612; Sat, 22 Feb 2014 01:41:45 GMT (envelope-from markj@svn.freebsd.org) Received: (from markj@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1M1fjFi074611; Sat, 22 Feb 2014 01:41:45 GMT (envelope-from markj@svn.freebsd.org) Message-Id: <201402220141.s1M1fjFi074611@svn.freebsd.org> From: Mark Johnston Date: Sat, 22 Feb 2014 01:41:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262325 - head/sys/kern X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Feb 2014 01:41:46 -0000 Author: markj Date: Sat Feb 22 01:41:45 2014 New Revision: 262325 URL: http://svnweb.freebsd.org/changeset/base/262325 Log: Print a backtrace if the SDT(9) stub gets called so that there's at least some hope of figuring out how it happened. Suggested by: rstone MFC after: 1 week Modified: head/sys/kern/kern_sdt.c Modified: head/sys/kern/kern_sdt.c ============================================================================== --- head/sys/kern/kern_sdt.c Sat Feb 22 01:19:47 2014 (r262324) +++ head/sys/kern/kern_sdt.c Sat Feb 22 01:41:45 2014 (r262325) @@ -27,6 +27,7 @@ #include #include +#include #include SDT_PROVIDER_DEFINE(sdt); @@ -47,5 +48,6 @@ sdt_probe_stub(uint32_t id, uintptr_t ar uintptr_t arg2, uintptr_t arg3, uintptr_t arg4) { - printf("sdt_probe_stub: Why did this get called?\n"); + printf("sdt_probe_stub: unexpectedly called\n"); + kdb_backtrace(); }