From owner-freebsd-alpha Tue Jan 26 02:08:08 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA09493 for freebsd-alpha-outgoing; Tue, 26 Jan 1999 02:08:08 -0800 (PST) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA09484 for ; Tue, 26 Jan 1999 02:08:03 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by nlsystems.com (8.9.1/8.8.5) with SMTP id KAA91269; Tue, 26 Jan 1999 10:04:20 GMT Date: Tue, 26 Jan 1999 10:04:20 +0000 (GMT) From: Doug Rabson To: Andrew Gallatin cc: Hidetoshi Shimokawa , freebsd-alpha@FreeBSD.ORG Subject: Re: ktrace fix In-Reply-To: <13997.13901.726029.243005@grasshopper.cs.duke.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 25 Jan 1999, Andrew Gallatin wrote: > > 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.. Possibly ifdef it? I think that all future 64bit arches would be affected by this problem. Personally I don't mind the extra space usage on i386. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message