From owner-cvs-src@FreeBSD.ORG Sun Sep 24 02:23:30 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12A4016A40F; Sun, 24 Sep 2006 02:23:30 +0000 (UTC) (envelope-from jmg@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C476743D49; Sun, 24 Sep 2006 02:23:29 +0000 (GMT) (envelope-from jmg@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k8O2NTu5054801; Sun, 24 Sep 2006 02:23:29 GMT (envelope-from jmg@repoman.freebsd.org) Received: (from jmg@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k8O2NT5S054800; Sun, 24 Sep 2006 02:23:29 GMT (envelope-from jmg) Message-Id: <200609240223.k8O2NT5S054800@repoman.freebsd.org> From: John-Mark Gurney Date: Sun, 24 Sep 2006 02:23:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_event.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Sep 2006 02:23:30 -0000 jmg 2006-09-24 02:23:29 UTC FreeBSD src repository Modified files: sys/kern kern_event.c Log: add KTRACE hooks into kevent... This will help people debug their kqueue programs to find out exactly which events were registered and which were returned... This should be lower in kern_kevent, but that would require special munging due to locks and the functions used to copyin/copyout kevents... If someone wants to teach ktrace how to output pretty kevents, I have a kevent prety printer that can be used... Revision Changes Path 1.104 +38 -2 src/sys/kern/kern_event.c