Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Feb 1999 11:00:37 -0500
From:      "Michael T. Stolarchuk" <mts@off.to>
To:        freebsd-questions@freebsd.org
Cc:        mts@off.to
Subject:   odd profiling...
Message-ID:  <199902211600.LAA21629@off.to>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902211600.LAA21629>