From owner-freebsd-questions Sun Feb 21 8: 0:49 1999 Delivered-To: freebsd-questions@freebsd.org Received: from off.to (unknown [198.87.148.130]) by hub.freebsd.org (Postfix) with ESMTP id EF2681101F for ; Sun, 21 Feb 1999 08:00:38 -0800 (PST) (envelope-from mts@off.to) Received: from off.to (localhost [127.0.0.1]) by off.to (8.9.1/8.9.1) with ESMTP id LAA21629; Sun, 21 Feb 1999 11:00:37 -0500 (EST) Message-Id: <199902211600.LAA21629@off.to> To: freebsd-questions@freebsd.org Cc: mts@off.to Subject: odd profiling... Reply-To: mts@off.to Date: Sun, 21 Feb 1999 11:00:37 -0500 From: "Michael T. Stolarchuk" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG i'm trying to do some very odd profiling on a SMP machine... instead of trying to meaure how much time the profiled process is using, i want to have some function to call to stamp another incr into the profile tables. That's cause i want to discover where the process is running when certain i/o events occur... if the device is in some particular state, i want to incr the tick in a corresponding process... that way i can find out, for example, what a particular process was doing when some i/o resource was exausted. in the smp environment, i know i hafta cause each of the procs to give up their state, so that i can correctly ascribe that state into the profiled data... i've gotten somewhat into reading the apic/ipi code, but need some clues about whether i'm digging down the right hole... or if i've missed something. i'm trying to figure out exactly where (and how) the per processor state gets dumped... mts. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message