* accessing the program counter
@ 2002-10-14 20:04 Gayathri Chandrasekaran
0 siblings, 0 replies; only message in thread
From: Gayathri Chandrasekaran @ 2002-10-14 20:04 UTC (permalink / raw)
To: linux-kernel
Hello
I'm trying to read the value of program counter at the time a context
switch occurs from the kernel.I looked at the schedule() function in
sched.c and also the switch_to() in system.h.I also looked at the
current_text_addr () in include/asm-i386/processor.h which is a macro that
returns the current instruction pointer.But I'm nto sure if I'm in the
right track.Also I need some help in understanding the assmbly language
instructions.Can someone help me with this.
thanks
gayathri
Gayathri Chandrasekaran
Department of Electrical
Engineering and Computer Science
University of Kansas
Lawrence,KS-66045.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-14 19:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-14 20:04 accessing the program counter Gayathri Chandrasekaran
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).