lkml.org 
[lkml]   [2002]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectaccessing the program counter
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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.048 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site