From owner-freebsd-alpha Mon Jan 25 19:40:00 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA16251 for freebsd-alpha-outgoing; Mon, 25 Jan 1999 19:40:00 -0800 (PST) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA16246 for ; Mon, 25 Jan 1999 19:39:58 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.1/8.9.1) with ESMTP id WAA18896; Mon, 25 Jan 1999 22:39:58 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.9.2/8.9.1) id WAA84561; Mon, 25 Jan 1999 22:39:54 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 25 Jan 1999 22:39:54 -0500 (EST) To: Hidetoshi Shimokawa Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: ktrace fix In-Reply-To: <19990125211845Q.simokawa@sat.t.u-tokyo.ac.jp> References: <19990125211845Q.simokawa@sat.t.u-tokyo.ac.jp> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13997.13901.726029.243005@grasshopper.cs.duke.edu> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hidetoshi Shimokawa writes: > Current ktrace doesn't trace syscalls on alpha. > Here is a fix for that. The only problem is that > I have to bloat struct ktr_syscall to avoid alignment problem. > Is this acceptable for i386? Well, I can't speak for i386 people but I'm enthusiastic about having a working ktrace on the alpha. Without redoing things so that the compiler has enough information to be able to align the stuff which follows that ktr_syscall struct, I don't see a clean way around the 4-byte bloat.. Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message