From owner-freebsd-hackers Thu Feb 2 05:53:51 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id FAA03879 for hackers-outgoing; Thu, 2 Feb 1995 05:53:51 -0800 Received: from utrhcs.cs.utwente.nl (utrhcs.cs.utwente.nl [130.89.10.247]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id FAA03872 for ; Thu, 2 Feb 1995 05:53:46 -0800 Received: from utis156.cs.utwente.nl by utrhcs.cs.utwente.nl (5.0/csrelayMX-SVR4_1.0/RB) id AA29342; Thu, 2 Feb 1995 14:53:37 --100 Received: by utis156.cs.utwente.nl (4.1/RBCS-1.0.1) id AA02803; Thu, 2 Feb 95 14:53:13 +0100 To: "Ugen J.S.Antsilevich" Cc: hackers@FreeBSD.org Subject: Re: Debugging networking code In-Reply-To: Your message of Thu, 02 Feb 1995 14:39:37 +0700 Date: Thu, 02 Feb 1995 14:53:12 +0100 Message-Id: <2802.791733192@utis156.cs.utwente.nl> From: Andras Olah content-length: 712 Sender: hackers-owner@FreeBSD.org Precedence: bulk On Thu, 02 Feb 1995 14:39:37 +0700, "Ugen J.S.Antsilevich" wrote: > May be the new thing i writing now can be handy here? > This is some kind of /dev/ip which allows you selectively get > packets from net. I use bpf for similar things. How much does your ip device differ from bpf? What I really want is some sort of simple mechanism to put probes into my code (only during debugging, so it's not normally part of the kernel) and save the output (e.g., probe id, timestamp, probed var) for post processing. I've done this so far in the primitive way with printf/tcp_debug and syslog but I'd like to have something more efficient (low overhead, accurate timestamps). > -- > -=Ugen J.S.Antsilevich=- Andras